:root {
    --bg: #060d1a;
    --sidebar-bg: rgba(6, 11, 22, 0.97);
    --card: rgba(255, 255, 255, 0.04);
    --card-border: rgba(255, 255, 255, 0.08);
    --blue: #4facfe;
    --blue-dark: #2d8de7;
    --gold: #f9a825;
    --gold-dark: #e09000;
    --green: #34d399;
    --red: #f87171;
    --text: #e2e8f0;
    --muted: #64748b;
    --heading: #f1f5f9;
    --radius: 16px;
    --sidebar-width: 272px;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    background-image:
        radial-gradient(ellipse at 20% 20%, rgba(79, 172, 254, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(249, 168, 37, 0.04) 0%, transparent 50%);
    
    /* Anti-copy styling */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

input, textarea {
    -webkit-user-select: auto;
    -moz-user-select: auto;
    -ms-user-select: auto;
    user-select: auto;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
}

::-webkit-scrollbar-thumb {
    background: rgba(79, 172, 254, 0.3);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(79, 172, 254, 0.5);
}

/* ── SIDEBAR ── */
.sidebar {
    width: var(--sidebar-width);
    background: var(--sidebar-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-right: 1px solid rgba(79, 172, 254, 0.12);
    display: flex;
    flex-direction: column;
    padding: 1.4rem 1rem 1.2rem;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 200;
    transition: transform var(--transition);
    overflow-y: auto;
}

.sidebar-logo {
    padding: 0.4rem 0.8rem 1.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 1rem;
}

.logo-brand {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--blue);
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.logo-brand span {
    color: var(--gold);
}

.logo-sub {
    font-size: 0.72rem;
    color: var(--muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 0.25rem;
    font-weight: 500;
}

.nav-section-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--muted);
    padding: 0.6rem 0.8rem 0.3rem;
    margin-top: 0.5rem;
}

.nav-menu {
    list-style: none;
}

.nav-menu li {
    margin-bottom: 3px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    color: #94a3b8;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.nav-link i {
    width: 20px;
    text-align: center;
    font-size: 0.95rem;
}

.nav-link:hover {
    background: rgba(79, 172, 254, 0.08);
    color: var(--text);
}

.nav-link.active {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.18), rgba(45, 141, 231, 0.1));
    color: var(--blue);
    font-weight: 600;
    box-shadow: inset 0 0 0 1px rgba(79, 172, 254, 0.25);
}

.nav-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    bottom: 20%;
    width: 3px;
    background: var(--blue);
    border-radius: 0 4px 4px 0;
}

.sidebar-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.76rem;
    color: var(--muted);
    text-align: center;
    line-height: 1.6;
}

.sidebar-footer a {
    color: var(--gold);
    text-decoration: none;
}

.sidebar-footer a:hover {
    text-decoration: underline;
}

/* ── HAMBURGER ── */
.hamburger {
    display: none;
    position: fixed;
    top: 14px;
    left: 14px;
    z-index: 300;
    background: rgba(6, 13, 26, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(79, 172, 254, 0.25);
    color: var(--blue);
    font-size: 1.2rem;
    padding: 0.5rem 0.7rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all var(--transition);
}

.hamburger:hover {
    background: rgba(79, 172, 254, 0.1);
}

.overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 150;
    backdrop-filter: blur(2px);
}

.overlay.active {
    display: block;
}

/* ── MAIN CONTENT ── */
.main-content {
    margin-left: var(--sidebar-width);
    flex: 1;
    padding: 2rem 2.2rem 3rem;
    min-height: 100vh;
    max-width: calc(100vw - var(--sidebar-width));
    transition: margin-left var(--transition);
}

.page {
    display: none;
    animation: fadeIn 0.3s ease;
}

.page.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* ── PAGE HEADER ── */
.page-header {
    margin-bottom: 2rem;
}

.page-header h1,
.page-header h2 {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.9rem;
    color: var(--heading);
    line-height: 1.2;
}

