/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* COLORS */
:root {
    --emerald-dark: #0b3d2e;
    --emerald-main: #0d8a5e;
    --emerald-light: #1dbf73;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.08);
    --border-glass: rgba(255, 255, 255, 0.2);
}

/* ================= BODY ================= */
body {
    height: 100vh;
    font-family: "Segoe UI", sans-serif;
    background: radial-gradient(circle at top right, #0d8a5e, #063b2c 60%);
}

/* ================= AUTH ================= */

.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.auth-card {
    backdrop-filter: blur(20px);
    background: var(--glass);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);

    animation: fadeIn 0.6s ease;
}

/* LOGO */
.logo {
    width: 80px;
    margin-bottom: 15px;
}

/* TEXT */
.auth-card h2 {
    color: white;
    margin-bottom: 5px;
}

.auth-card p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 25px;
}

/* INPUTS */
.auth-card input {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.08);
    color: white;
    outline: none;
    transition: 0.2s;
}

.auth-card input::placeholder {
    color: rgba(255,255,255,0.5);
}

.auth-card input:focus {
    border-color: var(--emerald-light);
    background: rgba(255,255,255,0.12);
}

/* BUTTON */
.auth-card button {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #0d8a5e, #1dbf73);
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.auth-card button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(29,191,115,0.4);
}

/* ERROR */
.error {
    color: #ff6b6b;
    font-size: 14px;
    margin-bottom: 10px;
    min-height: 18px;
}

/* PASSWORD TOGGLE */
.password-wrapper {
    position: relative;
}

.password-wrapper input {
    padding-right: 45px;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: rgba(255,255,255,0.8);
    font-size: 18px;
    transition: 0.2s;
}

.toggle-password:hover {
    color: var(--emerald-light);
}

.password-wrapper:focus-within .toggle-password {
    color: var(--emerald-light);
}


.auth-container {
    padding: 24px;
}

.auth-card {
    width: min(92vw, 470px);
    padding: 54px 38px 42px;
    border-radius: 24px;
    text-align: center;
}

.logo {
    width: 96px;
    margin-bottom: 16px;
}

.auth-eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin-bottom: 10px;
}

.auth-card h2 {
    color: white;
    font-size: 34px;
    margin-bottom: 8px;
}

.auth-card .auth-subtitle {
    color: rgba(255,255,255,0.8);
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 28px;
}

.auth-form {
    text-align: left;
}

.auth-card input {
    width: 100%;
    padding: 16px;
    margin-bottom: 16px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.08);
    color: white;
    font-size: 15px;
}

.auth-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin: -4px 0 12px;
}

.auth-check {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.8);
    font-size: 14px;
}

.auth-check input {
    width: auto;
    margin: 0;
}

.auth-inline-link {
    color: #9bf4c7;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.auth-inline-link:hover {
    text-decoration: underline;
}

.auth-card button {
    width: 100%;
    padding: 16px;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, #0d8a5e, #1dbf73);
    color: white;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.auth-secondary-btn {
    margin-top: 12px;
    background: rgba(255,255,255,0.08) !important;
    border: 1px solid rgba(255,255,255,0.18) !important;
    color: white;
}

.auth-switch-text {
    margin-top: 18px;
    text-align: center;
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
}

.auth-inline-note {
    display: block;
    color: rgba(255,255,255,0.62);
    margin-top: 4px;
}


/* ================= DASHBOARD ================= */

/* TOP BAR */
.top-bar {
    width: 80%;
    margin: 30px auto;
    padding: 20px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    border: 1px solid rgba(255,215,0,0.3);
    border-radius: 12px;

    backdrop-filter: blur(10px);
    background: rgba(0,0,0,0.2);
}

/* TEXT */
.welcome-text {
    font-size: 18px;
    color: #f1c40f;
}

/* TOP BUTTONS */
.top-actions {
    display: flex;
    gap: 10px;
}

.top-btn {
    padding: 10px 16px;
    border-radius: 8px;
    border: 1px solid #f1c40f;
    background: transparent;
    color: #f1c40f;
    cursor: pointer;
    transition: 0.2s;
}

.top-btn:hover {
    background: rgba(241,196,15,0.1);
}

/* MAIN */
.dashboard-main {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60%;
}

/* GRID */
.buttons-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 800px;
}

