/* =========================================================
   LEARNIFY — USER PANEL
   Theme: Premium Teal
   Primary: #0F766E
   Accent:  #14B8A6
   ========================================================= */


/* =========================================================
   1. ROOT VARIABLES
   ========================================================= */
:root {
    --primary: #0F766E;
    --primary-dark: #115E59;
    --primary-light: #14B8A6;
    --primary-soft: #CCFBF1;

    --navy: #0F172A;
    --text: #334155;
    --muted: #64748B;
    --light-text: #94A3B8;

    --background: #F8FAFC;
    --surface: #FFFFFF;
    --surface-soft: #F1F5F9;

    --border: #E2E8F0;
    --border-light: #F1F5F9;

    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;

    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --transition: 0.25s ease;
}


/* =========================================================
   2. ICON HELPERS
   ========================================================= */
.input-wrapper { position: relative; }
.input-wrapper:focus-within .input-icon { color: #14b8a6; }
.input-wrapper .input-icon {
    position: absolute; left: 14px; top: 50%; transform: translateY(-50%); pointer-events: none;
}
.input-wrapper input { padding-left: 42px; padding-right: 45px; }
.password-toggle {
    position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
    border: none; background: transparent; cursor: pointer;
}
.google-icon i { font-size: 16px; }


/* =========================================================
   3. DARK MODE
   ========================================================= */
body.dark-mode {
    --background: #0B1120;
    --surface: #111827;
    --surface-soft: #1E293B;

    --navy: #F8FAFC;
    --text: #CBD5E1;
    --muted: #94A3B8;
    --light-text: #64748B;

    --border: #263244;
    --border-light: #1E293B;

    --primary-soft: rgba(20, 184, 166, 0.12);

    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.35);
}


/* =========================================================
   4. RESET
   ========================================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    min-height: 100vh;
    background: var(--background);
    color: var(--text);
    font-family: "Inter", Arial, sans-serif;
    line-height: 1.6;
    transition: background var(--transition), color var(--transition);
}

button, input { font: inherit; }
button { border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; border-radius: 10px; }
::selection { background: var(--primary-light); color: #FFFFFF; }


/* =========================================================
   5. PAGE LOADER
   ========================================================= */