.page-header p {
    color: var(--muted);
    margin-top: 0.4rem;
    font-size: 0.9rem;
}

/* ── CARDS ── */
.card {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 1.6rem;
    margin-bottom: 1.4rem;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.02), transparent 60%);
    pointer-events: none;
}

.card-title {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--gold);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-title i {
    color: var(--gold);
}

/* ── DASHBOARD ── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 1.4rem;
}

.stat-card {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 1.2rem 1.4rem;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all var(--transition);
}

.stat-card:hover {
    border-color: rgba(79, 172, 254, 0.25);
    transform: translateY(-2px);
}

.stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.stat-icon.blue {
    background: rgba(79, 172, 254, 0.12);
    color: var(--blue);
}

.stat-icon.gold {
    background: rgba(249, 168, 37, 0.12);
    color: var(--gold);
}

.stat-icon.green {
    background: rgba(52, 211, 153, 0.12);
    color: var(--green);
}

.stat-icon.red {
    background: rgba(248, 113, 113, 0.12);
    color: var(--red);
}

.stat-info .stat-val {
    font-family: 'Syne', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--heading);
    line-height: 1;
}

.stat-info .stat-label {
    font-size: 0.75rem;
    color: var(--muted);
    margin-top: 2px;
    font-weight: 500;
}

/* ── ENGAGEMENT ROW ── */
.engage-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.like-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1.5px solid var(--gold);
    color: var(--gold);
    padding: 0.5rem 1.3rem;
    border-radius: 30px;
    cursor: pointer;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition);
}

.like-btn:hover,
.like-btn.liked {
    background: var(--gold);
    color: #111;
}

.like-btn.liked {
    animation: heartPop 0.4s ease;
}

@keyframes heartPop {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.25);
    }

    100% {
        transform: scale(1);
    }
}

/* ── MAP ── */
.map-wrap {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(79, 172, 254, 0.15);
    height: 400px;
    position: relative;
}

.map-wrap #visitorMap {
    height: 100%;
    width: 100%;
}

.map-status {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(6, 13, 26, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(79, 172, 254, 0.2);
    border-radius: 8px;
    padding: 4px 10px;
    font-size: 0.75rem;
    color: var(--blue);
    z-index: 500;
}

/* ── EXAM INFO ── */
.info-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.info-table th,
.info-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-align: left;
    vertical-align: top;
}

.info-table th {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: rgba(249, 168, 37, 0.05);
}

.info-table td {
    color: var(--text);
}

.info-table tr:last-child td {
    border-bottom: none;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.7rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin: 2px;
}

.badge-blue {
    background: rgba(79, 172, 254, 0.15);
    color: var(--blue);
}

.badge-gold {
    background: rgba(249, 168, 37, 0.15);
    color: var(--gold);
}

.badge-green {
    background: rgba(52, 211, 153, 0.15);
    color: var(--green);
}

.topic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.8rem;
}

.topic-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    transition: all var(--transition);
}

.topic-card:hover {
    border-color: rgba(79, 172, 254, 0.2);
    background: rgba(79, 172, 254, 0.04);
}