/* BUTTONS */
.main-btn {
    padding: 18px 25px;
    border-radius: 12px;
    border: none;

    background: linear-gradient(135deg, #f1c40f, #d4ac0d);
    color: #0b3d2e;

    font-weight: bold;
    cursor: pointer;

    transition: 0.25s;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.main-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.main-btn.wide {
    width: 100%;
    max-width: 300px;
}

/* LOGO WATERMARK */
body::after {
    content: "";
    position: absolute;
    width: 700px;
    height: 700px;
    background: url("../logo.jpg") no-repeat center;
    background-size: contain;
    opacity: 0.03;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/* ================= ANIMATION ================= */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* MODAL */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);

    display: flex;
    justify-content: center;
    align-items: center;
}

.hidden {
    display: none;
}

.modal-card {
    width: 320px;
    padding: 25px;

    border-radius: 15px;
    backdrop-filter: blur(15px);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);

    text-align: center;
}

.modal-card input {
    width: 100%;
    margin: 10px 0;
    padding: 12px;
    border-radius: 10px;
    border: none;
    background: rgba(255,255,255,0.1);
    color: white;
}

.modal-card button {
    margin-top: 10px;
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: none;

    background: linear-gradient(135deg, #f1c40f, #d4ac0d);
    color: #0b3d2e;

    font-weight: bold;
    cursor: pointer;
}

.checkbox {
    display: block;
    margin-top: 10px;
    color: white;
    font-size: 14px;
}

.agreement-text {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin-top: 10px;
}

.type-instruction {
    margin-top: 10px;
    font-size: 13px;
    color: #f1c40f;
}

.required-phrase {
    margin-top: 8px;
    padding: 10px;
    border-radius: 8px;

    background: rgba(255,255,255,0.1);
    font-size: 12px;
    color: white;
}



/* ===== DASHBOARD SIDEBAR REDESIGN ===== */
body.dashboard-shell-body {
    --dash-bg: #f4f7fb;
    --dash-sidebar: #edf3f8;
    --dash-card: #ffffff;
    --dash-text: #0f172a;
    --dash-muted: #64748b;
    --dash-line: #dbe3ec;
    --dash-accent: #0d8a5e;
    --dash-accent-2: #1dbf73;

    min-height: 100vh;
    height: auto;
    background: var(--dash-bg);
    overflow: hidden;
}

body.dashboard-shell-body::after {
    display: none;
}

.dashboard-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 280px 1fr;
    background: var(--dash-bg);
}

.dashboard-sidebar {
    background: linear-gradient(180deg, #eef4f8 0%, #f9fbfd 100%);
    border-right: 1px solid var(--dash-line);
    padding: 28px 22px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 10px;
}

.sidebar-logo {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(13, 138, 94, 0.18);
}

.sidebar-eyebrow {
    margin: 0 0 4px;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--dash-muted);
}

.sidebar-brand h1 {
    margin: 0;
    font-size: 20px;
    color: var(--dash-text);
}

.sidebar-section-title {
    margin: 8px 0 0;
    font-size: 13px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-link {
    width: 100%;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    font-size: 15px;
    font-weight: 600;
    color: #334155;
    text-align: left;
    cursor: pointer;
    transition: 0.22s ease;
}

.sidebar-link i {
    width: 20px;
    text-align: center;
    color: #64748b;
}

.sidebar-link:hover {
    background: #ffffff;
    transform: translateX(2px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
}

.sidebar-link.active {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.07);
}

.sidebar-link.active i {
    color: var(--dash-accent);
}

.sidebar-account {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.account-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--dash-accent), var(--dash-accent-2));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.account-text {
    display: flex;
    flex-direction: column;
}

