/* =========================================================
   MAYANETH EDUCATION - PREMIUM UI SYSTEM
   Complete visual overhaul for the entire LMS
   ========================================================= */

/* === SIDEBAR PREMIUM === */
.sidebar a {
    gap: 10px;
    font-size: 14.5px;
    letter-spacing: -0.01em;
    position: relative;
}

.sidebar a .nav-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.sidebar a:hover .nav-icon,
.sidebar a.active .nav-icon {
    opacity: 1;
}

.sidebar a.active {
    background: linear-gradient(135deg, rgba(37,99,235,0.22), rgba(14,165,233,0.14));
    border: 1px solid rgba(37,99,235,0.18);
    color: #fff;
}

/* === PAGE HEADER ENHANCEMENT === */
.page-header {
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(226,232,240,0.8);
    padding: 22px 26px;
    border-radius: 24px;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(15,23,42,0.06);
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    animation: premFadeIn 0.4s ease both;
}

.page-header__info h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: #0f172a;
}

.page-header__info p {
    margin: 6px 0 0;
    color: #64748b;
    font-size: 14px;
}

/* === PREMIUM CARDS === */
.prem-card {
    background: rgba(255,255,255,0.94);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(226,232,240,0.82);
    border-radius: 24px;
    padding: 26px;
    margin-bottom: 22px;
    box-shadow: 0 8px 24px rgba(15,23,42,0.06);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    animation: premFadeUp 0.5s ease both;
}

.prem-card:hover {
    box-shadow: 0 18px 45px rgba(15,23,42,0.10);
}

.prem-card h3 {
    margin-top: 0;
    font-weight: 850;
    letter-spacing: -0.03em;
    color: #0f172a;
}

/* === PROFILE CARD === */
.profile-hero {
    background: linear-gradient(135deg, #0b1220, #1e3a8a);
    border-radius: 26px;
    padding: 32px;
    color: #fff;
    margin-bottom: 22px;
    position: relative;
    overflow: hidden;
    animation: premFadeUp 0.4s ease both;
}

.profile-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37,99,235,0.3), transparent 70%);
}

.profile-hero__avatar {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 950;
    color: #fff;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.profile-hero h3 {
    margin: 0 0 8px;
    font-size: 26px;
    font-weight: 950;
    letter-spacing: -0.03em;
    position: relative;
    z-index: 1;
}

.profile-hero__meta {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* === EXAM CARDS === */
.exam-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.exam-card {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(226,232,240,0.82);
    border-radius: 26px;
    padding: 24px;
    box-shadow: 0 10px 28px rgba(15,23,42,0.06);
    display: flex;
    flex-direction: column;
    min-height: 280px;
    position: relative;
    overflow: hidden;
    transition: transform 0.24s ease, box-shadow 0.24s ease;
    animation: premFadeUp 0.5s ease both;
}

.exam-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 26px 26px 0 0;
    background: linear-gradient(90deg, #8b5cf6, #6366f1);
    opacity: 0.7;
    transition: opacity 0.24s ease;
}

.exam-card--done::before {
    background: linear-gradient(90deg, #16a34a, #22c55e);
}

.exam-card--progress::before {
    background: linear-gradient(90deg, #f59e0b, #f97316);
    animation: premPulse 2s ease-in-out infinite;
}

.exam-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(15,23,42,0.12);
}

.exam-card:hover::before {
    opacity: 1;
}

.exam-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.exam-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: linear-gradient(135deg, #ede9fe, #e0e7ff);
    color: #7c3aed;
    transition: transform 0.2s ease;
}

.exam-card:hover .exam-card__icon {
    transform: scale(1.08);
}

.exam-card--done .exam-card__icon {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    color: #16a34a;
}

.exam-card--progress .exam-card__icon {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #d97706;
}

.exam-card h3 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 850;
    color: #0f172a;
    line-height: 1.35;
}

.exam-card__desc {
    color: #475569;
    line-height: 1.6;
    font-size: 14px;
    margin-bottom: 14px;
}

.exam-card__details {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
}

.exam-card__detail {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #475569;
    font-size: 13px;
}

.exam-card__detail svg {
    flex-shrink: 0;
    color: #94a3b8;
}

.exam-card__score {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border: 1px solid #bbf7d0;
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 16px;
    text-align: center;
}

.exam-card__score strong {
    font-size: 22px;
    font-weight: 950;
    color: #16a34a;
    letter-spacing: -0.03em;
}

.exam-card__score span {
    display: block;
    font-size: 12px;
    color: #64748b;
    margin-top: 4px;
}

.exam-card__footer {
    margin-top: auto;
}

/* === PREMIUM BADGES === */
.prem-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 850;
}