.topic-num {
    width: 30px;
    height: 30px;
    background: rgba(79, 172, 254, 0.12);
    color: var(--blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.topic-card-title {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--heading);
}

.topic-card-sub {
    font-size: 0.76rem;
    color: var(--muted);
    margin-top: 2px;
}

/* ── ACCORDION ── */
.acc-item {
    margin-bottom: 0.6rem;
}

.acc-btn {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: var(--heading);
    text-align: left;
    padding: 1rem 1.2rem;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    transition: all var(--transition);
}

.acc-btn:hover {
    background: rgba(79, 172, 254, 0.07);
    border-color: rgba(79, 172, 254, 0.2);
}

.acc-btn.open {
    background: rgba(79, 172, 254, 0.1);
    border-color: rgba(79, 172, 254, 0.3);
    color: var(--blue);
    border-radius: 12px 12px 0 0;
}

.acc-btn .acc-icon {
    transition: transform 0.3s;
    flex-shrink: 0;
    font-size: 0.85rem;
}

.acc-btn.open .acc-icon {
    transform: rotate(180deg);
}

.acc-body {
    display: none;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(79, 172, 254, 0.15);
    border-top: none;
    border-radius: 0 0 12px 12px;
    padding: 1.2rem 1.4rem;
}

.acc-body.show {
    display: block;
}

.sub-block {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sub-block:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sub-title {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--gold);
    margin-bottom: 0.7rem;
}

.sub-content {
    font-size: 0.88rem;
    color: #b0bec5;
    line-height: 1.75;
    margin-bottom: 0.9rem;
}

.sub-content p {
    margin-bottom: 0.6rem;
}

.sub-content strong {
    color: var(--text);
}

.resource-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.4rem;
    align-items: center;
}

.resource-label {
    font-size: 0.73rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 4px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.78rem;
    text-decoration: none;
    transition: all var(--transition);
    font-weight: 500;
}

.chip:hover {
    background: rgba(79, 172, 254, 0.12);
    border-color: var(--blue);
    color: var(--blue);
}

.chip.video {
    border-color: rgba(248, 113, 113, 0.3);
}

.chip.video:hover {
    background: rgba(248, 113, 113, 0.1);
    border-color: var(--red);
    color: var(--red);
}

.chip i {
    font-size: 0.72rem;
}

/* ── MCQs ── */
.mcq-toolbar {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1rem 1.4rem;
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    margin-bottom: 1rem;
}

.mcq-toolbar label {
    font-size: 0.85rem;
    color: var(--muted);
    font-weight: 500;
}

select.styled {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text);
    padding: 0.45rem 0.8rem;
    border-radius: 8px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.85rem;
    cursor: pointer;
    outline: none;
}

select.styled:focus {
    border-color: var(--blue);
}

select.styled option {
    background: #0d1929;
    color: var(--text);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all var(--transition);
}

.btn-primary {
    background: var(--blue);
    color: #fff;
}

.btn-primary:hover {
    background: var(--blue-dark);
    transform: translateY(-1px);
}

.btn-gold {
    background: var(--gold);
    color: #111;
}

.btn-gold:hover {
    background: var(--gold-dark);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--blue);
    color: var(--blue);
}

.btn-outline:hover {
    background: rgba(79, 172, 254, 0.1);
}

.btn-success {
    background: var(--green);
    color: #111;
}

.btn-success:hover {
    background: #22c55e;
}

.mcq-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 1.2rem 1.4rem;
    margin-bottom: 0.8rem;
    transition: border-color var(--transition);
}

.mcq-box:hover {
    border-color: rgba(79, 172, 254, 0.15);
}

.mcq-q {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--heading);
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

.mcq-q .q-num {
    color: var(--blue);
    margin-right: 6px;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 0.8rem;
}

.opt-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.88rem;
    transition: background var(--transition);
    border: 1px solid transparent;
}

.opt-label:hover {
    background: rgba(255, 255, 255, 0.05);
}

.opt-label input[type="radio"] {
    accent-color: var(--blue);
}

.opt-label.correct {
    background: rgba(52, 211, 153, 0.12);
    border-color: rgba(52, 211, 153, 0.3);
    color: var(--green);
}

.opt-label.wrong {
    background: rgba(248, 113, 113, 0.1);
    border-color: rgba(248, 113, 113, 0.25);
    color: var(--red);
}

.feedback-text {
    font-size: 0.83rem;
    font-weight: 600;
    padding: 0.3rem 0;
}

.feedback-text.correct {
    color: var(--green);
}

.feedback-text.wrong {
    color: var(--red);
}

.mcq-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.show-ans-btn {
    background: rgba(79, 172, 254, 0.12);
    border: 1px solid rgba(79, 172, 254, 0.2);
    color: var(--blue);
    padding: 0.35rem 0.9rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all var(--transition);
}