.account-text strong {
    font-size: 15px;
    color: var(--dash-text);
}

.account-text span {
    font-size: 13px;
    color: var(--dash-muted);
}

.dashboard-panel {
    padding: 28px 36px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    overflow-y: auto;
}

.dashboard-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 24px 28px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.05);
}

.dashboard-kicker {
    margin: 0 0 6px;
    color: var(--dash-muted);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dashboard-topbar h2 {
    margin: 0;
    font-size: 32px;
    color: var(--dash-text);
}

.dashboard-top-actions {
    display: flex;
    gap: 12px;
}

.panel-action-btn {
    border: none;
    border-radius: 14px;
    padding: 12px 18px;
    background: #eef4f8;
    color: #1e293b;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.22s ease;
}

.panel-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px rgba(15, 23, 42, 0.08);
}

.panel-action-btn.danger {
    background: linear-gradient(135deg, var(--dash-accent), var(--dash-accent-2));
    color: #ffffff;
}

.dashboard-hero-card {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 20px;
    background: linear-gradient(135deg, #eef7f3 0%, #ffffff 100%);
    border: 1px solid #dcefe6;
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.04);
}

.hero-label {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 700;
    color: var(--dash-accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.dashboard-hero-copy h3 {
    margin: 0 0 12px;
    font-size: 30px;
    line-height: 1.2;
    color: var(--dash-text);
}

.hero-text {
    margin: 0;
    font-size: 15px;
    color: var(--dash-muted);
    line-height: 1.7;
    max-width: 700px;
}

.hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    align-self: center;
}

.hero-stat {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.hero-stat-label {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    color: var(--dash-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-stat strong {
    font-size: 20px;
    color: var(--dash-text);
}

.dashboard-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 18px;
    padding-bottom: 18px;
}

.feature-card {
    border: none;
    border-radius: 24px;
    padding: 24px;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    text-align: left;
    transition: 0.22s ease;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
}

.feature-card:hover {
    transform: translateY(-4px);
}

.feature-card.white {
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.feature-card.emerald {
    background: linear-gradient(135deg, var(--dash-accent), var(--dash-accent-2));
    color: #ffffff;
}

.feature-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: #eef4f8;
    color: var(--dash-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.feature-card.emerald .feature-icon {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.feature-copy h3 {
    margin: 0 0 8px;
    font-size: 20px;
}

.feature-copy p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #64748b;
}

.feature-card.emerald .feature-copy p {
    color: rgba(255, 255, 255, 0.86);
}

@media (max-width: 1100px) {
    .dashboard-hero-card {
        grid-template-columns: 1fr;
    }

    .dashboard-card-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-topbar {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 860px) {
    body.dashboard-shell-body {
        overflow: auto;
    }

    .dashboard-shell {
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar {
        border-right: none;
        border-bottom: 1px solid var(--dash-line);
    }

    .dashboard-panel {
        padding: 20px;
    }

    .dashboard-topbar h2 {
        font-size: 26px;
    }

    .dashboard-top-actions {
        width: 100%;
        flex-wrap: wrap;
    }

    .panel-action-btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }
}



/* ===== DASHBOARD WITH FIXED SIDEBAR + RIGHT CONTENT SWITCHING ===== */
body.dashboard-shell-body {
    --dash-bg: #f4f7fb;
    --dash-sidebar: #edf3f8;
    --dash-card: #ffffff;
    --dash-text: #0f172a;
    --dash-muted: #64748b;
    --dash-line: #dbe3ec;
    --dash-accent: #0d8a5e;
    --dash-accent-2: #1dbf73;

    min-height: 100vh;
    height: auto;
    background: var(--dash-bg);
    overflow: hidden;
}

body.dashboard-shell-body::after {
    display: none;
}

.dashboard-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 280px 1fr;
    background: var(--dash-bg);
}

.dashboard-sidebar {
    background: linear-gradient(180deg, #eef4f8 0%, #f9fbfd 100%);
    border-right: 1px solid var(--dash-line);
    padding: 28px 22px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 10px;
}

.sidebar-logo {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(13, 138, 94, 0.18);
}

.sidebar-eyebrow {
    margin: 0 0 4px;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--dash-muted);
}

.sidebar-brand h1 {
    margin: 0;
    font-size: 20px;
    color: var(--dash-text);
}

.sidebar-section-title {
    margin: 8px 0 0;
    font-size: 13px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-link {
    width: 100%;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    font-size: 15px;
    font-weight: 600;
    color: #334155;
    text-align: left;
    cursor: pointer;
    transition: 0.22s ease;
}

.sidebar-link i {
    width: 20px;
    text-align: center;
    color: #64748b;
}

.sidebar-link:hover {
    background: #ffffff;
    transform: translateX(2px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
}

.sidebar-link.active {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.07);
}

.sidebar-link.active i {
    color: var(--dash-accent);
}

.sidebar-account {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.account-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--dash-accent), var(--dash-accent-2));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.account-text {
    display: flex;
    flex-direction: column;
}

.account-text strong {
    font-size: 15px;
    color: var(--dash-text);
}

.account-text span {
    font-size: 13px;
    color: var(--dash-muted);
}

.dashboard-panel {
    padding: 28px 36px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    overflow-y: auto;
}

.dashboard-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 24px 28px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.05);
}

.dashboard-kicker {
    margin: 0 0 6px;
    color: var(--dash-muted);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dashboard-topbar h2 {
    margin: 0;
    font-size: 32px;
    color: var(--dash-text);
}

.page-subtitle {
    margin: 10px 0 0;
    color: var(--dash-muted);
    font-size: 15px;
    line-height: 1.6;
}

.panel-action-btn {
    border: none;
    border-radius: 14px;
    padding: 12px 18px;
    background: #eef4f8;
    color: #1e293b;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.22s ease;
}

.panel-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px rgba(15, 23, 42, 0.08);
}

.panel-action-btn.danger {
    background: linear-gradient(135deg, var(--dash-accent), var(--dash-accent-2));
    color: #ffffff;
}

.dashboard-view {
    display: none;
}

.dashboard-view.active {
    display: block;
}

.overview-hero,
.section-panel,
.coming-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.04);
}

.overview-hero {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 20px;
    margin-bottom: 22px;
    background: linear-gradient(135deg, #eef7f3 0%, #ffffff 100%);
    border: 1px solid #dcefe6;
}

.section-kicker {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 700;
    color: var(--dash-accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.overview-hero h3,
.section-head h3,
.coming-card h3 {
    margin: 0 0 12px;
    font-size: 30px;
    line-height: 1.2;
    color: var(--dash-text);
}

.overview-hero p,
.section-head p,
.coming-card p {
    margin: 0;
    font-size: 15px;
    color: var(--dash-muted);
    line-height: 1.7;
}

.overview-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    align-self: center;
}

.stat-pill {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.stat-pill span {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    color: var(--dash-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.stat-pill strong {
    font-size: 20px;
    color: var(--dash-text);
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 18px;
}

.quick-link-card {
    border: 1px solid #e2e8f0;
    background: #ffffff;
    border-radius: 24px;
    padding: 24px;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    text-align: left;
    transition: 0.22s ease;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
}

.quick-link-card:hover {
    transform: translateY(-4px);
}

.quick-link-card.primary {
    background: linear-gradient(135deg, var(--dash-accent), var(--dash-accent-2));
    color: #ffffff;
    border: none;
}

.quick-link-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: #eef4f8;
    color: var(--dash-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.quick-link-card.primary .quick-link-icon {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.quick-link-card h3 {
    margin: 0 0 8px;
    font-size: 22px;
}

.quick-link-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #64748b;
}

.quick-link-card.primary p {
    color: rgba(255, 255, 255, 0.86);
}

.section-head {
    margin-bottom: 22px;
}

.exam-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    gap: 18px;
}

.exam-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 22px;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.04);
}

.exam-card.live {
    background: linear-gradient(180deg, #ffffff 0%, #f8fcfa 100%);
}

.exam-card.disabled {
    opacity: 0.78;
}

.exam-status {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.exam-status.available {
    background: rgba(13, 138, 94, 0.12);
    color: #0d8a5e;
}

.exam-status.soon {
    background: rgba(100, 116, 139, 0.12);
    color: #64748b;
}

.exam-card h4 {
    margin: 0 0 10px;
    font-size: 22px;
    color: var(--dash-text);
}

.exam-card p {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--dash-muted);
}

.launch-btn,
.ghost-btn {
    border: none;
    border-radius: 14px;
    padding: 13px 18px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
}

.launch-btn {
    background: linear-gradient(135deg, var(--dash-accent), var(--dash-accent-2));
    color: #ffffff;
}

.launch-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(13, 138, 94, 0.22);
}

.ghost-btn {
    background: #eef4f8;
    color: #64748b;
    cursor: not-allowed;
}

.coming-card {
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 1100px) {
    .overview-hero {
        grid-template-columns: 1fr;
    }

    .quick-grid,
    .exam-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-topbar {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 860px) {
    body.dashboard-shell-body {
        overflow: auto;
    }

    .dashboard-shell {
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar {
        border-right: none;
        border-bottom: 1px solid var(--dash-line);
    }

    .dashboard-panel {
        padding: 20px;
    }

    .dashboard-topbar h2 {
        font-size: 26px;
    }

    .overview-badges {
        grid-template-columns: 1fr;
    }
}


.dashboard-shell-body .modal {
    z-index: 9999;
}

.dashboard-shell-body .modal-card {
    width: 360px;
    background: rgba(8, 27, 20, 0.94);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.dashboard-shell-body .modal-card h2 {
    color: white;
    margin-bottom: 12px;
}
.launch-btn {
    border: none;
    border-radius: 14px;
    padding: 13px 18px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
    background: linear-gradient(135deg, #0d8a5e, #1dbf73);
    color: #ffffff;
}

.launch-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(13, 138, 94, 0.22);
}


.exam-grid > .launch-btn {
    justify-self: start;
}


/* ===== dashboard page scroll version ===== */
body.dashboard-shell-body {
    min-height: 100vh;
    height: auto;
    overflow-y: auto;
    overflow-x: hidden;
}

.dashboard-shell {
    min-height: 100vh;
    height: auto;
}

.dashboard-panel {
    overflow: visible;
}



.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.card {
    background: white;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.stat-card h3 {
    margin-bottom: 15px;
}

.band-box {
    font-size: 32px;
    font-weight: bold;
    color: #0d8a5e;
}

#leaderboardList div {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
}

.strength-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.strength-item {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fcfa 100%);
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.strength-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 10px;
}

.strength-label.weak {
    background: rgba(239, 68, 68, 0.12);
    color: #b4232f;
}

.strength-label.strong {
    background: rgba(13, 138, 94, 0.14);
    color: #0b6f4c;
}

.strength-item strong {
    font-size: 20px;
    text-transform: capitalize;
    color: #0f172a;
}

.strength-band {
    font-size: 14px;
    font-weight: 700;
    color: #334155;
}

.strength-empty {
    color: #64748b;
    font-size: 14px;
}

.reload-toast {
    position: fixed;
    left: 18px;
    bottom: 18px;
    z-index: 10000;
    background: linear-gradient(135deg, #0d8a5e, #1dbf73);
    color: #fff;
    border-radius: 12px;
    padding: 12px 16px;
    font-weight: 700;
    box-shadow: 0 14px 28px rgba(13, 138, 94, 0.35);
    opacity: 0;
    transform: translateY(14px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.reload-toast.show {
    opacity: 1;
    transform: translateY(0);
}