.prem-badge--success {
    background: #dcfce7;
    color: #166534;
}

.prem-badge--warning {
    background: #fef3c7;
    color: #92400e;
}

.prem-badge--info {
    background: #dbeafe;
    color: #1e40af;
}

.prem-badge--danger {
    background: #fee2e2;
    color: #991b1b;
}

.prem-badge--purple {
    background: #ede9fe;
    color: #6b21a8;
}

/* === VIDEO CARDS PREMIUM === */
.vid-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.vid-card {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(226,232,240,0.82);
    border-radius: 24px;
    padding: 22px;
    box-shadow: 0 8px 24px rgba(15,23,42,0.06);
    display: flex;
    flex-direction: column;
    min-height: 200px;
    transition: transform 0.24s ease, box-shadow 0.24s ease;
    animation: premFadeUp 0.5s ease both;
}

.vid-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(15,23,42,0.12);
}

.vid-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: #dc2626;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.vid-card h3 {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 850;
    color: #0f172a;
    line-height: 1.35;
}

.vid-card__desc {
    color: #475569;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 14px;
}

.vid-card__footer {
    margin-top: auto;
}

/* === PAYMENTS TABLE PREMIUM === */
.pay-table-wrap {
    background: rgba(255,255,255,0.94);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(226,232,240,0.82);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15,23,42,0.06);
    animation: premFadeUp 0.5s ease both;
}

.pay-table-wrap table {
    margin: 0;
}

.pay-table-wrap th {
    background: #f8fafc;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 850;
    color: #64748b;
    padding: 14px 16px;
}

.pay-table-wrap td {
    padding: 14px 16px;
    font-size: 14px;
}

.pay-table-wrap tr:hover td {
    background: #f8fafc;
}

.pay-amount {
    font-weight: 850;
    color: #0f172a;
}

/* === EXAM RESULT PREMIUM === */
.result-hero {
    background: linear-gradient(135deg, #0b1220, #1e3a8a);
    border-radius: 26px;
    padding: 36px;
    color: #fff;
    text-align: center;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    animation: premFadeUp 0.4s ease both;
}

.result-hero::before {
    content: '';
    position: absolute;
    top: -60%;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37,99,235,0.3), transparent 70%);
}

.result-hero__score {
    font-size: 56px;
    font-weight: 950;
    letter-spacing: -0.06em;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #fff, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.result-hero__pct {
    font-size: 20px;
    font-weight: 800;
    color: #93c5fd;
    margin-top: 8px;
    position: relative;
    z-index: 1;
}

.result-hero__label {
    font-size: 14px;
    color: #94a3b8;
    margin-top: 6px;
    position: relative;
    z-index: 1;
}

/* Answer review */
.answer-card {
    background: rgba(255,255,255,0.94);
    border: 1px solid rgba(226,232,240,0.82);
    border-radius: 22px;
    padding: 22px;
    margin-bottom: 16px;
    box-shadow: 0 8px 24px rgba(15,23,42,0.06);
    position: relative;
    overflow: hidden;
    animation: premFadeUp 0.5s ease both;
}