.show-ans-btn:hover {
    background: rgba(79, 172, 254, 0.25);
}

/* ── MOCK TEST ── */
.mock-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1.2rem 1.6rem;
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    margin-bottom: 1rem;
}

.timer-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(249, 168, 37, 0.08);
    border: 1px solid rgba(249, 168, 37, 0.25);
    padding: 0.5rem 1.1rem;
    border-radius: 10px;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--gold);
}

.timer-box.warning {
    background: rgba(248, 113, 113, 0.1);
    border-color: rgba(248, 113, 113, 0.3);
    color: var(--red);
}

.score-card-box {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.08), rgba(249, 168, 37, 0.05));
    border: 1px solid rgba(79, 172, 254, 0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    margin-top: 1.5rem;
}

.score-title {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.score-val {
    font-family: 'Syne', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--blue);
    line-height: 1;
}

.score-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
    margin: 1.2rem 0;
    text-align: left;
}

.score-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.score-row:last-child {
    border-bottom: none;
}

.score-row .label {
    color: var(--muted);
}

.score-row .val {
    color: var(--text);
    font-weight: 600;
}

/* ── CONTACT ── */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text);
    padding: 0.8rem 1rem;
    border-radius: 10px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.9rem;
    outline: none;
    transition: border-color var(--transition);
}

.form-input:focus {
    border-color: var(--blue);
    background: rgba(79, 172, 254, 0.04);
}

.form-input::placeholder {
    color: var(--muted);
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

.dev-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    margin-top: 1.2rem;
}

.dev-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--blue), var(--gold));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
    flex-shrink: 0;
}

.dev-info .dev-name {
    font-weight: 700;
    color: var(--heading);
    font-size: 0.95rem;
}

.dev-info .dev-link a {
    color: var(--blue);
    text-decoration: none;
    font-size: 0.83rem;
}

.dev-info .dev-link a:hover {
    text-decoration: underline;
}

/* ── FOOTER ── */
footer {
    text-align: center;
    padding: 1.8rem;
    color: var(--muted);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 2.5rem;
    font-size: 0.82rem;
}

footer a {
    color: var(--blue);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* ── PROGRESS BAR ── */
.progress-bar-wrap {
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--blue), var(--gold));
    border-radius: 20px;
    transition: width 0.6s ease;
}

/* ── NOTIFICATION TOAST ── */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: rgba(10, 20, 40, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(79, 172, 254, 0.25);
    border-radius: 12px;
    padding: 0.8rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text);
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-width: 320px;
}

.toast.show {
    transform: none;
    opacity: 1;
}

.toast-icon {
    font-size: 1.1rem;
}

/* ── RESPONSIVE ── */
@media(max-width:900px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.mobile-open {
        transform: none;
    }

    .main-content {
        margin-left: 0;
        max-width: 100%;
        padding: 1.4rem 1rem 3rem;
    }

    .hamburger {
        display: flex;
        align-items: center;
    }

    .page-header h1,
    .page-header h2 {
        font-size: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .score-meta {
        grid-template-columns: 1fr;
    }
}

@media(max-width:500px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .mcq-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .mock-header {
        flex-direction: column;
    }
}

/* ── LEAFLET CUSTOM ── */
.leaflet-popup-content-wrapper {
    background: rgba(10, 18, 35, 0.95) !important;
    color: var(--text) !important;
    border: 1px solid rgba(79, 172, 254, 0.25) !important;
    border-radius: 10px !important;
}

.leaflet-popup-tip {
    background: rgba(10, 18, 35, 0.95) !important;
}

.map-dot {
    border-radius: 50%;
    animation: blink 1.8s ease-in-out infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

#pwv-scorecard-render {
    position: fixed;
    left: -9999px;
    top: -9999px;
    background: #0b1a30;
    color: white;
    padding: 2.5rem;
    width: 520px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    border-radius: 20px;
}