/* Quraane LMS Dashboard Styles */

.quraane-lms-dashboard {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.quraane-lms-header {
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Tabs */
.quraane-lms-tabs {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    border-bottom: 2px solid #eee;
}

.quraane-lms-tabs li {
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 600;
    color: #777;
    transition: all 0.3s;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}

.quraane-lms-tabs li:hover {
    color: #333;
}

.quraane-lms-tabs li.active {
    color: #0073aa;
    /* WordPress Blue */
    border-bottom: 2px solid #0073aa;
}

.quraane-lms-tabs li i {
    margin-right: 5px;
}

/* Tab Content */
.quraane-lms-tab-content {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.quraane-lms-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Calendar Container */
#quraane-calendar {
    background: #fff;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #e5e5e5;
}

/* Tables */
.quraane-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
}

.quraane-table th,
.quraane-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.quraane-table th {
    background-color: #f4f4f4;
    font-weight: 600;
}

.quraane-table tr:hover {
    background-color: #fafafa;
}

/* Financial Cards */
.financial-summary-cards {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.financial-summary-cards .card {
    flex: 1;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.financial-summary-cards .card h3 {
    margin-top: 0;
    font-size: 14px;
    color: #888;
    text-transform: uppercase;
}

.financial-summary-cards .card span {
    font-size: 24px;
    font-weight: bold;
    display: block;
    margin-top: 10px;
}

.financial-summary-cards .card.earning span {
    color: #46b450;
}

.financial-summary-cards .card.penalty span {
    color: #dc3232;
}

.financial-summary-cards .card.net span {
    color: #0073aa;
}

/* Modals */
.quraane-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.quraane-modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 50%;
    border-radius: 8px;
    position: relative;
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Buttons */
.quraane-btn {
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s;
}

.quraane-btn.success {
    background-color: #46b450;
}

.quraane-btn.success:hover {
    background-color: #3aa343;
}

.quraane-btn.warning {
    background-color: #ffb900;
    color: #333;
}

.quraane-btn.warning:hover {
    background-color: #e5a600;
}

.quraane-btn.danger {
    background-color: #dc3232;
}

.quraane-btn.danger:hover {
    background-color: #be2828;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .financial-summary-cards {
        flex-direction: column;
    }

    .quraane-modal-content {
        width: 90%;
    }

    .quraane-lms-tabs {
        flex-direction: column;
    }
}