.answer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
}

.answer-card--correct::before {
    background: #16a34a;
}

.answer-card--wrong::before {
    background: #dc2626;
}

.answer-card__q {
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
    line-height: 1.5;
}

.answer-card__row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #475569;
    margin-bottom: 6px;
}

.answer-card__row svg {
    flex-shrink: 0;
}

/* === EXAM TIMER PREMIUM === */
.exam-timer-prem {
    position: sticky;
    top: 18px;
    z-index: 20;
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
    border-radius: 22px;
    padding: 18px 24px;
    margin-bottom: 22px;
    box-shadow: 0 12px 32px rgba(15,23,42,0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    animation: premFadeIn 0.3s ease both;
}

.exam-timer-prem__label {
    font-size: 14px;
    font-weight: 700;
    color: #94a3b8;
}

.exam-timer-prem__time {
    font-size: 28px;
    font-weight: 950;
    letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums;
}

/* Question box premium */
.q-box {
    background: rgba(255,255,255,0.94);
    border: 1px solid rgba(226,232,240,0.82);
    border-radius: 24px;
    padding: 24px;
    margin-bottom: 18px;
    box-shadow: 0 8px 24px rgba(15,23,42,0.06);
    animation: premFadeUp 0.5s ease both;
}

.q-box__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.q-box__num {
    font-size: 13px;
    font-weight: 850;
    color: #7c3aed;
    background: #ede9fe;
    padding: 5px 12px;
    border-radius: 999px;
}

.q-box__marks {
    font-size: 13px;
    font-weight: 800;
    color: #64748b;
}

.q-box p {
    font-weight: 700;
    color: #0f172a;
    line-height: 1.6;
    margin-bottom: 16px;
}

.q-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    margin-bottom: 10px;
    cursor: pointer;
    background: #fff;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.16s ease;
    font-size: 15px;
    color: #334155;
}

.q-option:hover {
    border-color: #7c3aed;
    background: #faf5ff;
    transform: translateX(3px);
}

.q-option input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #7c3aed;
    flex-shrink: 0;
}

.q-option__letter {
    width: 28px;
    height: 28px;
    border-radius: 10px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 13px;
    color: #475569;
    flex-shrink: 0;
}

/* Like gate premium */
.like-gate-prem {
    text-align: center;
    padding: 50px 30px;
    background: rgba(255,255,255,0.94);
    border: 2px dashed #e2e8f0;
    border-radius: 28px;
    max-width: 700px;
    animation: premFadeUp 0.5s ease both;
}