.page-loader {
    position: fixed; inset: 0; z-index: 9999;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 16px;
    background: var(--background); color: var(--text);
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
.page-loader.hidden { opacity: 0; visibility: hidden; }
.loader-logo {
    width: 54px; height: 54px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #FFFFFF; font-size: 25px; font-weight: 800;
    box-shadow: 0 12px 30px rgba(15, 118, 110, 0.25);
}
.loader-spinner {
    width: 28px; height: 28px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
.page-loader p { color: var(--muted); font-size: 13px; font-weight: 500; }
@keyframes spin { to { transform: rotate(360deg); } }


/* =========================================================
   6. BRAND
   ========================================================= */
.auth-brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-icon {
    width: 42px; height: 42px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #FFFFFF; font-size: 20px; font-weight: 800;
    box-shadow: 0 8px 20px rgba(15, 118, 110, 0.2);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { color: var(--navy); font-size: 17px; font-weight: 800; }
.brand-text small { margin-top: 4px; color: var(--muted); font-size: 9px; font-weight: 500; }


/* =========================================================
   7. AUTHENTICATION VIEW
   ========================================================= */
.auth-view { min-height: 100vh; background: var(--background); }
.auth-header {
    height: 78px; padding: 0 5%;
    display: flex; align-items: center; justify-content: space-between;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}
.back-home {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--muted); font-size: 13px; font-weight: 600;
    transition: color var(--transition);
}
.back-home:hover { color: var(--primary); }
.back-home span { font-size: 18px; }


/* =========================================================
   8. AUTH CONTAINER
   ========================================================= */
.auth-container {
    width: min(1180px, 92%);
    min-height: calc(100vh - 78px);
    margin: 0 auto;
    padding: 55px 0;
    display: grid;
    grid-template-columns: 1fr 480px;
    align-items: center;
    gap: 70px;
}


/* =========================================================
   9. AUTH INFORMATION PANEL
   ========================================================= */
.auth-info {
    position: relative; min-height: 610px;
    overflow: hidden;
    display: flex; align-items: center;
    padding: 60px;
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at 80% 10%, rgba(20, 184, 166, 0.2), transparent 30%),
        linear-gradient(145deg, #0F766E, #115E59);
    color: #FFFFFF;
    box-shadow: var(--shadow-lg);
}
.info-content { position: relative; z-index: 2; max-width: 520px; }
.info-badge {
    display: inline-flex; align-items: center;
    margin-bottom: 24px; padding: 8px 13px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
}
.auth-info h1 {
    margin-bottom: 20px;
    color: #FFFFFF;
    font-size: clamp(35px, 4vw, 52px);
    font-weight: 800; line-height: 1.08; letter-spacing: -1.8px;
}
.auth-info h1 span { color: #99F6E4; }
.auth-info > .info-content > p {
    max-width: 480px; margin-bottom: 38px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 15px; line-height: 1.8;
}
.info-features { display: flex; flex-direction: column; gap: 20px; }
.info-feature { display: flex; align-items: center; gap: 14px; }
.feature-icon {
    flex: 0 0 34px; width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.13);
    color: #99F6E4; font-weight: 800;
}
.info-feature strong { display: block; color: #FFFFFF; font-size: 13px; font-weight: 700; }
.info-feature span { display: block; margin-top: 2px; color: rgba(255, 255, 255, 0.65); font-size: 11px; }
.info-decoration { position: absolute; inset: 0; pointer-events: none; }
.decoration-circle { position: absolute; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 50%; }
.circle-one { width: 330px; height: 330px; right: -130px; top: -90px; }
.circle-two { width: 240px; height: 240px; right: -60px; bottom: -100px; }
.circle-three { width: 100px; height: 100px; left: -45px; bottom: 60px; }


/* =========================================================
   10. AUTH CARD
   ========================================================= */
.auth-card {
    width: 100%; padding: 38px;
    background: var(--surface);
    border: 1px solid var(--border); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}
.auth-card-header { margin-bottom: 26px; }
.mobile-brand-icon { display: none; }
.auth-card-header h2 { margin-bottom: 7px; color: var(--navy); font-size: 25px; font-weight: 800; letter-spacing: -0.7px; }
.auth-card-header p { color: var(--muted); font-size: 12px; }


/* =========================================================
   11. AUTH TABS
   ========================================================= */
.auth-tabs {
    display: grid; grid-template-columns: 1fr 1fr;
    margin-bottom: 24px; padding: 4px;
    background: var(--surface-soft); border-radius: 11px;
}
.auth-tab {
    padding: 10px 8px;
    background: transparent; border-radius: 8px;
    color: var(--muted); font-size: 12px; font-weight: 700;
    transition: all var(--transition);
}
.auth-tab.active { background: var(--surface); color: var(--primary); box-shadow: var(--shadow-sm); }


/* =========================================================
   12. AUTH MESSAGE
   ========================================================= */
.auth-message { display: none; margin-bottom: 16px; padding: 11px 13px; border-radius: 9px; font-size: 11px; font-weight: 600; }
.auth-message.show { display: block; }
.auth-message.success { background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.2); color: #059669; }
.auth-message.error { background: rgba(239, 68, 68, 0.08); border: 1px solid rgba(239, 68, 68, 0.15); color: #DC2626; }
.auth-message.info { background: rgba(20, 184, 166, 0.08); border: 1px solid rgba(20, 184, 166, 0.15); color: var(--primary); }


/* =========================================================
   13. AUTH FORMS
   ========================================================= */
.auth-form { display: none; }
.auth-form.active { display: block; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 7px; color: var(--navy); font-size: 11px; font-weight: 700; }
.form-label-row { display: flex; align-items: center; justify-content: space-between; }
.form-label-row a { color: var(--primary); font-size: 10px; font-weight: 700; }
.form-label-row a:hover { text-decoration: underline; }


/* =========================================================
   14. INPUTS
   ========================================================= */
.input-wrapper { position: relative; }
.input-wrapper .input-icon {
    position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
    color: var(--light-text); font-size: 14px; pointer-events: none;
}
.input-wrapper input {
    width: 100%; height: 47px; padding: 0 42px;
    background: var(--surface);
    border: 1px solid var(--border); border-radius: 10px;
    outline: none; color: var(--navy); font-size: 12px;
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.input-wrapper input::placeholder { color: var(--light-text); }
.input-wrapper input:focus { border-color: var(--primary-light); box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1); }
.password-toggle {
    position: absolute; right: 9px; top: 50%;
    width: 32px; height: 32px; transform: translateY(-50%);
    display: flex; align-items: center; justify-content: center;
    background: transparent; color: var(--muted); border-radius: 7px; font-size: 13px;
    transition: background var(--transition), color var(--transition);
}
.password-toggle:hover { background: var(--surface-soft); color: var(--primary); }
.field-error { display: block; min-height: 0; margin-top: 5px; color: var(--danger); font-size: 9px; font-weight: 600; }
.input-error { border-color: var(--danger) !important; box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.08) !important; }


/* =========================================================
   15. CHECKBOX
   ========================================================= */
.form-options { margin: -3px 0 19px; }
.checkbox-label {
    position: relative;
    display: inline-flex; align-items: flex-start; gap: 8px;
    color: var(--muted); font-size: 10px; line-height: 1.5;
    cursor: pointer;
}
.checkbox-label input { position: absolute; opacity: 0; pointer-events: none; }
.custom-checkbox {
    flex: 0 0 15px; width: 15px; height: 15px; margin-top: 1px;
    border: 1px solid var(--border); border-radius: 4px; background: var(--surface);
    transition: all var(--transition);
}
.checkbox-label input:checked + .custom-checkbox { background: var(--primary); border-color: var(--primary); }
.checkbox-label input:checked + .custom-checkbox::after {
    content: "✓"; display: block; color: #FFFFFF; text-align: center;
    font-size: 9px; line-height: 14px; font-weight: 800;
}
.terms-checkbox { margin: -2px 0 18px; }
.inline-link { color: var(--primary); font-weight: 700; }
.inline-link:hover { text-decoration: underline; }


/* =========================================================
   16. PASSWORD STRENGTH
   ========================================================= */
.password-strength { margin-top: 7px; }
.strength-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.strength-bar span { height: 3px; background: var(--border); border-radius: 10px; transition: background var(--transition); }
.password-strength.weak .strength-bar span:nth-child(1) { background: var(--danger); }
.password-strength.medium .strength-bar span:nth-child(-n+2) { background: var(--warning); }
.password-strength.good .strength-bar span:nth-child(-n+3) { background: var(--primary-light); }
.password-strength.strong .strength-bar span { background: var(--success); }
.password-strength small { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; }


/* =========================================================
   17. SUBMIT BUTTON
   ========================================================= */
.auth-submit {
    width: 100%; min-height: 47px;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #FFFFFF; font-size: 12px; font-weight: 700;
    box-shadow: 0 8px 20px rgba(15, 118, 110, 0.18);
    transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
}
.auth-submit:hover { transform: translateY(-1px); box-shadow: 0 12px 25px rgba(15, 118, 110, 0.25); }
.auth-submit:active { transform: translateY(0); }
.auth-submit.loading { pointer-events: none; opacity: 0.7; }
.button-arrow { font-size: 15px; }


/* =========================================================
   18. AUTH DIVIDER
   ========================================================= */
.auth-divider { position: relative; margin: 23px 0; text-align: center; }
.auth-divider::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--border); }
.auth-divider span { position: relative; z-index: 1; padding: 0 12px; background: var(--surface); color: var(--light-text); font-size: 9px; font-weight: 700; }


/* =========================================================
   19. GOOGLE BUTTON
   ========================================================= */
.google-button {
    width: 100%; min-height: 45px;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    border: 1px solid var(--border); border-radius: 10px;
    background: var(--surface); color: var(--navy);
    font-size: 11px; font-weight: 700;
    transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.google-button:hover { background: var(--surface-soft); border-color: #CBD5E1; transform: translateY(-1px); }
.google-icon {
    width: 20px; height: 20px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; font-size: 15px; font-weight: 800; color: #4285F4;
}


/* =========================================================
   20. AUTH SWITCH
   ========================================================= */
.auth-switch { margin-top: 20px; color: var(--muted); font-size: 10px; text-align: center; }
.auth-switch button { margin-left: 3px; background: transparent; color: var(--primary); font-size: 10px; font-weight: 700; }
.auth-switch button:hover { text-decoration: underline; }


/* =========================================================
   21. DASHBOARD
   ========================================================= */
.dashboard-view { min-height: 100vh; display: flex; background: var(--background); }
.dashboard-sidebar {
    position: fixed; left: 0; top: 0; bottom: 0;
    width: 250px;
    display: flex; flex-direction: column;
    background: var(--surface);
    border-right: 1px solid var(--border);
    z-index: 100;
    overflow: hidden;
}
.dashboard-brand {
    height: 82px; display: flex; align-items: center;
    padding: 0 25px; border-bottom: 1px solid var(--border);
}
.dashboard-nav {
    flex: 1;
    padding: 25px 15px;
    overflow-y: auto;
    min-height: 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(15,118,110,.3) transparent;
}
.dashboard-nav::-webkit-scrollbar { width: 5px; }
.dashboard-nav::-webkit-scrollbar-track { background: transparent; }
.dashboard-nav::-webkit-scrollbar-thumb {
    background: rgba(15, 118, 110, 0.25);
    border-radius: 10px;
}
.dashboard-nav::-webkit-scrollbar-thumb:hover {
    background: rgba(15, 118, 110, 0.45);
}
.nav-heading { padding: 0 13px; margin: 0 0 10px; color: var(--light-text); font-size: 8px; font-weight: 800; letter-spacing: 1.2px; }
.nav-heading:not(:first-child) { margin-top: 28px; }
.dashboard-nav-link {
    min-height: 43px;
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 4px; padding: 0 13px;
    border-radius: 9px;
    color: var(--muted); font-size: 11px; font-weight: 600;
    transition: background var(--transition), color var(--transition);
}
.dashboard-nav-link span:first-child { width: 18px; color: var(--light-text); font-size: 15px; text-align: center; }
.dashboard-nav-link:hover { background: var(--surface-soft); color: var(--primary); }
.dashboard-nav-link.active { background: var(--primary-soft); color: var(--primary); }
.dashboard-nav-link.active span:first-child { color: var(--primary); }


/* =========================================================
   22. SIDEBAR BOTTOM
   ========================================================= */
.sidebar-bottom { padding: 15px; }
.help-card {
    padding: 16px;
    background: var(--primary-soft);
    border: 1px solid rgba(20, 184, 166, 0.12); border-radius: 12px;
}
.help-icon {
    width: 25px; height: 25px; margin-bottom: 8px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 7px; background: var(--primary); color: #FFFFFF;
    font-size: 12px; font-weight: 800;
}
.help-card strong { display: block; color: var(--navy); font-size: 10px; }
.help-card > span { display: block; margin: 4px 0 10px; color: var(--muted); font-size: 9px; line-height: 1.5; }
.help-card button { background: transparent; color: var(--primary); font-size: 9px; font-weight: 700; }
.help-card button:hover { text-decoration: underline; }
.logout-button {
    width: 100%; margin-top: 10px; padding: 11px 13px;
    display: flex; align-items: center; gap: 11px;
    background: transparent; border-radius: 9px;
    color: var(--muted); font-size: 11px; font-weight: 600;
    text-align: left;
    transition: background var(--transition), color var(--transition);
}
.logout-button:hover { background: rgba(239, 68, 68, 0.07); color: var(--danger); }


/* =========================================================
   23. DASHBOARD MAIN
   ========================================================= */
.dashboard-main { width: calc(100% - 250px); min-height: 100vh; margin-left: 250px; }
.dashboard-header {
    position: sticky; top: 0; z-index: 50;
    min-height: 82px; padding: 0 32px;
    display: flex; align-items: center; justify-content: space-between; gap: 25px;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(15px);
}
body.dark-mode .dashboard-header { background: rgba(17, 24, 39, 0.9); }
.dashboard-search { width: min(390px, 40vw); position: relative; }
.dashboard-search > span { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--light-text); font-size: 19px; }
.dashboard-search input {
    width: 100%; height: 42px; padding: 0 15px 0 40px;
    border: 1px solid var(--border); border-radius: 9px; outline: none;
    background: var(--surface-soft); color: var(--navy); font-size: 11px;
}
.dashboard-search input:focus { border-color: var(--primary-light); }
.dashboard-actions { display: flex; align-items: center; gap: 15px; }
.dashboard-icon-button {
    position: relative; width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    background: transparent; border-radius: 9px;
    color: var(--muted); font-size: 17px;
}
.dashboard-icon-button:hover { background: var(--surface-soft); color: var(--primary); }
.notification-dot {
    position: absolute; width: 6px; height: 6px; right: 7px; top: 7px;
    border: 2px solid var(--surface); border-radius: 50%; background: var(--danger);
}
.user-profile-button { display: flex; align-items: center; gap: 9px; padding: 5px; background: transparent; }
.user-avatar {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #FFFFFF; font-size: 12px; font-weight: 800;
}
.user-header-info { display: flex; flex-direction: column; text-align: left; }
.user-header-info strong { color: var(--navy); font-size: 10px; font-weight: 700; }
.user-header-info small { color: var(--muted); font-size: 8px; }
.profile-arrow { color: var(--light-text); font-size: 12px; }
.sidebar-toggle {
    display: none; width: 38px; height: 38px;
    background: var(--surface-soft); border-radius: 9px;
    color: var(--navy); font-size: 17px;
}


/* =========================================================
   24. DASHBOARD CONTENT
   ========================================================= */
.dashboard-content { width: min(1200px, 92%); margin: 0 auto; padding: 38px 0 50px; }
.welcome-section {
    display: flex; align-items: center; justify-content: space-between;
    gap: 30px; margin-bottom: 28px;
}
.welcome-label { color: var(--primary); font-size: 8px; font-weight: 800; letter-spacing: 1.2px; }
.welcome-section h1 { margin: 5px 0; color: var(--navy); font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -1px; }
.welcome-section h1 span { color: var(--primary); }
.welcome-section p { color: var(--muted); font-size: 11px; }
.browse-courses-button {
    min-height: 43px;
    display: inline-flex; align-items: center; gap: 9px;
    padding: 0 18px;
    border-radius: 9px; background: var(--primary); color: #FFFFFF;
    font-size: 10px; font-weight: 700;
    box-shadow: 0 8px 18px rgba(15, 118, 110, 0.18);
    transition: transform var(--transition), background var(--transition);
}
.browse-courses-button:hover { background: var(--primary-dark); transform: translateY(-1px); }


/* =========================================================
   25. DASHBOARD STATISTICS
   ========================================================= */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 35px;
}
.dashboard-stat-card {
    min-height: 105px;
    display: flex; align-items: center; gap: 13px;
    padding: 18px;
    background: var(--surface);
    border: 1px solid var(--border); border-radius: 13px;
    box-shadow: var(--shadow-sm);
}
.stat-icon {
    flex: 0 0 40px; width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px;
    background: var(--primary-soft); color: var(--primary); font-size: 17px;
}
.dashboard-stat-card span { display: block; margin-bottom: 3px; color: var(--muted); font-size: 9px; font-weight: 500; }
.dashboard-stat-card strong { display: block; color: var(--navy); font-size: 22px; font-weight: 800; line-height: 1; }


/* =========================================================
   26. SECTIONS
   ========================================================= */
.dashboard-section { margin-bottom: 38px; }
.section-heading {
    display: flex; align-items: end; justify-content: space-between;
    margin-bottom: 16px;
}
.section-heading > div > span { color: var(--primary); font-size: 7px; font-weight: 800; letter-spacing: 1px; }
.section-heading h2 { margin-top: 3px; color: var(--navy); font-size: 19px; font-weight: 800; letter-spacing: -0.5px; }
.section-heading > a { color: var(--primary); font-size: 9px; font-weight: 700; }
.section-heading > a:hover { text-decoration: underline; }

.section-link-button {
    flex-shrink: 0;
    display: inline-flex; align-items: center; gap: 7px;
    padding: 8px 12px;
    border: 0; border-radius: 8px;
    background: transparent; color: #10243e;
    font-size: 13px; font-weight: 650;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.section-link-button:hover { background: #e9f7f5; color: #087f75; }
.section-link-button i { font-size: 11px; transition: transform 0.2s ease; }
.section-link-button:hover i { transform: translateX(3px); }


/* =========================================================
   27. CONTINUE LEARNING CARD
   ========================================================= */
.learning-card {
    width: 100%;
    min-height: 210px;
    border-radius: 16px;
    overflow: hidden;
}
.continue-learning-card {
    background: linear-gradient(135deg, #ffffff 0%, #f0fdfa 100%);
    border: 1px solid rgba(20, 184, 166, 0.2);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 25px rgba(20, 184, 166, 0.08);
    display: flex; flex-direction: column; gap: 16px;
    position: relative; overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.continue-learning-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(20, 184, 166, 0.15);
}
.continue-learning-card::before {
    content: ''; position: absolute;
    top: 0; left: 0; width: 100%; height: 5px;
    background: linear-gradient(90deg, #0F766E, #14B8A6, #F59E0B);
}
.continue-learning-info h3 {
    font-size: 22px; font-weight: 800; color: #0F172A;
    margin: 0 0 6px 0; letter-spacing: -0.5px;
}
.continue-learning-info p {
    font-size: 15px; color: #6B7280;
    margin: 0 0 16px 0; font-weight: 500;
}
.continue-learning-info .course-category {
    display: inline-block;
    background: #CCFBF1; color: #0F766E;
    padding: 4px 12px; border-radius: 20px;
    font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.5px;
    margin-bottom: 8px;
}
.course-progress { width: 100%; max-width: 400px; margin-bottom: 16px; }
.progress-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 8px; font-size: 13px; font-weight: 700; color: #374151;
}
.progress-header strong { color: #0F766E; font-size: 16px; }
.progress-bar {
    height: 10px; background: #E5E7EB; border-radius: 20px;
    overflow: hidden; box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
}
.progress-bar span {
    display: block; height: 100%;
    background: linear-gradient(90deg, #14B8A6, #0F766E);
    border-radius: inherit;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(20, 184, 166, 0.5);
}
.course-action-button {
    background: linear-gradient(135deg, #0F766E, #14B8A6);
    color: #fff; border: none;
    padding: 12px 24px; border-radius: 10px;
    font-weight: 700; font-size: 14px; cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.3);
    width: fit-content;
}
.course-action-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(15, 118, 110, 0.45);
}


/* =========================================================
   28. COURSE GRID
   ========================================================= */
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }


/* =========================================================
   29. MODERN COURSE CARD
   ========================================================= */
.student-course-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex; flex-direction: column;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}
.student-course-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
.course-card-image,
.student-course-image {
    position: relative; width: 100%; height: 180px;
    overflow: hidden; background: #f3f4f6;
}
.course-card-image img,
.student-course-image img {
    width: 100%; height: 100%;
    object-fit: cover; border-radius: 0; display: block;
    transition: transform 0.5s ease;
}
.student-course-card:hover .course-card-image img,
.student-course-card:hover .student-course-image img {
    transform: scale(1.06);
}
.course-card-content,
.student-course-body {
    padding: 18px;
    display: flex; flex-direction: column; gap: 10px;
    flex: 1;
}
.course-card-content .course-category,
.student-course-body .course-category,
.course-category {
    display: inline-block;
    background: #FEF3C7; color: #D97706;
    padding: 4px 10px; border-radius: 6px;
    font-size: 11px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.5px;
    width: fit-content;
}
.course-card-content h3,
.student-course-body h3 {
    font-size: 18px; font-weight: 800; color: #0F172A;
    margin: 0; line-height: 1.3;
}
.course-card-content > p,
.student-course-body p {
    font-size: 13px; color: #6B7280;
    line-height: 1.5; margin: 0;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}
.course-card-meta {
    display: flex; flex-wrap: wrap;
    gap: 10px 18px; font-size: 12px;
    color: #4B5563; font-weight: 500; margin-top: 4px;
}
.course-card-meta span {
    display: inline-flex; align-items: center; gap: 5px;
}
.course-card-meta span i { color: #14B8A6; }

.student-course-card .course-progress,
.student-course-body .course-progress {
    margin-top: 8px; max-width: 100%;
}
.student-course-card .progress-header,
.student-course-body .progress-header {
    font-size: 12px; margin-bottom: 6px;
}
.student-course-card .progress-header strong,
.student-course-body .progress-header strong {
    color: #0F766E; font-size: 14px;
}
.student-course-card .progress-bar,
.student-course-body .progress-bar { height: 8px; }
.student-course-card .course-progress small,
.student-course-body .course-progress small {
    display: block; font-size: 11px;
    color: #6B7280; margin-top: 6px; font-weight: 600;
}
.course-card-footer {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: auto; padding-top: 12px;
    border-top: 1px solid #F3F4F6;
}
.course-price {
    font-size: 16px; font-weight: 800; color: #0F766E;
}
.course-card-footer .course-action-button {
    padding: 8px 16px; font-size: 13px; box-shadow: none;
}
.course-card-footer .course-action-button:hover {
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.4);
}


/* =========================================================
   30. EMPTY STATE
   ========================================================= */
.empty-state {
    min-height: 165px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center; padding: 24px 20px;
}
.empty-state-icon {
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 12px; border-radius: 12px;
    background: #e9f7f5; color: #087f75; font-size: 18px;
}
.empty-state h3 { margin: 0 0 5px; font-size: 16px; font-weight: 700; color: #172b45; }
.empty-state p { margin: 0; max-width: 360px; font-size: 12px; line-height: 1.5; color: #718096; }


/* =========================================================
   31. UPCOMING MEETING BANNER
   ========================================================= */
.upcoming-meeting-banner {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 18px; border-radius: 12px;
    background: linear-gradient(135deg, #0F766E 0%, #14B8A6 100%);
    color: #fff; margin: 16px 0 20px;
    box-shadow: 0 6px 18px rgba(15, 118, 110, 0.20);
    position: relative;
}
.upcoming-meeting-banner.urgent {
    background: linear-gradient(135deg, #DC2626 0%, #F87171 100%);
    box-shadow: 0 6px 22px rgba(220, 38, 38, 0.45);
    animation: urgentPulse 1.5s ease-in-out infinite;
}
@keyframes urgentPulse {
    0%, 100% { box-shadow: 0 6px 22px rgba(220, 38, 38, 0.45); transform: scale(1); }
    50%      { box-shadow: 0 8px 32px rgba(220, 38, 38, 0.75); transform: scale(1.01); }
}
.upcoming-meeting-banner .banner-icon { font-size: 22px; opacity: 0.95; flex-shrink: 0; }
.upcoming-meeting-banner .banner-text {
    display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0;
}
.upcoming-meeting-banner .banner-text strong {
    font-size: 15px; font-weight: 700;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.upcoming-meeting-banner .banner-text span { font-size: 13px; opacity: 0.92; }
.upcoming-meeting-banner .banner-join {
    background: #fff; color: #0F766E; padding: 8px 14px; border-radius: 8px;
    font-weight: 700; font-size: 13px; text-decoration: none; white-space: nowrap;
    display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
    cursor: pointer; border: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.upcoming-meeting-banner .banner-join:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
.upcoming-meeting-banner.urgent .banner-join { color: #DC2626; }
.upcoming-meeting-banner .banner-join.joined {
    background: rgba(255, 255, 255, 0.25);
    color: #fff; cursor: default;
}
.upcoming-meeting-banner .banner-close {
    background: transparent; border: none; color: #fff;
    font-size: 22px; cursor: pointer; line-height: 1;
    padding: 0 4px; opacity: 0.85; flex-shrink: 0;
}
.upcoming-meeting-banner .banner-close:hover { opacity: 1; }
@media (max-width: 600px) {
    .upcoming-meeting-banner { flex-wrap: wrap; }
    .upcoming-meeting-banner .banner-text strong { white-space: normal; }
    .upcoming-meeting-banner .banner-join { width: 100%; justify-content: center; }
}


/* =========================================================
   32. MEETINGS LIST
   ========================================================= */
.meetings-list { display: flex; flex-direction: column; gap: 12px; }
.meeting-card {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; padding: 16px 18px;
    border: 1px solid var(--border); border-radius: 12px;
    background: var(--surface); box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.meeting-card:hover {
    transform: translateY(-2px);
    border-color: #cfe8e5;
    box-shadow: var(--shadow-md);
}
.meeting-card.attended {
    border-color: #10B981;
    background: rgba(16, 185, 129, 0.04);
}
.meeting-card .meeting-info {
    display: flex; flex-direction: column; gap: 4px;
    min-width: 0; flex: 1;
}
.meeting-card .meeting-info strong {
    display: block; font-size: 14px; font-weight: 700;
    color: var(--navy); white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis;
}
.meeting-card .meeting-info span {
    font-size: 12px; color: var(--muted);
    display: inline-flex; align-items: center; gap: 6px;
}
.meeting-card .meeting-progress { margin-top: 8px; max-width: 260px; }
.meeting-card .meeting-progress .progress-bar {
    height: 5px; background: #E5E7EB; border-radius: 20px;
    overflow: hidden; margin-bottom: 4px;
}
.meeting-card .meeting-progress .progress-bar span {
    display: block; height: 100%;
    background: linear-gradient(90deg, #0F766E, #14B8A6);
    border-radius: inherit; transition: width 0.4s ease;
}
.meeting-card .meeting-progress small {
    font-size: 10px; color: var(--muted); font-weight: 600;
}
.meeting-joined-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(16, 185, 129, 0.12); color: #059669;
    padding: 8px 14px; border-radius: 8px;
    font-size: 12px; font-weight: 700; flex-shrink: 0;
}
.meeting-join-button {
    display: inline-flex; align-items: center; gap: 6px;
    background: linear-gradient(135deg, #0F766E, #14B8A6);
    color: #fff; border: none; border-radius: 8px;
    padding: 9px 15px; font-size: 13px; font-weight: 700;
    cursor: pointer; text-decoration: none; white-space: nowrap;
    box-shadow: 0 4px 10px rgba(15, 118, 110, 0.25);
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.meeting-join-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(15, 118, 110, 0.4);
}
.meeting-join-button.disabled,
.meeting-join-button.ended {
    background: #E5E7EB; color: #9CA3AF; cursor: not-allowed;
    pointer-events: none; box-shadow: none; transform: none;
}
.meeting-join-button.ended {
    background: #F3F4F6; color: #6B7280; border: 1px solid #E5E7EB;
}


/* =========================================================
   33. LIVE MEETING RED ALERT BANNER
   ========================================================= */
.live-meeting-alert {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 18px; border-radius: 12px;
    background: linear-gradient(135deg, #DC2626 0%, #F87171 100%);
    color: #fff; margin-bottom: 20px;
    box-shadow: 0 6px 22px rgba(220, 38, 38, 0.45);
    animation: urgentPulse 1.5s ease-in-out infinite;
    position: relative;
}
.live-meeting-alert .alert-icon {
    font-size: 24px; flex-shrink: 0;
    animation: blink 1s infinite;
}
.live-meeting-alert .alert-text {
    flex: 1; display: flex; flex-direction: column; gap: 2px;
}
.live-meeting-alert .alert-text strong { font-size: 15px; font-weight: 700; }
.live-meeting-alert .alert-text span { font-size: 13px; opacity: 0.95; }
.live-meeting-alert .alert-btn {
    background: #fff; color: #DC2626;
    padding: 8px 16px; border-radius: 8px;
    font-weight: 700; font-size: 13px;
    text-decoration: none; white-space: nowrap;
    border: none; cursor: pointer;
    transition: transform 0.15s ease;
}
.live-meeting-alert .alert-btn:hover { transform: scale(1.05); }
.live-meeting-alert .alert-close {
    background: transparent; border: none; color: #fff;
    font-size: 20px; cursor: pointer; opacity: 0.8; padding: 0 5px;
}
.live-meeting-alert .alert-close:hover { opacity: 1; }
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}


/* =========================================================
   34. FEEDBACK BUTTON
   ========================================================= */
.feedback-button {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    background: transparent; border: 1px solid var(--primary);
    color: var(--primary); border-radius: 8px;
    padding: 8px 12px; font-size: 12px; font-weight: 700;
    cursor: pointer; margin-top: 10px;
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.feedback-button:hover {
    background: var(--primary); color: #fff; transform: translateY(-1px);
}
.feedback-button i { font-size: 11px; }


/* =========================================================
   35. STAR RATING
   ========================================================= */
.star-rating {
    display: flex; gap: 8px; margin-bottom: 16px;
    justify-content: center; position: relative; z-index: 5;
}
.star-rating i {
    font-size: 30px; color: #D1D5DB; cursor: pointer; padding: 6px;
    line-height: 1; pointer-events: auto !important; user-select: none;
    transition: color 0.15s ease, transform 0.15s ease;
}
.star-rating i:hover { transform: scale(1.12); color: #F59E0B; }
.star-rating i.active { color: #F59E0B; text-shadow: 0 0 8px rgba(245, 158, 11, 0.4); }
.star-rating i.disabled { opacity: 0.4; cursor: not-allowed; pointer-events: none; }


/* =========================================================
   36. CERTIFICATES
   ========================================================= */
.certificate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.certificate-card {
    display: grid; grid-template-columns: 45px 1fr auto;
    align-items: center; gap: 13px; padding: 17px;
    background: var(--surface);
    border: 1px solid var(--border); border-radius: 13px;
    box-shadow: var(--shadow-sm);
}
.certificate-icon {
    width: 45px; height: 45px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 11px; background: var(--primary-soft); font-size: 20px;
}
.certificate-card span { display: block; color: var(--primary); font-size: 7px; font-weight: 800; letter-spacing: 0.5px; }
.certificate-card h3 { margin: 2px 0; color: var(--navy); font-size: 11px; font-weight: 750; }
.certificate-card small { color: var(--muted); font-size: 8px; }
.certificate-card button { padding: 8px 11px; border-radius: 7px; background: var(--surface-soft); color: var(--primary); font-size: 8px; font-weight: 700; }
.certificate-card button:hover { background: var(--primary); color: #FFFFFF; }


/* =========================================================
   37. DASHBOARD FOOTER
   ========================================================= */
.dashboard-footer {
    width: min(1200px, 92%);
    margin: 0 auto; padding: 20px 0;
    display: flex; align-items: center; justify-content: space-between;
    border-top: 1px solid var(--border);
    color: var(--muted); font-size: 8px;
}
.dashboard-footer div { display: flex; gap: 18px; }
.dashboard-footer a:hover { color: var(--primary); }


/* =========================================================
   38. NOTIFICATION PANEL
   ========================================================= */
.notification-panel {
    position: fixed;
    z-index: 500;
    top: 72px;
    right: 25px;
    width: 370px;
    max-width: calc(100vw - 30px);
    max-height: 75vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: none;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(0, 0, 0, 0.04);
    animation: notifSlideIn 0.25s ease-out;
}

@keyframes notifSlideIn {
    from { opacity: 0; transform: translateY(-12px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.notification-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    border-bottom: none;
    flex-shrink: 0;
}

.notification-header h3 {
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    margin: 0;
    letter-spacing: 0.3px;
}

.notification-header button {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}

.notification-header button:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.05);
}

.notif-clear-btn {
    width: 32px !important;
    height: 32px !important;
    font-size: 13px !important;
    background: rgba(255, 255, 255, 0.2) !important;
}

.notif-clear-btn:hover {
    background: rgba(255, 255, 255, 0.4) !important;
}

#notificationPanelList {
    padding: 12px 14px 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #F9FAFB;
    flex: 1;
    min-height: 100px;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #F3F4F6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s ease, transform 0.15s ease, border-color 0.2s ease;
    position: relative;
}

.notification-item:hover {
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.10);
    border-color: #FECACA;
    transform: translateY(-1px);
}

.notification-item.unread {
    background: #FEF2F2;
    border-color: #FECACA;
}

.notification-item .notification-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #FEF2F2;
    color: #DC2626;
    font-size: 16px;
    margin-top: 2px;
}

.notification-item.unread .notification-icon {
    background: #FEE2E2;
    color: #B91C1C;
}

.notification-item .notif-content {
    flex: 1;
    min-width: 0;
}

.notification-item .notif-content strong {
    display: block;
    color: #991B1B;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 3px;
    line-height: 1.3;
}

.notification-item .notif-content p {
    margin: 0 0 6px;
    color: #4B5563;
    font-size: 12.5px;
    line-height: 1.45;
    word-break: break-word;
}

.notification-item .notif-content small {
    color: #9CA3AF;
    font-size: 11px;
    font-weight: 500;
}

.notification-item .notif-delete {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: #DC2626;
    font-size: 14px;
    cursor: pointer;
    opacity: 0.45;
    transition: opacity 0.2s ease, background 0.2s ease, transform 0.15s ease;
    margin-top: -2px;
}

.notification-item .notif-delete:hover {
    opacity: 1;
    background: #FEE2E2;
    transform: scale(1.08);
}

.notification-empty {
    text-align: center;
    padding: 40px 20px;
    color: #9CA3AF;
    font-size: 13px;
    font-weight: 500;
}

.notification-empty i {
    font-size: 38px;
    display: block;
    margin-bottom: 12px;
    color: #FCA5A5;
}

@media (max-width: 480px) {
    .notification-panel {
        top: 64px;
        right: 10px;
        left: 10px;
        width: auto;
        max-height: 80vh;
        border-radius: 16px;
    }
    .notification-header { padding: 14px 16px; }
    .notification-header h3 { font-size: 14px; }
    #notificationPanelList { padding: 10px 10px 14px; gap: 8px; }
    .notification-item { padding: 12px 13px; gap: 10px; }
    .notification-item .notification-icon {
        width: 36px; height: 36px; flex: 0 0 36px; font-size: 14px;
    }
    .notification-item .notif-content strong { font-size: 12px; }
    .notification-item .notif-content p { font-size: 11.5px; }
}


/* =========================================================
   39. PROFILE DROPDOWN
   ========================================================= */
.profile-dropdown {
    position: fixed; z-index: 500;
    top: 70px; right: 25px;
    width: 235px; padding: 8px;
    background: var(--surface);
    border: 1px solid var(--border); border-radius: 13px;
    box-shadow: var(--shadow-lg);
}
.dropdown-user { display: flex; align-items: center; gap: 10px; padding: 10px; }
.dropdown-user .user-avatar { width: 34px; height: 34px; }
.dropdown-user strong { display: block; color: var(--navy); font-size: 10px; }
.dropdown-user small { display: block; max-width: 150px; overflow: hidden; color: var(--muted); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.dropdown-divider { height: 1px; margin: 5px 0; background: var(--border); }
.profile-dropdown a,
.profile-dropdown > button {
    width: 100%; padding: 10px;
    display: flex; align-items: center; gap: 10px;
    background: transparent; border-radius: 8px;
    color: var(--muted); font-size: 9px; font-weight: 600;
    text-align: left;
}
.profile-dropdown a:hover,
.profile-dropdown > button:hover { background: var(--surface-soft); color: var(--primary); }
.profile-dropdown > button:last-child:hover { color: var(--danger); }


/* =========================================================
   40. MODAL
   ========================================================= */
.modal-overlay {
    position: fixed; inset: 0; z-index: 1000;
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(5px);
}
.modal-overlay[hidden],
.notification-panel[hidden],
.profile-dropdown[hidden],
.dashboard-view[hidden] {
    display: none;
}
.modal-card {
    position: relative;
    width: min(430px, 100%);
    padding: 35px;
    background: var(--surface);
    border: 1px solid var(--border); border-radius: 18px;
    box-shadow: var(--shadow-lg);
    animation: modalIn 0.25s ease;
}
@keyframes modalIn {
    from { opacity: 0; transform: translateY(12px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
    position: absolute; top: 13px; right: 13px;
    width: 30px; height: 30px;
    display: flex; align-items: center; justify-content: center;
    background: var(--surface-soft); border-radius: 8px;
    color: var(--muted); font-size: 18px;
}
.modal-close:hover { color: var(--danger); }
.modal-icon {
    width: 48px; height: 48px; margin-bottom: 15px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 13px; background: var(--primary-soft); font-size: 22px;
}
.modal-card h2 { margin-bottom: 7px; color: var(--navy); font-size: 21px; font-weight: 800; }
.modal-card > p { margin-bottom: 22px; color: var(--muted); font-size: 10px; line-height: 1.7; }


/* =========================================================
   41. WHATSAPP CONTACT BUTTON
   ========================================================= */
.whatsapp-contact-button {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: #0F766E; color: #fff; border: none; border-radius: 8px;
    padding: 10px 14px; font-size: 13px; font-weight: 600;
    cursor: pointer; text-decoration: none; width: 100%;
    margin-top: 8px;
    transition: background 0.2s ease, transform 0.15s ease;
}
.whatsapp-contact-button:hover {
    background: #115E59; transform: translateY(-1px);
}


/* =========================================================
   42. TOAST
   ========================================================= */
#userToast {
    position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
    padding: 12px 18px; border-radius: 10px;
    background: #0F766E; color: #fff; font-size: 14px; font-weight: 600;
    z-index: 9999; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    opacity: 0; transition: opacity 0.25s ease;
    pointer-events: none; max-width: 90%; text-align: center;
}


/* =========================================================
   43. IN-APP MEETING PANEL
   ========================================================= */
.meeting-panel-overlay {
    position: fixed; inset: 0; z-index: 2000;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    animation: fadeIn 0.2s ease;
}
.meeting-panel-overlay[hidden] { display: none; }
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.meeting-panel {
    width: min(1400px, 100%);
    height: min(92vh, 900px);
    background: #0F172A;
    border-radius: 18px; overflow: hidden;
    display: flex; flex-direction: column;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    animation: slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.meeting-panel-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 20px;
    background: #0F172A;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
}
.meeting-panel-title { display: flex; align-items: center; gap: 12px; }
.meeting-panel-title > i {
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #0F766E, #14B8A6);
    border-radius: 10px; font-size: 16px; color: #fff;
}
.meeting-panel-title strong { display: block; font-size: 15px; font-weight: 700; color: #fff; }
.meeting-panel-title small { display: block; font-size: 12px; color: rgba(255, 255, 255, 0.6); margin-top: 2px; }
.meeting-panel-actions { display: flex; align-items: center; gap: 8px; }
.meeting-external-btn,
.meeting-panel-close {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: none; border-radius: 10px;
    color: #fff; font-size: 15px; cursor: pointer; text-decoration: none;
    transition: background 0.2s ease, transform 0.15s ease;
}
.meeting-external-btn:hover,
.meeting-panel-close:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
}
.meeting-panel-close:hover { background: rgba(239, 68, 68, 0.7); }
.meeting-panel-body {
    flex: 1; background: #000;
    position: relative; overflow: hidden;
}
.meeting-panel-body iframe {
    width: 100%; height: 100%; border: 0; display: block;
}
.meeting-panel-footer {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 20px;
    background: #0F172A;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px; font-weight: 600;
}
.meeting-panel-footer i { font-size: 8px; margin-right: 6px; }
@media (max-width: 800px) {
    .meeting-panel-overlay { padding: 0; }
    .meeting-panel { width: 100%; height: 100%; border-radius: 0; }
    .meeting-panel-title strong { font-size: 13px; }
    .meeting-panel-title small { font-size: 11px; }
    .meeting-panel-footer span:last-child { display: none; }
}


/* =========================================================
   44. TOP BANNER — Our Services / Our Courses
   ========================================================= */
.user-top-banner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 22px;
}
.user-top-banner__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 22px;
    border-radius: 14px;
    text-decoration: none;
    background: linear-gradient(135deg, #0F766E 0%, #14B8A6 100%);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 10px 28px -12px rgba(15, 118, 110, 0.55);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    position: relative;
    overflow: hidden;
}
.user-top-banner__item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 100% 0%, rgba(255,255,255,0.18), transparent 55%);
    pointer-events: none;
}
.user-top-banner__item:nth-child(2) {
    background: linear-gradient(135deg, #0F172A 0%, #334155 100%);
    box-shadow: 0 10px 28px -12px rgba(15, 23, 42, 0.55);
}
.user-top-banner__item:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px -12px rgba(15, 118, 110, 0.75);
}
.user-top-banner__label {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.2px;
}
.user-top-banner__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 800;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(6px);
}
.user-top-banner__item:hover .user-top-banner__cta {
    background: rgba(255, 255, 255, 0.28);
}
@media (max-width: 640px) {
    .user-top-banner { grid-template-columns: 1fr; gap: 10px; }
    .user-top-banner__item { padding: 16px 18px; }
    .user-top-banner__label { font-size: 16px; }
}


/* =========================================================
   45. PENDING VERIFICATION CARDS
   ========================================================= */
.student-course-card.pending-verification {
    border: 2px dashed #F59E0B;
    background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
    position: relative;
}
.student-course-card.pending-verification .course-card-image img {
    filter: grayscale(0.3) brightness(0.95);
}
.card-status-ribbon {
    position: absolute;
    top: 12px; right: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px; font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: flex; align-items: center; gap: 6px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.card-status-ribbon.pending {
    background: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%);
    color: #fff;
    animation: gentlePulse 3s ease-in-out infinite;
}
.card-status-ribbon.completed {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: #fff;
}
@keyframes gentlePulse {
    0%, 100% { box-shadow: 0 4px 10px rgba(245, 158, 11, 0.35); }
    50%      { box-shadow: 0 4px 18px rgba(245, 158, 11, 0.55); }
}
.student-course-card.pending-verification .course-action-button[disabled] {
    background: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%);
    color: #fff; cursor: not-allowed; opacity: 0.9;
}

/* Verification bar */
.verification-bar {
    padding: 12px 14px; border-radius: 10px;
    margin: 12px 0; font-size: 12px;
}
.verification-bar.pending {
    background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
    border: 1px solid #FCD34D; color: #92400E;
}
.verification-bar.pending .vb-header {
    display: flex; align-items: center;
    gap: 10px; margin-bottom: 8px;
}
.verification-bar.pending .vb-icon { font-size: 18px; color: #D97706; }
.verification-bar.pending .vb-text {
    flex: 1; display: flex; flex-direction: column; gap: 2px;
}
.verification-bar.pending .vb-text strong {
    font-size: 13px; font-weight: 800; color: #92400E;
}
.verification-bar.pending .vb-text span { font-size: 11px; opacity: 0.85; }
.verification-bar.pending .vb-percent {
    font-weight: 800; font-size: 14px; color: #D97706;
}
.verification-bar.pending .vb-track {
    height: 6px; border-radius: 999px;
    background: rgba(217, 119, 6, 0.15); overflow: hidden;
}
.verification-bar.pending .vb-track span {
    display: block; height: 100%;
    background: linear-gradient(90deg, #F59E0B, #FBBF24);
    border-radius: 999px; transition: width 0.4s ease;
}
.verification-bar.verified {
    background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
    border: 1px solid #6EE7B7; color: #065F46;
    display: flex; align-items: center; gap: 10px;
}
.verification-bar.verified .vb-icon { font-size: 20px; color: #10B981; }
.verification-bar.rejected {
    background: linear-gradient(135deg, #FEF2F2 0%, #FEE2E2 100%);
    border: 1px solid #FCA5A5; color: #991B1B;
    display: flex; align-items: center; gap: 10px;
}
.verification-bar.rejected .vb-icon { font-size: 20px; color: #DC2626; }
.verification-bar .vb-text {
    flex: 1; display: flex; flex-direction: column; gap: 2px;
}
.verification-bar .vb-text strong { font-size: 13px; font-weight: 800; }
.verification-bar .vb-text span { font-size: 11px; opacity: 0.85; }


/* =========================================================
   46. ANALOG CLOCK for pending payments
   ========================================================= */
.pending-clock {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 10px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #FCD34D;
    border-radius: 14px;
}
.pending-clock__dial {
    position: relative;
    width: 72px;
    height: 72px;
    flex-shrink: 0;
}
.pending-clock__dial svg {
    width: 100%;
    height: 100%;
    display: block;
}
.dial-face {
    fill: #FFFBF0;
    stroke: #F59E0B;
    stroke-width: 3;
}
.tick {
    stroke: #FCD34D;
    stroke-width: 1.5;
    stroke-linecap: round;
}
.tick-major {
    stroke: #F59E0B;
    stroke-width: 2.5;
}
.hand {
    stroke-linecap: round;
    transform-origin: 50px 50px;
    transition: transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}
.hand-hour {
    stroke: #92400E;
    stroke-width: 4;
}
.hand-minute {
    stroke: #B45309;
    stroke-width: 3;
}
.hand-second {
    stroke: #F59E0B;
    stroke-width: 1.5;
}
.hand-center {
    fill: #F59E0B;
}
.pending-clock__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}
.pending-clock__title {
    font-size: 11px;
    font-weight: 700;
    color: #92400E;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.pending-clock__clock {
    font-family: 'Inter', monospace;
    font-weight: 800;
    font-size: 15px;
    color: #92400E;
    letter-spacing: 0.5px;
}
.pending-clock__sub {
    font-size: 10.5px;
    color: #A16207;
    font-weight: 600;
}
.pending-clock.is-warning .dial-face { stroke: #D97706; fill: #FFF7ED; }
.pending-clock.is-warning .tick      { stroke: #FBBF24; }
.pending-clock.is-warning .tick-major{ stroke: #D97706; }
.pending-clock.is-warning .hand-hour   { stroke: #B45309; }
.pending-clock.is-warning .hand-minute { stroke: #D97706; }
.pending-clock.is-warning .hand-second { stroke: #D97706; }
.pending-clock.is-warning .hand-center { fill: #D97706; }
.pending-clock.is-warning .pending-clock__clock { color: #B45309; }
.pending-clock.is-danger .dial-face { stroke: #DC2626; fill: #FEF2F2; }
.pending-clock.is-danger .tick      { stroke: #FCA5A5; }
.pending-clock.is-danger .tick-major{ stroke: #DC2626; }
.pending-clock.is-danger .hand-hour   { stroke: #B91C1C; }
.pending-clock.is-danger .hand-minute { stroke: #DC2626; }
.pending-clock.is-danger .hand-second { stroke: #DC2626; }
.pending-clock.is-danger .hand-center { fill: #DC2626; }
.pending-clock.is-danger .pending-clock__clock { color: #B91C1C; }
.pending-clock.is-danger .pending-clock__title,
.pending-clock.is-danger .pending-clock__sub   { color: #991B1B; }
.pending-clock.is-danger {
    animation: clockPulse 2s ease-in-out infinite;
}
@keyframes clockPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.15); }
    50%      { box-shadow: 0 0 0 6px rgba(220, 38, 38, 0); }
}


/* =========================================================
   47. ROBOT ASSISTANT WIDGET
   ========================================================= */
.nw-assistant {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 9999;
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
}
.nw-assistant__button {
    position: relative;
    width: 64px;
    height: 64px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #0F766E, #14B8A6);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 28px -8px rgba(15, 118, 110, 0.55);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nw-assistant__button:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 16px 34px -8px rgba(15, 118, 110, 0.7);
}
.nw-assistant__button:active {
    transform: translateY(0) scale(1);
}
.nw-assistant__robot {
    display: inline-flex;
    width: 42px;
    height: 42px;
    color: #fff;
    animation: nw-robot-bob 2.4s ease-in-out infinite;
}
.nw-assistant__robot svg {
    width: 100%;
    height: 100%;
}
@keyframes nw-robot-bob {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-3px); }
}
.nw-assistant__pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.6);
    animation: nw-robot-pulse 2.4s ease-out infinite;
    pointer-events: none;
}
@keyframes nw-robot-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.55); }
    70%  { box-shadow: 0 0 0 18px rgba(20, 184, 166, 0); }
    100% { box-shadow: 0 0 0 0 rgba(20, 184, 166, 0); }
}
.nw-assistant__badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: #DC2626;
    color: #fff;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.nw-assistant__badge[hidden] { display: none; }
.nw-assistant__panel {
    position: absolute;
    right: 0;
    bottom: 78px;
    width: 340px;
    max-width: calc(100vw - 30px);
    max-height: 520px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 25px 60px -18px rgba(15, 23, 42, 0.35),
                0 0 0 1px rgba(15, 118, 110, 0.08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: nw-assistant-in 0.22s ease-out;
}
.nw-assistant__panel[hidden] { display: none; }
@keyframes nw-assistant-in {
    from { opacity: 0; transform: translateY(10px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0)   scale(1); }
}
.nw-assistant__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #0F766E, #14B8A6);
    color: #fff;
}
.nw-assistant__header-info {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.nw-assistant__header-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.nw-assistant__header-avatar svg { width: 30px; height: 30px; }
.nw-assistant__header-info strong {
    display: block;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.2px;
}
.nw-assistant__header-info span {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
    font-size: 11px;
    opacity: 0.9;
}
.nw-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ADE80;
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.25);
}
.nw-assistant__close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}
.nw-assistant__close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.06);
}
.nw-assistant__messages {
    flex: 1;
    padding: 14px 14px 10px;
    overflow-y: auto;
    background: #F9FAFB;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 180px;
    max-height: 320px;
}
.nw-assistant__messages::-webkit-scrollbar { width: 6px; }
.nw-assistant__messages::-webkit-scrollbar-thumb {
    background: rgba(15, 118, 110, 0.2);
    border-radius: 6px;
}
.nw-msg {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    max-width: 88%;
    animation: nw-msg-in 0.2s ease-out;
}
@keyframes nw-msg-in {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.nw-msg--bot  { align-self: flex-start; }
.nw-msg--user { align-self: flex-end; flex-direction: row-reverse; }
.nw-msg__avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #0F766E, #14B8A6);
}
.nw-msg--user .nw-msg__avatar {
    background: linear-gradient(135deg, #0F172A, #334155);
}
.nw-msg__bubble {
    padding: 9px 13px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.5;
    word-wrap: break-word;
}
.nw-msg--bot .nw-msg__bubble {
    background: #fff;
    color: #0F172A;
    border: 1px solid #E5E7EB;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
.nw-msg--user .nw-msg__bubble {
    background: linear-gradient(135deg, #0F766E, #14B8A6);
    color: #fff;
    border-bottom-right-radius: 4px;
}
.nw-msg__bubble a {
    color: #0F766E;
    font-weight: 700;
    text-decoration: underline;
    word-break: break-all;
}
.nw-msg--user .nw-msg__bubble a { color: #fff; }
.nw-assistant__quick {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0 14px 10px;
    background: #F9FAFB;
}
.nw-assistant__quick button {
    padding: 6px 10px;
    background: #fff;
    color: #0F766E;
    border: 1px solid rgba(15, 118, 110, 0.2);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}
.nw-assistant__quick button:hover {
    background: #0F766E;
    color: #fff;
    border-color: #0F766E;
    transform: translateY(-1px);
}
.nw-assistant__form {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: #fff;
    border-top: 1px solid #E5E7EB;
}
.nw-assistant__form input {
    flex: 1;
    height: 40px;
    padding: 0 14px;
    background: #F3F4F6;
    border: 1px solid transparent;
    border-radius: 999px;
    outline: none;
    font-size: 13px;
    color: #0F172A;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.nw-assistant__form input:focus {
    background: #fff;
    border-color: #0F766E;
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}
.nw-assistant__form button {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #0F766E, #14B8A6);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.nw-assistant__form button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px -4px rgba(15, 118, 110, 0.5);
}
.nw-assistant__form button svg { width: 18px; height: 18px; }
.nw-typing {
    display: inline-flex;
    gap: 4px;
    padding: 4px 2px;
}
.nw-typing span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #94A3B8;
    animation: nw-typing-bounce 1.2s infinite ease-in-out;
}
.nw-typing span:nth-child(2) { animation-delay: 0.15s; }
.nw-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes nw-typing-bounce {
    0%, 80%, 100% { transform: scale(0.7); opacity: 0.5; }
    40%           { transform: scale(1);   opacity: 1; }
}
@media (max-width: 480px) {
    .nw-assistant { right: 14px; bottom: 14px; }
    .nw-assistant__button { width: 58px; height: 58px; }
    .nw-assistant__robot { width: 38px; height: 38px; }
    .nw-assistant__panel {
        right: -6px;
        bottom: 72px;
        width: calc(100vw - 20px);
        max-height: 78vh;
    }
    .nw-assistant__messages { max-height: 60vh; }
}


/* =========================================================
   48. BOT REPLY — contact boxes
   ========================================================= */
.nw-msg--bot .nw-msg__bubble {
    padding: 10px 12px;
    max-width: 100%;
}
.nw-msg--bot .nw-msg__bubble p {
    margin: 0 0 8px 0;
    font-size: 13px;
    line-height: 1.5;
    color: #0F172A;
}
.nw-msg--bot .nw-msg__bubble p:last-child {
    margin-bottom: 0;
}
.nw-msg--bot .nw-msg__bubble p.nw-reply-tail {
    margin-top: 8px;
    color: #64748B;
    font-size: 12px;
}
.nw-reply-contacts {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 8px 0;
}
.nw-reply-contact {
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding: 8px 11px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    text-decoration: none;
    color: #0F172A;
    min-width: 0;
    transition: background 0.15s ease, border-color 0.15s ease;
}
.nw-reply-contact:hover {
    background: #F0FDFA;
    border-color: #14B8A6;
}
.nw-reply-contact__label {
    font-size: 10px;
    font-weight: 700;
    color: #0F766E;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}
.nw-reply-contact__value {
    font-size: 12.5px;
    font-weight: 600;
    color: #0F172A;
    word-break: break-all;
    line-height: 1.3;
}


/* =========================================================
   49. RESPONSIVE — TABLET
   ========================================================= */
@media (max-width: 1050px) {
    .auth-container { grid-template-columns: 1fr 430px; gap: 35px; }
    .auth-info { padding: 45px; }
    .auth-info h1 { font-size: 39px; }
    .dashboard-sidebar { width: 220px; }
    .dashboard-main { width: calc(100% - 220px); margin-left: 220px; }
    .dashboard-stats { grid-template-columns: repeat(2, 1fr); }
    .course-grid { grid-template-columns: repeat(2, 1fr); }
}


/* =========================================================
   50. RESPONSIVE — MOBILE
   ========================================================= */
@media (max-width: 800px) {
    .auth-header { height: 68px; padding: 0 5%; }
    .auth-container { width: min(94%, 500px); min-height: auto; padding: 30px 0 45px; display: block; }
    .auth-info { display: none; }
    .auth-card { padding: 30px 25px; }
    .mobile-brand-icon {
        width: 43px; height: 43px; margin-bottom: 15px;
        display: flex; align-items: center; justify-content: center;
        border-radius: 12px;
        background: linear-gradient(135deg, var(--primary), var(--primary-light));
        color: #FFFFFF; font-size: 19px; font-weight: 800;
    }
    .auth-card-header h2 { font-size: 23px; }

    .dashboard-sidebar {
        width: 250px; transform: translateX(-100%);
        transition: transform 0.3s ease; box-shadow: var(--shadow-lg);
    }
    .dashboard-sidebar.open { transform: translateX(0); }
    .dashboard-main { width: 100%; margin-left: 0; }
    .dashboard-header { padding: 0 18px; }
    .sidebar-toggle { display: flex; align-items: center; justify-content: center; }
    .dashboard-search { width: auto; flex: 1; max-width: 320px; }
    .user-header-info, .profile-arrow { display: none; }
    .dashboard-content { width: 94%; padding-top: 28px; }
    .welcome-section { align-items: flex-start; flex-direction: column; }
    .dashboard-stats { grid-template-columns: repeat(2, 1fr); }
    .course-grid { grid-template-columns: 1fr 1fr; }
    .certificate-grid { grid-template-columns: 1fr; }
    .dashboard-footer { width: 94%; align-items: flex-start; flex-direction: column; gap: 10px; }
}


/* =========================================================
   51. RESPONSIVE — SMALL MOBILE
   ========================================================= */
@media (max-width: 480px) {
    .auth-header { padding: 0 18px; }
    .brand-icon { width: 38px; height: 38px; border-radius: 10px; font-size: 18px; }
    .brand-text strong { font-size: 15px; }
    .brand-text small { display: none; }
    .back-home { font-size: 10px; }
    .auth-container { width: 94%; padding-top: 20px; }
    .auth-card { padding: 25px 19px; border-radius: 15px; }
    .auth-card-header h2 { font-size: 21px; }
    .auth-tabs { margin-bottom: 20px; }
    .dashboard-header { min-height: 68px; gap: 8px; padding: 0 12px; }
    .dashboard-search { display: none; }
    .dashboard-actions { margin-left: auto; }
    .dashboard-content { padding-top: 23px; }
    .welcome-section h1 { font-size: 25px; }
    .dashboard-stats { grid-template-columns: 1fr 1fr; gap: 9px; }
    .dashboard-stat-card { min-height: 92px; padding: 13px; gap: 9px; }
    .stat-icon { width: 34px; height: 34px; flex-basis: 34px; font-size: 14px; }
    .dashboard-stat-card strong { font-size: 18px; }
    .dashboard-stat-card span { font-size: 7px; }
    .course-grid { grid-template-columns: 1fr; }
    .certificate-card { grid-template-columns: 38px 1fr; }
    .certificate-icon { width: 38px; height: 38px; }
    .certificate-card button { grid-column: 2; justify-self: start; }
    .notification-panel, .profile-dropdown { right: 12px; left: 12px; width: auto; }
    .modal-card { padding: 28px 20px; }
}


/* =========================================================
   52. ACCESSIBILITY & MOTION
   ========================================================= */
button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 3px solid rgba(20, 184, 166, 0.25);
    outline-offset: 2px;
}
.dashboard-search { position: relative; }
.dashboard-search i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.dashboard-search input { padding-left: 42px; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}