.like-gate-prem__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 24px;
    background: linear-gradient(135deg, #dbeafe, #e0e7ff);
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.like-gate-prem h3 {
    margin: 0 0 10px;
    font-weight: 900;
    color: #0f172a;
}

.like-gate-prem p {
    color: #64748b;
    margin-bottom: 20px;
}

/* === EMPTY STATES === */
.empty-state {
    text-align: center;
    padding: 60px 30px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(226,232,240,0.8);
    border-radius: 28px;
    box-shadow: 0 10px 28px rgba(15,23,42,0.06);
    animation: premFadeUp 0.5s ease both;
}

.empty-state__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-state__icon--blue {
    background: linear-gradient(135deg, #dbeafe, #e0e7ff);
    color: #2563eb;
}

.empty-state__icon--purple {
    background: linear-gradient(135deg, #ede9fe, #e0e7ff);
    color: #7c3aed;
}

.empty-state h3 {
    margin: 0 0 10px;
    font-weight: 900;
    color: #0f172a;
    font-size: 20px;
}

.empty-state p {
    color: #64748b;
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.6;
}

/* === FORM PREMIUM === */
.prem-form .form-group {
    margin-bottom: 20px;
}

.prem-form label {
    font-weight: 850;
    font-size: 13px;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}

.prem-form input,
.prem-form textarea,
.prem-form select {
    border-radius: 16px;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.prem-form input:focus,
.prem-form textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37,99,235,0.1);
}

/* === LOGIN PREMIUM EXTRAS === */
.auth-card .form-group {
    position: relative;
}

.auth-input-icon {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
    margin-top: 14px;
}

.auth-card .auth-input-icon + input {
    padding-left: 42px;
}

/* === PREMIUM BUTTONS === */
.prem-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 14px;
    font-weight: 850;
    font-size: 14px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.prem-btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.prem-btn--primary {
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    color: #fff;
    box-shadow: 0 10px 24px rgba(37,99,235,0.22);
}

.prem-btn--primary:hover {
    box-shadow: 0 14px 32px rgba(37,99,235,0.30);
    color: #fff;
}

.prem-btn--secondary {
    background: #eef2ff;
    color: #1e40af;
    box-shadow: none;
}

.prem-btn--secondary:hover {
    background: #dbeafe;
    color: #1e40af;
}

.prem-btn--purple {
    background: linear-gradient(135deg, #7c3aed, #6366f1);
    color: #fff;
    box-shadow: 0 10px 24px rgba(124,58,237,0.22);
}

.prem-btn--purple:hover {
    box-shadow: 0 14px 32px rgba(124,58,237,0.30);
    color: #fff;
}

.prem-btn--danger {
    background: linear-gradient(135deg, #dc2626, #f97316);
    color: #fff;
    box-shadow: 0 10px 24px rgba(220,38,38,0.18);
}

.prem-btn--danger:hover {
    color: #fff;
}

.prem-btn--green {
    background: linear-gradient(135deg, #16a34a, #22c55e);
    color: #fff;
    box-shadow: 0 10px 24px rgba(22,163,74,0.22);
}

.prem-btn--green:hover {
    color: #fff;
}

/* === ANIMATIONS === */
@keyframes premFadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes premFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes premPulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* === RESPONSIVE === */
@media (max-width: 1180px) {
    .exam-grid { grid-template-columns: repeat(2, 1fr); }
    .vid-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .exam-grid { grid-template-columns: 1fr; gap: 14px; }
    .vid-grid { grid-template-columns: 1fr; gap: 14px; }
}

@media (max-width: 768px) {
    .page-header {
        display: block;
        padding: 18px;
        border-radius: 20px;
    }

    .page-header .prem-btn,
    .page-header .btn {
        margin-top: 12px;
    }

    .exam-card,
    .vid-card,
    .prem-card,
    .answer-card,
    .q-box {
        padding: 18px;
        border-radius: 20px;
        min-height: auto;
    }

    .exam-card__icon,
    .vid-card__icon {
        width: 42px;
        height: 42px;
    }

    .result-hero {
        padding: 28px 20px;
        border-radius: 22px;
    }

    .result-hero__score {
        font-size: 42px;
    }

    .profile-hero {
        padding: 24px 20px;
        border-radius: 22px;
    }

    .prem-btn,
    .exam-card__footer .btn,
    .exam-card__footer .prem-btn {
        width: 100%;
    }

    .exam-timer-prem {
        top: 88px;
        border-radius: 16px;
        padding: 14px 18px;
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }

    .exam-timer-prem__time {
        font-size: 24px;
    }

    .empty-state {
        padding: 40px 20px;
    }

    .pay-table-wrap {
        overflow-x: auto;
    }

    .pay-table-wrap table {
        min-width: 700px;
    }
}

@media (max-width: 480px) {
    .profile-hero h3 { font-size: 22px; }
    .exam-card h3, .vid-card h3 { font-size: 17px; }
}


/* V22 dashboard and result review */
.dashboard-section-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:28px 0 16px}.dashboard-section-head h2{margin:0;font-weight:900;letter-spacing:-.04em}.dashboard-section-head p{margin:5px 0 0;color:#64748b}.dashboard-exam-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:30px}.dashboard-exam-card{background:#fff;border:1px solid #e2e8f0;border-radius:22px;padding:20px;display:flex;flex-direction:column;gap:14px;box-shadow:0 10px 28px rgba(15,23,42,.06)}.dashboard-exam-card h3{font-size:17px;margin:12px 0 5px}.dashboard-exam-card p{margin:0;color:#64748b}.dashboard-exam-score{font-size:30px;font-weight:900;color:#16a34a}.dashboard-empty-strip{padding:22px;border:1px dashed #cbd5e1;border-radius:18px;color:#64748b;margin-bottom:28px}.result-stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:18px 0 28px}.result-mini{padding:18px;border-radius:18px;background:#fff;border:1px solid #e2e8f0;text-align:center}.result-mini strong{display:block;font-size:27px}.result-mini span{font-size:13px;color:#64748b}.result-mini--good{border-top:4px solid #22c55e}.result-mini--bad{border-top:4px solid #ef4444}.result-mini--muted{border-top:4px solid #94a3b8}
@media(max-width:1180px){.dashboard-exam-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.dashboard-section-head{align-items:flex-start;flex-direction:column}.dashboard-section-head .prem-btn{width:100%}.dashboard-exam-grid,.result-stats-grid{grid-template-columns:1fr}}

/* V25 student exam answering flow */
.exam-answer-progress{position:sticky;top:12px;z-index:20;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border:1px solid #e2e8f0;border-radius:16px;padding:14px 16px;margin:0 0 18px;box-shadow:0 10px 30px rgba(15,23,42,.08);font-size:14px;color:#475569}
.exam-answer-progress strong{color:#7c3aed;font-size:18px}
.exam-answer-progress__bar{height:7px;background:#ede9fe;border-radius:99px;overflow:hidden;margin-top:9px}
.exam-answer-progress__bar span{display:block;height:100%;width:0;background:linear-gradient(90deg,#7c3aed,#4f46e5);border-radius:inherit;transition:width .25s ease}
.q-option:has(input:checked){border-color:#7c3aed;background:#f5f3ff;box-shadow:0 0 0 2px rgba(124,58,237,.08)}
.q-option input{accent-color:#7c3aed}
@media(max-width:640px){.exam-answer-progress{top:8px}.q-box{padding:18px}.q-option{align-items:flex-start}}

/* =========================================================
   V27 STUDENT DASHBOARD REDESIGN
   ========================================================= */
.student-dashboard-page{background:#f4f7fb;color:#0f172a}.student-main{max-width:1500px;padding:28px 32px 48px}.student-welcome-card{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:30px;border-radius:28px;background:linear-gradient(135deg,#111827 0%,#172554 55%,#1d4ed8 140%);box-shadow:0 20px 50px rgba(15,23,42,.16);color:#fff;overflow:hidden;position:relative}.student-welcome-card:after{content:"";position:absolute;width:330px;height:330px;right:-120px;top:-180px;border-radius:50%;background:rgba(255,255,255,.09)}.student-welcome-card__content{display:flex;align-items:center;gap:20px;min-width:0;position:relative;z-index:1}.student-avatar{width:74px;height:74px;border-radius:24px;display:grid;place-items:center;flex:0 0 auto;background:linear-gradient(135deg,#60a5fa,#2563eb);box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 12px 28px rgba(37,99,235,.35);font-size:30px;font-weight:950}.student-welcome-copy{min-width:0}.student-eyebrow,.student-section-kicker{display:block;font-size:11px;font-weight:900;letter-spacing:.16em;color:#93c5fd;margin-bottom:7px}.student-welcome-copy h1{margin:0;font-size:clamp(25px,3vw,38px);line-height:1.1;letter-spacing:-.045em}.student-welcome-copy>p{margin:9px 0 14px;color:#cbd5e1;font-size:14px}.student-meta-row{display:flex;flex-wrap:wrap;gap:8px}.student-meta-row span{padding:7px 11px;border-radius:999px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.12);font-size:12px;color:#dbeafe}.student-outline-btn{position:relative;z-index:2;white-space:nowrap;text-decoration:none;color:#fff;border:1px solid rgba(255,255,255,.3);background:rgba(255,255,255,.1);padding:11px 17px;border-radius:13px;font-weight:800;font-size:13px;transition:.2s}.student-outline-btn:hover{background:#fff;color:#1e3a8a;transform:translateY(-1px)}
.student-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:20px 0 30px}.student-stat-card{display:flex;align-items:center;gap:14px;min-width:0;text-decoration:none;color:inherit;background:#fff;border:1px solid #e5eaf2;border-radius:20px;padding:18px;box-shadow:0 8px 24px rgba(15,23,42,.05);transition:.2s}.student-stat-card:hover{transform:translateY(-3px);box-shadow:0 16px 35px rgba(15,23,42,.09);border-color:#cbd5e1}.student-stat-icon{width:46px;height:46px;border-radius:15px;display:grid;place-items:center;font-size:20px;flex:0 0 auto}.student-stat-icon--blue{background:#dbeafe}.student-stat-icon--orange{background:#ffedd5}.student-stat-icon--purple{background:#ede9fe}.student-stat-icon--green{background:#dcfce7}.student-stat-card span:last-child{display:flex;flex-direction:column;min-width:0}.student-stat-card strong{font-size:25px;line-height:1;font-weight:950;letter-spacing:-.04em}.student-stat-card small{margin-top:6px;color:#64748b;font-weight:700;font-size:12px}
.student-section{margin-top:30px}.student-section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:17px}.student-section-head h2{margin:0;font-size:25px;letter-spacing:-.04em}.student-section-head p{margin:6px 0 0;color:#64748b;font-size:14px}.student-section-kicker{color:#2563eb;margin-bottom:5px}.student-text-link{color:#2563eb;text-decoration:none;font-size:13px;font-weight:850}.student-text-link:hover{text-decoration:underline}
.student-exam-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.student-exam-card{display:flex;flex-direction:column;min-width:0;min-height:292px;padding:20px;background:#fff;border:1px solid #e5eaf2;border-radius:23px;box-shadow:0 9px 26px rgba(15,23,42,.055);position:relative;overflow:hidden;transition:.22s}.student-exam-card:before{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:#7c3aed}.student-exam-card.is-progress:before{background:#f59e0b}.student-exam-card.is-complete:before{background:#16a34a}.student-exam-card:hover{transform:translateY(-4px);box-shadow:0 18px 42px rgba(15,23,42,.1)}.student-exam-card__top{display:flex;justify-content:space-between;gap:10px;align-items:center}.student-status-pill,.student-access-pill{display:inline-flex;width:max-content;padding:6px 10px;border-radius:999px;font-size:11px;font-weight:900;background:#ede9fe;color:#6d28d9}.is-progress .student-status-pill{background:#fef3c7;color:#92400e}.is-complete .student-status-pill,.student-access-pill{background:#dcfce7;color:#166534}.student-exam-time{font-size:12px;color:#64748b;font-weight:750}.student-exam-icon{width:45px;height:45px;border-radius:15px;display:grid;place-items:center;background:#f5f3ff;color:#7c3aed;font-weight:950;font-size:20px;margin:18px 0 13px}.is-complete .student-exam-icon{background:#ecfdf5;color:#16a34a}.is-progress .student-exam-icon{background:#fffbeb;color:#d97706}.student-exam-card h3{margin:0 0 8px;font-size:17px;line-height:1.35;letter-spacing:-.025em}.student-exam-card p{margin:0 0 16px;color:#64748b;font-size:13px;line-height:1.55;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.student-score-row{display:flex;align-items:end;justify-content:space-between;gap:10px;margin-top:auto;margin-bottom:12px;padding-top:10px}.student-score-row strong{font-size:28px;color:#16a34a;letter-spacing:-.05em}.student-score-row span{font-size:11px;color:#64748b}.student-primary-btn{display:flex;justify-content:center;align-items:center;gap:8px;margin-top:auto;padding:11px 14px;border-radius:13px;background:#2563eb;color:#fff;text-decoration:none;font-size:13px;font-weight:900;transition:.2s}.student-primary-btn:hover{background:#1d4ed8;transform:translateY(-1px)}.student-primary-btn--green{background:#16a34a}.student-primary-btn--green:hover{background:#15803d}
.student-course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.student-course-card{display:grid;grid-template-columns:118px minmax(0,1fr);min-height:236px;background:#fff;border:1px solid #e5eaf2;border-radius:24px;overflow:hidden;box-shadow:0 9px 27px rgba(15,23,42,.055);transition:.22s}.student-course-card:hover{transform:translateY(-4px);box-shadow:0 18px 42px rgba(15,23,42,.1)}.student-course-cover{display:flex;flex-direction:column;justify-content:space-between;padding:18px;color:#fff;background:linear-gradient(155deg,#1d4ed8,#0f172a)}.student-course-cover--2{background:linear-gradient(155deg,#7c3aed,#312e81)}.student-course-cover--3{background:linear-gradient(155deg,#0f766e,#0f172a)}.student-course-cover--4{background:linear-gradient(155deg,#c2410c,#7c2d12)}.student-course-cover span{font-size:33px;font-weight:950;opacity:.9;letter-spacing:-.08em}.student-course-cover div{font-size:10px;font-weight:950;letter-spacing:.2em;opacity:.8;writing-mode:vertical-rl;transform:rotate(180deg)}.student-course-body{display:flex;flex-direction:column;min-width:0;padding:20px}.student-course-body h3{margin:12px 0 8px;font-size:18px;line-height:1.3;letter-spacing:-.03em}.student-course-body p{margin:0 0 13px;color:#64748b;font-size:13px;line-height:1.55;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.student-course-meta{font-size:11px;color:#64748b;margin-bottom:14px}.student-course-body .student-primary-btn{width:100%;box-sizing:border-box}.student-empty-state{padding:42px 20px;text-align:center;background:#fff;border:1px dashed #cbd5e1;border-radius:22px;color:#64748b}.student-empty-state>div{font-size:34px}.student-empty-state h3{margin:10px 0 5px;color:#0f172a}.student-empty-state p{margin:0}
@media(max-width:1250px){.student-exam-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.student-course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.student-main{padding:22px}.student-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.student-course-grid{grid-template-columns:1fr}}
@media(max-width:768px){.student-main{padding:14px 14px 34px}.student-welcome-card{align-items:flex-start;flex-direction:column;padding:22px;border-radius:22px}.student-welcome-card__content{align-items:flex-start}.student-avatar{width:58px;height:58px;border-radius:18px;font-size:24px}.student-outline-btn{width:100%;text-align:center;box-sizing:border-box}.student-section-head{align-items:flex-start;flex-direction:column}.student-exam-grid{grid-template-columns:1fr}.student-course-card{grid-template-columns:92px minmax(0,1fr)}}
@media(max-width:520px){.student-stat-grid{grid-template-columns:1fr 1fr;gap:10px}.student-stat-card{padding:13px;gap:10px}.student-stat-icon{width:39px;height:39px;border-radius:12px;font-size:17px}.student-stat-card strong{font-size:21px}.student-welcome-card__content{flex-direction:column}.student-meta-row{display:grid;grid-template-columns:1fr;width:100%}.student-meta-row span{border-radius:11px}.student-course-card{grid-template-columns:1fr}.student-course-cover{min-height:82px;flex-direction:row;align-items:center}.student-course-cover div{writing-mode:initial;transform:none}.student-course-body{padding:17px}}
