/* TOPBAR */

.rp-topbar {
    background: #0a0f2c;
    padding: 0 20px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
}

.rp-topbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-back {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.75);
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: .2s;
    font-family: 'DM Sans', sans-serif;
    text-decoration: none;
}

.btn-back:hover {
    background: rgba(255, 255, 255, 0.14);
    color: white;
}

.rp-title {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: white;
}

.rp-title span {
    font-size: 11px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.4);
    margin-left: 5px;
}


/* MAIN */

.rp-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0;
}


/* MAP SECTION */

.rivers-map-section {
    background: #0d1f2d;
    padding: 32px 28px;
    position: relative;
    overflow: hidden;
}

.rivers-map-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 100% at 50% 50%, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
}

.rivers-map-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.rivers-map-visual {
    flex: 1;
    min-width: 280px;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 16px;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.rivers-map-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
}

.rm-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #059669, #10b981);
    color: white;
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    z-index: 3;
}


/* river lines on map */

.river-line {
    position: absolute;
    z-index: 2;
    height: 2px;
    border-radius: 1px;
    background: linear-gradient(90deg, rgba(6, 182, 212, 0.8), rgba(16, 185, 129, 0.4));
    animation: flow 3s linear infinite;
    transform-origin: left center;
}

@keyframes flow {
    0% {
        opacity: 0.4
    }
    50% {
        opacity: 1
    }
    100% {
        opacity: 0.4
    }
}

.rivers-map-info {
    flex: 1;
    min-width: 220px;
}

.rivers-map-info h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}

.rivers-map-info h2 em {
    font-style: normal;
    background: linear-gradient(90deg, #10b981, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.rivers-map-info p {
    color: #94a3b8;
    font-size: 14px;
    margin-bottom: 16px;
}

.rm-stats {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.rm-stat {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
}

.rm-stat strong {
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    display: block;
}


/* CHOOSE ONE SECTION */

.choose-section {
    padding: 32px 28px;
}

.choose-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.choose-head h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #0a0f2c;
    display: flex;
    align-items: center;
    gap: 10px;
}

.choose-head h2 .line {
    width: 4px;
    height: 22px;
    border-radius: 2px;
    background: linear-gradient(180deg, #10b981, #06b6d4);
}


/* search */

.river-search {
    position: relative;
    max-width: 300px;
}

.river-search input {
    width: 100%;
    height: 40px;
    border-radius: 30px;
    border: 1.5px solid #e8edf8;
    padding: 0 16px 0 40px;
    font-size: 13px;
    font-family: 'DM Sans', sans-serif;
    background: white;
    color: #0a0f2c;
    outline: none;
    transition: .2s;
}

.river-search input:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.river-search .s-ico {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}


/* RIVER CARD */

.river-card {
    background: white;
    border: 1.5px solid #e8edf8;
    border-radius: 16px;
    overflow: hidden;
    transition: all .3s;
    cursor: pointer;
    text-decoration: none;
    display: block;
    height: 100%;
}

.river-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 40px rgba(16, 185, 129, 0.14);
    border-color: rgba(16, 185, 129, 0.35);
}

.river-card.selected {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.river-card-top {
    height: 110px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* animated river wave */

.river-card-top::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.3), rgba(16, 185, 129, 0.3));
    border-radius: 50% 50% 0 0 / 30px 30px 0 0;
    z-index: 2;
    pointer-events: none;
}

.river-card-top.has-thumb::after {
    opacity: 0.35;
}

.rct-icon {
    font-size: 28px;
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rct-icon .map3d-icon-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    display: block;
}

.rct-icon .map3d-icon-emoji {
    font-size: 28px;
    line-height: 1;
    position: relative;
    z-index: 1;
}

.river-card {
    cursor: pointer;
}

.river-card[style*="cursor:default"] {
    cursor: default;
}

.river-card-body {
    padding: 12px 14px 14px;
}

.river-name {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #0a0f2c;
    margin-bottom: 3px;
}

.river-origin {
    font-size: 11px;
    color: #6b7280;
    margin-bottom: 8px;
}

.river-tags {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.r-tag {
    display: inline-block;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.r-tag.himalayan {
    background: #e0f2fe;
    color: #0284c7;
}

.r-tag.peninsular {
    background: #fef3c7;
    color: #d97706;
}

.r-tag.major {
    background: #ecfdf5;
    color: #059669;
}

.r-tag.tributary {
    background: #f5f3ff;
    color: #7c3aed;
}

.river-length {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #9ca3af;
    margin-top: 6px;
}


/* bg colors for river cards */

.rb1 {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
}

.rb2 {
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
}

.rb3 {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
}

.rb4 {
    background: linear-gradient(135deg, #f5f3ff, #ede9fe);
}

.rb5 {
    background: linear-gradient(135deg, #fff1f2, #ffe4e6);
}

.rb6 {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
}

.rb7 {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
}

.rb8 {
    background: linear-gradient(135deg, #fefce8, #fef9c3);
}


/* Map 1 */

.m3-hero {
    background: #0a0f2c;
    padding: 44px 0 50px;
    position: relative;
    overflow: hidden;
}

.m3-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 55% 80% at 5% 50%, rgba(16, 185, 129, 0.22) 0%, transparent 65%), radial-gradient(ellipse 40% 60% at 90% 20%, rgba(6, 182, 212, 0.2) 0%, transparent 60%), radial-gradient(ellipse 30% 50% at 55% 95%, rgba(99, 102, 241, 0.12) 0%, transparent 60%);
}

.m3-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 48px 48px;
}

.m3-hero .container {
    position: relative;
    z-index: 2;
}

.m3-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.18);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #6ee7b7;
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.m3-badge span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    animation: blink 1.4s infinite;
}

@keyframes blink {
    0%,
    100% {
        opacity: 1
    }
    50% {
        opacity: 0.2
    }
}

.m3-hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(26px, 4vw, 44px);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 10px;
}

.m3-hero h1 em {
    font-style: normal;
    background: linear-gradient(90deg, #10b981, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.m3-hero p {
    color: #94a3b8;
    font-size: 15px;
    margin-bottom: 0;
    max-width: 500px;
}

.m3-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 22px;
}

.m3-stat {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.m3-stat strong {
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 700;
    display: block;
}


/* ── INDIA MAP CARD ── */

.india-map-card {
    background: #0a0f2c;
    border: 1.5px solid rgba(16, 185, 129, 0.25);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.12);
}

.india-map-visual {
    background: linear-gradient(135deg, #0d1f2d 0%, #1a3a2a 50%, #0d1f2d 100%);
    height: 320px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.india-map-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
}


/* SVG India map placeholder */

.india-svg-wrap {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 24px rgba(16, 185, 129, 0.4));
}


/* 3D badge */

.badge-3d {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 8px;
    letter-spacing: 0.5px;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}


/* map dot markers */

.map-dot {
    position: absolute;
    z-index: 3;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.25);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%,
    100% {
        box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.25)
    }
    50% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0.1)
    }
}

.india-map-footer {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.india-map-footer-info h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}

.india-map-footer-info p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
}

.btn-explore-map {
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: .2s;
    text-decoration: none;
}

.btn-explore-map:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
    color: white;
}


/* ── BENEFITS CARDS ── */

.benefit-card {
    background: white;
    border: 1.5px solid #e8edf8;
    border-radius: 16px;
    padding: 18px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: all .3s;
    height: 100%;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.25);
}

.benefit-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
}

.bi1 {
    background: #ecfdf5;
    color: #059669;
}

.bi2 {
    background: #eef2ff;
    color: #4338ca;
}

.bi3 {
    background: #fef3c7;
    color: #d97706;
}

.bi4 {
    background: #f0f9ff;
    color: #0284c7;
}

.benefit-text h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #0a0f2c;
    margin-bottom: 4px;
}

.benefit-text p {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.5;
}


/* ── CATEGORY CARDS ── */

.cat3d-card {
    background: white;
    border: 1.5px solid #e8edf8;
    border-radius: 18px;
    overflow: hidden;
    transition: all .3s;
    cursor: pointer;
    text-decoration: none;
    display: block;
    height: 100%;
}

.cat3d-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 44px rgba(10, 15, 44, 0.12);
    border-color: rgba(16, 185, 129, 0.25);
}

.cat3d-top {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.cat3d-emoji {
    font-size: 36px;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.cat3d-label {
    position: relative;
    z-index: 1;
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(0, 0, 0, 0.25);
    padding: 3px 10px;
    border-radius: 20px;
}

.cc1 {
    background: linear-gradient(135deg, #064e3b, #10b981);
}

.cc2 {
    background: linear-gradient(135deg, #1e3a5f, #3b82f6);
}

.cc3 {
    background: linear-gradient(135deg, #78350f, #f59e0b);
}

.cc4 {
    background: linear-gradient(135deg, #1e1b4b, #8b5cf6);
}

.cc5 {
    background: linear-gradient(135deg, #7f1d1d, #ef4444);
}

.cc6 {
    background: linear-gradient(135deg, #0c4a6e, #06b6d4);
}

.cat3d-body {
    padding: 14px 16px 16px;
}

.cat3d-name {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #0a0f2c;
    margin-bottom: 4px;
}

.cat3d-sub {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 10px;
}

.cat3d-count {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f0f4ff;
    color: #4338ca;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 20px;
}


/* ── SEC HEAD ── */

.sec-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.sec-head h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #0a0f2c;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sec-head h2 .line {
    width: 4px;
    height: 22px;
    border-radius: 2px;
    background: linear-gradient(180deg, #10b981, #06b6d4);
}


/* Map 3 */


/* TOPBAR */

.nr-topbar {
    background: #0a0f2c;
    padding: 0 20px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nr-topbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-back {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.75);
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: .2s;
    font-family: 'DM Sans', sans-serif;
    text-decoration: none;
}

.btn-back:hover {
    background: rgba(255, 255, 255, 0.14);
    color: white;
}

.nr-title {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: white;
}

.nr-title span {
    font-size: 11px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.4);
    margin-left: 5px;
}


/* lang btn */

.btn-lang {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(245, 158, 11, 0.18);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #fcd34d;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: .2s;
    font-family: 'DM Sans', sans-serif;
}

.btn-lang:hover {
    background: rgba(245, 158, 11, 0.3);
}


/* ══ MAIN ══ */

.nr-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0;
}


/* ── MAP + POINTS SECTION ── */

.nr-map-section {
    background: #0d1f2d;
    padding: 28px;
    position: relative;
    overflow: hidden;
}

.nr-map-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 100% at 50% 50%, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
}

.nr-map-inner {
    position: relative;
    z-index: 2;
}


/* river title strip */

.nr-river-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.nr-river-name-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nr-river-emoji {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #064e3b, #10b981);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.nr-river-title {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 2px;
}

.nr-river-sub {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
}

.nr-river-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.nr-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
}

.nrt-green {
    background: rgba(16, 185, 129, 0.2);
    color: #6ee7b7;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.nrt-blue {
    background: rgba(6, 182, 212, 0.2);
    color: #67e8f9;
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.nrt-amber {
    background: rgba(245, 158, 11, 0.2);
    color: #fcd34d;
    border: 1px solid rgba(245, 158, 11, 0.3);
}


/* MAP + POINTS ROW */

.nr-map-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 20px;
    align-items: start;
}

/* 3D map visual */

.nr-3dmap-visual {
    min-width: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 16px;
    padding: 14px;
    display: block;
    position: relative;
    overflow: hidden;
}

.nr-3dmap-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.nr-3d-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 3;
    background: linear-gradient(135deg, #059669, #10b981);
    color: white;
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
}

/* Map preview (single primary, no stretch / no double stack) */
.map3d-preview-wrap {
    position: relative;
    z-index: 2;
    width: 100%;
}

.map3d-preview-card {
    position: relative;
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 14px;
    overflow: hidden;
    background: #0b1224;
    cursor: zoom-in;
    text-align: center;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.map3d-preview-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 260px;
    max-height: min(52vh, 460px);
    background:
        linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px),
        #0b1224;
    background-size: 24px 24px, 24px 24px, auto;
    overflow: hidden;
}

.map3d-preview-img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: min(52vh, 460px);
    object-fit: contain;
    object-position: center;
}

.map3d-preview-cta {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(16, 185, 129, 0.45);
    color: #a7f3d0;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    pointer-events: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.map3d-preview-card:hover .map3d-preview-cta {
    background: #059669;
    color: #fff;
    border-color: #10b981;
}

.map3d-preview-thumbs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.map3d-preview-thumb {
    width: 64px;
    height: 48px;
    padding: 0;
    border-radius: 10px;
    border: 2px solid transparent;
    overflow: hidden;
    background: #0b1224;
    cursor: pointer;
}

.map3d-preview-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.map3d-preview-thumb.is-active,
.map3d-preview-thumb:hover {
    border-color: #10b981;
}

.nr-points-sidebar {
    width: 220px;
    max-width: 100%;
}

@media (max-width: 991.98px) {
    .nr-map-content {
        grid-template-columns: 1fr;
    }

    .nr-points-sidebar {
        width: 100%;
    }
}

/* Lightbox popup */
body.map3d-lightbox-open {
    overflow: hidden;
}

.map3d-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.map3d-lightbox[hidden] {
    display: none !important;
}

.map3d-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.86);
    backdrop-filter: blur(4px);
}

.map3d-lightbox__dialog {
    position: relative;
    z-index: 1;
    width: min(1180px, 100%);
    height: min(92vh, 900px);
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    overflow: hidden;
    background: #070b1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.map3d-lightbox__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 12px 14px;
    background: rgba(15, 23, 42, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.map3d-lightbox__title {
    color: #e2e8f0;
    font-size: 14px;
    font-weight: 700;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.map3d-lightbox__tools {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.map3d-zoom-btn {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.map3d-zoom-btn:hover {
    background: #10b981;
    color: #fff;
}

.map3d-zoom-btn--close:hover {
    background: #ef4444;
}

.map3d-zoom-level {
    min-width: 48px;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: #a7f3d0;
    font-family: 'Outfit', sans-serif;
}

.map3d-lightbox__stage-wrap {
    position: relative;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    background: #020617;
    touch-action: none;
    cursor: grab;
    user-select: none;
}

.map3d-lightbox__stage-wrap.is-dragging {
    cursor: grabbing;
}

.map3d-zoom-stage {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-origin: 0 0;
    will-change: transform;
}

.map3d-zoom-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    pointer-events: none;
    -webkit-user-drag: none;
    user-select: none;
}

.map3d-lightbox__hint {
    margin: 0;
    padding: 8px 14px 10px;
    text-align: center;
    font-size: 11px;
    color: #94a3b8;
    background: rgba(15, 23, 42, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

@media (max-width: 575.98px) {
    .map3d-lightbox {
        padding: 0;
    }

    .map3d-lightbox__dialog {
        width: 100%;
        height: 100%;
        border-radius: 0;
    }

    .map3d-preview-frame,
    .map3d-preview-img {
        max-height: min(42vh, 340px);
        min-height: 200px;
    }

    .map3d-preview-cta {
        font-size: 11px;
        padding: 7px 12px;
    }
}


/* animated river path */

.nr-river-path {
    position: absolute;
    z-index: 2;
    width: 80%;
    height: 3px;
    background: transparent;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
}


/* POINTS SIDEBAR */

.nr-points-sidebar {
    width: 220px;
    flex-shrink: 0;
}

.points-title {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.point-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.07);
    margin-bottom: 8px;
    cursor: pointer;
    transition: .2s;
}

.point-item:hover {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.25);
}

.point-item.active {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.4);
}

.point-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 3px;
}

.pd-green {
    background: #10b981;
    box-shadow: 0 0 6px rgba(16, 185, 129, 0.5);
}

.pd-blue {
    background: #06b6d4;
    box-shadow: 0 0 6px rgba(6, 182, 212, 0.5);
}

.pd-amber {
    background: #f59e0b;
    box-shadow: 0 0 6px rgba(245, 158, 11, 0.5);
}

.pd-red {
    background: #f43f5e;
    box-shadow: 0 0 6px rgba(244, 63, 94, 0.5);
}

.pd-purple {
    background: #8b5cf6;
    box-shadow: 0 0 6px rgba(139, 92, 246, 0.5);
}

.point-info h5 {
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}

.point-info p {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.4;
}


/* ── CONTENT SECTION ── */

.nr-content {
    padding: 28px;
}


/* SEC CARD */

.nr-sec-card {
    background: white;
    border: 1.5px solid #e8edf8;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 4px 20px rgba(10, 15, 44, 0.06);
    margin-bottom: 16px;
}

.nr-sec-title {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #0a0f2c;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.nr-sec-title .s-line {
    width: 4px;
    height: 20px;
    border-radius: 2px;
    background: linear-gradient(180deg, #10b981, #06b6d4);
}


/* PDF CARDS */

.pdf-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border: 1.5px solid #e8edf8;
    border-radius: 12px;
    margin-bottom: 10px;
    transition: .2s;
    cursor: pointer;
}

.pdf-item:hover {
    border-color: rgba(16, 185, 129, 0.3);
    background: #fafffe;
    transform: translateX(4px);
}

.pdf-item:last-child {
    margin-bottom: 0;
}

.pdf-item-icon {
    width: 44px;
    height: 52px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
}

.pi1 {
    background: linear-gradient(135deg, #059669, #10b981);
}

.pi2 {
    background: linear-gradient(135deg, #4338ca, #6366f1);
}

.pi3 {
    background: linear-gradient(135deg, #d97706, #f59e0b);
}

.pi4 {
    background: linear-gradient(135deg, #0284c7, #06b6d4);
}

.pi5 {
    background: linear-gradient(135deg, #7c3aed, #8b5cf6);
}

.pdf-item-info {
    flex: 1;
    min-width: 0;
}

.pdf-item-info h4 {
    font-size: 13px;
    font-weight: 600;
    color: #0a0f2c;
    margin-bottom: 2px;
}

.pdf-item-info p {
    font-size: 11px;
    color: #9ca3af;
}

.btn-pdf-open {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #ecfdf5;
    color: #059669;
    border: 1.5px solid rgba(16, 185, 129, 0.25);
    border-radius: 8px;
    padding: 7px 12px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: .2s;
    white-space: nowrap;
    font-family: 'DM Sans', sans-serif;
}

.btn-pdf-open:hover {
    background: #059669;
    color: white;
}

.map3d-pdf-view-only {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 10px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}


/* NOTES + TEST CARDS */

.action-big-card {
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all .3s;
    cursor: pointer;
    text-decoration: none;
    border: 1.5px solid transparent;
    height: 100%;
}

.action-big-card:hover {
    transform: translateY(-4px);
}

.abc-notes {
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    border-color: rgba(99, 102, 241, 0.25);
}

.abc-notes:hover {
    box-shadow: 0 12px 36px rgba(99, 102, 241, 0.15);
}

.abc-test {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border-color: rgba(16, 185, 129, 0.25);
}

.abc-test:hover {
    box-shadow: 0 12px 36px rgba(16, 185, 129, 0.15);
}

.abc-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.abc-notes .abc-icon {
    background: rgba(99, 102, 241, 0.15);
    color: #4338ca;
}

.abc-test .abc-icon {
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
}

.abc-text h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #0a0f2c;
}

.abc-text p {
    font-size: 12px;
    color: #6b7280;
}

.abc-arrow {
    margin-left: auto;
    color: #9ca3af;
}


/* SESSION BANNER */

.session-banner {
    background: #0a0f2c;
    border-radius: 18px;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
    margin-bottom: 16px;
}

.session-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 100% at 10% 50%, rgba(16, 185, 129, 0.15) 0%, transparent 65%), radial-gradient(ellipse 40% 80% at 90% 30%, rgba(99, 102, 241, 0.15) 0%, transparent 65%);
}

.session-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 48px 48px;
}

.session-banner-left {
    position: relative;
    z-index: 2;
}

.sb-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 10px;
}

.sb-badge span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #10b981;
    animation: blink 1.4s infinite;
}

@keyframes blink {
    0%,
    100% {
        opacity: 1
    }
    50% {
        opacity: 0.2
    }
}

.sb-title {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}

.sb-title em {
    font-style: normal;
    background: linear-gradient(90deg, #10b981, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sb-sub {
    font-size: 13px;
    color: #94a3b8;
}

.session-banner-right {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}


/* teacher avatars */

.teacher-avatars {
    display: flex;
    gap: -8px;
}

.t-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #0a0f2c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: white;
    margin-left: -8px;
}

.t-avatar:first-child {
    margin-left: 0;
}

.btn-join-session {
    display: flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 11px 22px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: .2s;
    white-space: nowrap;
}

.btn-join-session:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.4);
}


/* TOPBAR */

.ab-topbar {
    background: #0a0f2c;
    padding: 0 20px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
}

.ab-topbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-back {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.75);
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: .2s;
    font-family: 'DM Sans', sans-serif;
    text-decoration: none;
}

.btn-back:hover {
    background: rgba(255, 255, 255, 0.14);
    color: white;
}

.ab-nav-title {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: white;
}


/* SUCCESS BANNER */

.success-banner {
    background: linear-gradient(135deg, #064e3b, #065f46, #059669);
    padding: 28px 0 32px;
    position: relative;
    overflow: hidden;
}

.success-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

.success-banner .container {
    position: relative;
    z-index: 2;
}

.sb-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 12px;
}

.sb-title {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}

.sb-sub {
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
}

.batch-info-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.bip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.85);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}


/* MAIN */

.ab-main {
    padding: 28px 0 80px;
}


/* LIVE SESSION CARD */

.live-session-big {
    background: #0a0f2c;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
}

.live-session-big::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 100% at 20% 50%, rgba(244, 63, 94, 0.15) 0%, transparent 65%);
}

.lsb-inner {
    position: relative;
    z-index: 2;
    padding: 24px;
}

.lsb-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}

.lsb-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(244, 63, 94, 0.2);
    border: 1px solid rgba(244, 63, 94, 0.4);
    color: #fda4af;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    animation: blink 1.4s infinite;
}

.lsb-badge span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #f43f5e;
}

@keyframes blink {
    0%,
    100% {
        opacity: 1
    }
    50% {
        opacity: 0.2
    }
}

.lsb-session-num {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
}

.lsb-session-num strong {
    color: #fff;
}

.lsb-title {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
}

.lsb-caption {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 18px;
    line-height: 1.5;
}

.lsb-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 18px;
}

.lsb-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
}

.lsb-meta-item strong {
    color: #fff;
}

.btn-join-live {
    display: flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(135deg, #f43f5e, #db2777);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: .2s;
    text-decoration: none;
}

.btn-join-live:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(244, 63, 94, 0.4);
    color: white;
}


/* SESSION LIST CARD */

.sessions-card {
    background: white;
    border: 1.5px solid #e8edf8;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(10, 15, 44, 0.06);
}

.sessions-card-head {
    padding: 18px 20px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.sessions-card-head h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #0a0f2c;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sessions-card-head h3 .sl {
    width: 4px;
    height: 18px;
    border-radius: 2px;
    background: linear-gradient(180deg, #f43f5e, #f59e0b);
}


/* filter tabs */

.session-tabs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.s-tab {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    border: 1.5px solid #e8edf8;
    background: white;
    color: #6b7280;
    cursor: pointer;
    transition: .2s;
}

.s-tab:hover,
.s-tab.active {
    background: #0a0f2c;
    border-color: #0a0f2c;
    color: white;
}


/* SESSION ROW */

.session-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    border-bottom: 1px solid #f8faff;
    transition: .2s;
    cursor: pointer;
}

.session-row:hover {
    background: #fafbff;
}

.session-row:last-child {
    border-bottom: none;
}

.sr-num {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 800;
    flex-shrink: 0;
}

.sr-num.live {
    background: rgba(244, 63, 94, 0.12);
    color: #f43f5e;
    border: 1.5px solid rgba(244, 63, 94, 0.25);
}

.sr-num.watched {
    background: #ecfdf5;
    color: #059669;
    border: 1.5px solid rgba(16, 185, 129, 0.25);
}

.sr-num.locked {
    background: #f8faff;
    color: #9ca3af;
    border: 1.5px solid #e8edf8;
}

.sr-num.new {
    background: #eef2ff;
    color: #4338ca;
    border: 1.5px solid rgba(67, 56, 202, 0.2);
}

.sr-body {
    flex: 1;
    min-width: 0;
}

.sr-title {
    font-size: 14px;
    font-weight: 600;
    color: #0a0f2c;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sr-caption {
    font-size: 12px;
    color: #6b7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sr-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.sr-date {
    font-size: 11px;
    color: #9ca3af;
}

.sr-duration {
    font-size: 11px;
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 3px;
}

.sr-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
}

.sts-live {
    background: rgba(244, 63, 94, 0.1);
    color: #f43f5e;
    animation: blink 1.4s infinite;
}

.sts-watched {
    background: #ecfdf5;
    color: #059669;
}

.sts-new {
    background: #eef2ff;
    color: #4338ca;
}

.sts-locked {
    background: #f8faff;
    color: #9ca3af;
}

.btn-session-action {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: .2s;
    text-decoration: none;
    flex-shrink: 0;
}

.bsa-join {
    background: linear-gradient(135deg, #f43f5e, #db2777);
    color: white;
}

.bsa-join:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(244, 63, 94, 0.35);
    color: white;
}

.bsa-watch {
    background: #eef2ff;
    color: #4338ca;
}

.bsa-watch:hover {
    background: #4338ca;
    color: white;
}

.bsa-locked {
    background: #f8faff;
    color: #9ca3af;
    cursor: not-allowed;
}


/* TOPBAR */

.tp-topbar {
    background: #0a0f2c;
    padding: 0 20px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
}

.tp-topbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-back {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.75);
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: .2s;
    font-family: 'DM Sans', sans-serif;
    text-decoration: none;
}

.btn-back:hover {
    background: rgba(255, 255, 255, 0.14);
    color: white;
}

.tp-nav-title {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: white;
}


/* HERO */

.tp-hero {
    background: #0a0f2c;
    padding: 40px 0 44px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.tp-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 80% at 20% 50%, rgba(99, 102, 241, 0.2) 0%, transparent 65%), radial-gradient(ellipse 40% 70% at 80% 30%, rgba(245, 158, 11, 0.15) 0%, transparent 60%);
}

.tp-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 48px 48px;
}

.tp-hero .container {
    position: relative;
    z-index: 2;
}

.tp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(99, 102, 241, 0.18);
    border: 1px solid rgba(99, 102, 241, 0.35);
    color: #a5b4fc;
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.tp-hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(24px, 3.5vw, 40px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
}

.tp-hero h1 em {
    font-style: normal;
    background: linear-gradient(90deg, #6366f1, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tp-hero p {
    color: #94a3b8;
    font-size: 14px;
    max-width: 480px;
    margin: 0 auto;
}


/* MAIN */

.tp-main {
    padding: 40px 0 80px;
}


/* TEACHER BANNER CARD — FULL WIDTH BIG */

.teacher-banner {
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
    min-height: 200px;
    display: flex;
    align-items: stretch;
    transition: all .3s;
    cursor: pointer;
}

.teacher-banner:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 56px rgba(10, 15, 44, 0.16);
}


/* background gradient per teacher */

.tb1 {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 40%, #4338ca 100%);
}

.tb2 {
    background: linear-gradient(135deg, #064e3b 0%, #065f46 40%, #059669 100%);
}

.tb3 {
    background: linear-gradient(135deg, #78350f 0%, #92400e 40%, #d97706 100%);
}

.tb4 {
    background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 40%, #dc2626 100%);
}


/* grid texture overlay */

.teacher-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 36px 36px;
    z-index: 1;
}


/* glow effect right side */

.teacher-banner::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 40%;
    background: radial-gradient(ellipse at right center, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    z-index: 1;
}

.tb-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 28px 32px;
    gap: 24px;
    flex-wrap: wrap;
}


/* avatar section */

.tb-avatar-wrap {
    flex-shrink: 0;
    position: relative;
}

.tb-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: white;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.tb-exp-badge {
    position: absolute;
    bottom: -4px;
    right: -4px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    white-space: nowrap;
}


/* info section */

.tb-info {
    flex: 1;
    min-width: 200px;
}

.tb-name {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}

.tb-designation {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 12px;
}


/* subject tags */

.tb-subjects {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.tb-subj {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
}


/* stats row */

.tb-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.tb-stat {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.tb-stat strong {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 1px;
}


/* quote */

.tb-quote {
    flex: 1;
    min-width: 200px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
}

.tb-quote-text {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.55;
    font-style: italic;
}

.tb-quote-text::before {
    content: '"';
    font-size: 24px;
    color: rgba(255, 255, 255, 0.3);
    line-height: 0;
    vertical-align: -8px;
    margin-right: 4px;
}

.btn-view-teacher {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
    padding: 9px 18px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: .2s;
    text-decoration: none;
    width: fit-content;
}

.btn-view-teacher:hover {
    background: rgba(255, 255, 255, 0.25);
    color: white;
}


/* SEC HEAD */

.tp-sec-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.tp-sec-head h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #0a0f2c;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tp-sec-head h2 .line {
    width: 4px;
    height: 22px;
    border-radius: 2px;
    background: linear-gradient(180deg, #4338ca, #06b6d4);
}


/* Exam */


/* ══ HERO ══ */

.ed-hero {
    background: #0a0f2c;
    padding: 48px 0 52px;
    position: relative;
    overflow: hidden;
}

.ed-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 80% at 5% 50%, rgba(245, 158, 11, 0.18) 0%, transparent 65%), radial-gradient(ellipse 40% 60% at 92% 20%, rgba(99, 102, 241, 0.2) 0%, transparent 60%), radial-gradient(ellipse 30% 50% at 55% 95%, rgba(16, 185, 129, 0.12) 0%, transparent 60%);
}

.ed-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 48px 48px;
}

.ed-hero .container {
    position: relative;
    z-index: 2;
}


/* breadcrumb */

.ed-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
}

.ed-breadcrumb a {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    transition: color .2s;
}

.ed-breadcrumb a:hover {
    color: #f59e0b;
}

.ed-breadcrumb .sep {
    font-size: 10px;
}

.ed-breadcrumb .current {
    color: #f59e0b;
    font-weight: 600;
}

.ed-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(245, 158, 11, 0.18);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: #fcd34d;
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.ed-hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(22px, 3.5vw, 38px);
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 10px;
}

.ed-hero h1 em {
    font-style: normal;
    background: linear-gradient(90deg, #f59e0b, #f43f5e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ed-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 20px;
}

.ed-hero-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.ed-hero-meta-item strong {
    color: #fff;
    font-weight: 600;
}


/* progress bar in hero */

.ed-hero-progress {
    max-width: 420px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
}

.ed-hero-progress-head {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
}

.ed-hero-progress-head span:last-child {
    color: #f59e0b;
    font-weight: 700;
}

.ed-prog-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.ed-prog-fill {
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, #f59e0b, #f43f5e);
    width: 33%;
    transition: width 1s ease;
}


/* ══ MAIN ══ */

.ed-main {
    padding: 48px 0 80px;
}


/* ── WARNING BANNER ── */

.ed-warning {
    background: linear-gradient(135deg, #1a0f00, #2d1a00);
    border: 1.5px solid rgba(245, 158, 11, 0.35);
    border-radius: 14px;
    padding: 16px 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 32px;
}

.ed-warning-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 10px;
    background: rgba(245, 158, 11, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f59e0b;
}

.ed-warning-text h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #fcd34d;
    margin-bottom: 4px;
}

.ed-warning-text p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.5;
}

.ed-warning-text p strong {
    color: #f59e0b;
}


/* ── SECTION HEAD ── */

.ed-sec-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.ed-sec-head h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #0a0f2c;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ed-sec-head h2 .line {
    width: 4px;
    height: 20px;
    border-radius: 2px;
    background: linear-gradient(180deg, #f59e0b, #f43f5e);
}

.ed-count-pill {
    background: #fef3c7;
    color: #d97706;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
}


/* ── PDF CARD ── */

.pdf-card {
    background: #fff;
    border: 1.5px solid #e8edf8;
    border-radius: 18px;
    overflow: hidden;
    transition: all .3s cubic-bezier(.4, 0, .2, 1);
    height: 100%;
}

.pdf-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 44px rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.3);
}

.pdf-card.opened {
    border-color: rgba(16, 185, 129, 0.3);
    background: #fafffe;
}

.pdf-card.opened:hover {
    box-shadow: 0 16px 44px rgba(16, 185, 129, 0.1);
}

.pdf-card.locked {
    border-color: rgba(156, 163, 175, 0.4);
    background: #fafafa;
    opacity: 0.75;
}


/* card top strip */

.pdf-card-strip {
    height: 6px;
    background: linear-gradient(90deg, #f59e0b, #f43f5e);
}

.pdf-card.opened .pdf-card-strip {
    background: linear-gradient(90deg, #10b981, #06b6d4);
}

.pdf-card.locked .pdf-card-strip {
    background: linear-gradient(90deg, #9ca3af, #6b7280);
}

.pdf-card-body {
    padding: 20px;
}


/* icon + title row */

.pdf-card-top-row {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 14px;
}

.pdf-file-icon {
    width: 52px;
    height: 62px;
    flex-shrink: 0;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 800;
    color: white;
    letter-spacing: 0.3px;
    position: relative;
    gap: 4px;
}

.pdf-file-icon::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 12px 12px 0;
    border-color: transparent rgba(255, 255, 255, 0.3) transparent transparent;
}

.pdf-file-icon.red {
    background: linear-gradient(135deg, #f43f5e, #db2777);
}

.pdf-file-icon.blue {
    background: linear-gradient(135deg, #4338ca, #6366f1);
}

.pdf-file-icon.green {
    background: linear-gradient(135deg, #059669, #10b981);
}

.pdf-file-icon.amber {
    background: linear-gradient(135deg, #d97706, #f59e0b);
}

.pdf-file-icon.purple {
    background: linear-gradient(135deg, #7c3aed, #8b5cf6);
}

.pdf-file-icon.cyan {
    background: linear-gradient(135deg, #0284c7, #06b6d4);
}

.pdf-file-icon.gray {
    background: linear-gradient(135deg, #6b7280, #9ca3af);
}

.pdf-card-info {
    flex: 1;
    min-width: 0;
}

.pdf-exam-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 6px;
    background: #eef2ff;
    color: #4338ca;
}

.pdf-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #0a0f2c;
    margin-bottom: 5px;
    line-height: 1.4;
}

.pdf-card-sub {
    font-size: 12px;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 5px;
}


/* meta pills row */

.pdf-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.pdf-meta-pill {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #f8faff;
    border: 1px solid #e8edf8;
    border-radius: 8px;
    padding: 5px 10px;
    font-size: 11px;
    color: #374151;
    font-weight: 500;
}


/* status badge */

.pdf-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.pdf-status.not-opened {
    background: #fef3c7;
    color: #d97706;
}

.pdf-status.opened {
    background: #ecfdf5;
    color: #059669;
}

.pdf-status.locked {
    background: #f1f5f9;
    color: #6b7280;
}

.pdf-status .s-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}


/* one-time badge */

.one-time-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(244, 63, 94, 0.08);
    border: 1px solid rgba(244, 63, 94, 0.25);
    color: #f43f5e;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 14px;
    margin-left: 6px;
}


/* action button */

.btn-open-pdf {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    padding: 11px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all .25s;
    font-family: 'DM Sans', sans-serif;
    text-decoration: none;
}

.btn-open-pdf.available {
    background: linear-gradient(135deg, #f59e0b, #f43f5e);
    color: white;
}

.btn-open-pdf.available:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
    color: white;
}

.btn-open-pdf.already-opened {
    background: linear-gradient(135deg, #059669, #10b981);
    color: white;
}

.btn-open-pdf.already-opened:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
    color: white;
}

.btn-open-pdf.locked-btn {
    background: #f1f5f9;
    color: #9ca3af;
    cursor: not-allowed;
}

.btn-open-pdf.limit-reached {
    background: #fef2f2;
    color: #dc2626;
    border: 1.5px solid #fecaca;
    cursor: not-allowed;
}

.btn-open-pdf.upgrade {
    background: linear-gradient(135deg, #4338ca, #6366f1);
    color: white;
}

.btn-open-pdf.upgrade:hover {
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(67, 56, 202, 0.35);
}


/* ── CONFIRM MODAL ── */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 15, 44, 0.7);
    backdrop-filter: blur(6px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
}

.modal-overlay.show {
    opacity: 1;
    pointer-events: all;
}

.modal-box {
    background: #fff;
    border-radius: 24px;
    max-width: 420px;
    width: 100%;
    overflow: hidden;
    transform: translateY(20px) scale(0.97);
    transition: transform .3s cubic-bezier(.4, 0, .2, 1);
    box-shadow: 0 32px 80px rgba(10, 15, 44, 0.25);
}

.modal-overlay.show .modal-box {
    transform: translateY(0) scale(1);
}

.modal-top {
    background: linear-gradient(135deg, #1a0f00, #2d1a00);
    padding: 28px 28px 24px;
    text-align: center;
    position: relative;
}

.modal-warn-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: rgba(245, 158, 11, 0.2);
    border: 2px solid rgba(245, 158, 11, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f59e0b;
    margin: 0 auto 16px;
    font-size: 28px;
}

.modal-top h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
}

.modal-top p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
}

.modal-body {
    padding: 24px 28px;
}

.modal-pdf-preview {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #f8faff;
    border: 1.5px solid #e8edf8;
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 18px;
}

.modal-pdf-preview .m-icon {
    width: 44px;
    height: 52px;
    border-radius: 8px;
    background: linear-gradient(135deg, #f59e0b, #f43f5e);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 800;
    flex-shrink: 0;
}

.modal-pdf-preview .m-info h4 {
    font-size: 13px;
    font-weight: 700;
    color: #0a0f2c;
    margin-bottom: 3px;
}

.modal-pdf-preview .m-info p {
    font-size: 11px;
    color: #9ca3af;
}

.modal-rules {
    background: #fff9f0;
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 20px;
}

.modal-rules li {
    font-size: 12px;
    color: #374151;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
    line-height: 1.5;
}

.modal-rules li:last-child {
    margin-bottom: 0;
}

.modal-rules li .r-ico {
    color: #f59e0b;
    flex-shrink: 0;
    margin-top: 1px;
}

.modal-actions {
    display: flex;
    gap: 10px;
}

.btn-cancel {
    flex: 1;
    padding: 12px;
    border-radius: 10px;
    background: #f1f5f9;
    color: #6b7280;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: .2s;
}

.btn-cancel:hover {
    background: #e2e8f0;
}

.btn-confirm {
    flex: 2;
    padding: 12px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f59e0b, #f43f5e);
    color: white;
    border: none;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: all .25s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.btn-confirm:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}


/* Mock test */


/* HERO */

.mq-hero {
    background: #0a0f2c;
    padding: 44px 0 50px;
    position: relative;
    overflow: hidden;
}

.mq-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 80% at 5% 50%, rgba(16, 185, 129, 0.2) 0%, transparent 65%), radial-gradient(ellipse 35% 60% at 90% 20%, rgba(245, 158, 11, 0.18) 0%, transparent 60%);
}

.mq-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 48px 48px;
}

.mq-hero .container {
    position: relative;
    z-index: 2;
}

.mq-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.18);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #6ee7b7;
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.mq-hero-badge span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    animation: blink 1.4s infinite;
}

@keyframes blink {
    0%,
    100% {
        opacity: 1
    }
    50% {
        opacity: 0.2
    }
}

.mq-hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(24px, 3.5vw, 40px);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 8px;
}

.mq-hero h1 em {
    font-style: normal;
    background: linear-gradient(90deg, #10b981, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mq-hero p {
    color: #94a3b8;
    font-size: 14px;
    margin-bottom: 0;
}

.mq-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 22px;
}

.mq-stat {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.mq-stat strong {
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 700;
    display: block;
}


/* SEARCH */

.mq-search {
    position: relative;
    max-width: 500px;
    margin-top: 22px;
}

.mq-search input {
    width: 100%;
    height: 48px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0 130px 0 48px;
    font-size: 14px;
    font-family: 'DM Sans', sans-serif;
    background: rgba(255, 255, 255, 0.09);
    color: #fff;
    backdrop-filter: blur(10px);
    outline: none;
    transition: .3s;
}

.mq-search input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.mq-search input:focus {
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.mq-search .s-ico {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.4);
}

.mq-search .btn-search {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    border-radius: 24px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: .2s;
}

.mq-search .btn-search:hover {
    transform: translateY(-50%) scale(1.04);
}


/* MAIN */

.mq-main {
    padding: 40px 0 80px;
}


/* FILTER TABS */

.mq-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.mq-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: white;
    border: 1.5px solid #e8edf8;
    color: #374151;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: .25s;
}

.mq-tab:hover,
.mq-tab.active {
    background: #0a0f2c;
    border-color: #0a0f2c;
    color: white;
}


/* SECTION HEAD */

.mq-sec-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.mq-sec-head h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #0a0f2c;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mq-sec-head h2 .line {
    width: 4px;
    height: 20px;
    border-radius: 2px;
    background: linear-gradient(180deg, #10b981, #f59e0b);
}


/* TEST CARD */

.test-card {
    background: white;
    border: 1.5px solid #e8edf8;
    border-radius: 18px;
    overflow: hidden;
    transition: all .3s cubic-bezier(.4, 0, .2, 1);
    height: 100%;
}

.test-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 44px rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.3);
}

.test-card-top {
    height: 90px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.test-card-top .top-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    z-index: 1;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(6px);
}

.tc1 {
    background: linear-gradient(135deg, #059669, #10b981);
}

.tc2 {
    background: linear-gradient(135deg, #4338ca, #6366f1);
}

.tc3 {
    background: linear-gradient(135deg, #d97706, #f59e0b);
}

.tc4 {
    background: linear-gradient(135deg, #db2777, #f472b6);
}

.tc5 {
    background: linear-gradient(135deg, #0284c7, #06b6d4);
}

.tc6 {
    background: linear-gradient(135deg, #7c3aed, #8b5cf6);
}

.tc-live-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #f43f5e;
    color: white;
    font-size: 9px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    animation: blink 1.4s infinite;
    z-index: 2;
}

.tc-new-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.25);
    color: white;
    font-size: 9px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    z-index: 2;
    backdrop-filter: blur(4px);
}

.test-card-body {
    padding: 14px 16px 16px;
}

.tc-exam-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 8px;
    background: #eef2ff;
    color: #4338ca;
}

.tc-title {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #0a0f2c;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tc-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.tc-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #9ca3af;
}

.tc-meta-item strong {
    color: #374151;
    font-weight: 600;
}


/* difficulty pill */

.tc-diff {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.diff-easy {
    background: #ecfdf5;
    color: #059669;
}

.diff-medium {
    background: #fef3c7;
    color: #d97706;
}

.diff-hard {
    background: #fff1f2;
    color: #e11d48;
}

.btn-start-test {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: all .25s;
    text-decoration: none;
}

.btn-start-test.green {
    background: linear-gradient(135deg, #059669, #10b981);
    color: white;
}

.btn-start-test.green:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
    color: white;
}

.btn-start-test.blue {
    background: linear-gradient(135deg, #4338ca, #6366f1);
    color: white;
}

.btn-start-test.blue:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(67, 56, 202, 0.35);
    color: white;
}


/* QUIZ GAME SECTION */

.quiz-game-card {
    background: white;
    border: 1.5px solid #e8edf8;
    border-radius: 18px;
    overflow: hidden;
    transition: all .3s;
    height: 100%;
}

.quiz-game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 40px rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.3);
}

.qg-top {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
}

.qg-emoji {
    font-size: 32px;
    position: relative;
    z-index: 1;
}

.qg-title {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: white;
    position: relative;
    z-index: 1;
}

.qg-body {
    padding: 14px 16px 16px;
}

.qg-name {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #0a0f2c;
    margin-bottom: 4px;
}

.qg-sub {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 12px;
}

.qg-stats {
    display: flex;
    gap: 14px;
    margin-bottom: 12px;
}

.qg-stat-item {
    font-size: 11px;
    color: #9ca3af;
}

.qg-stat-item strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #0a0f2c;
    font-family: 'Outfit', sans-serif;
}

.btn-play {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: all .25s;
    text-decoration: none;
}

.btn-play.amber {
    background: linear-gradient(135deg, #d97706, #f59e0b);
    color: white;
}

.btn-play.amber:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
    color: white;
}

.btn-play.pink {
    background: linear-gradient(135deg, #db2777, #f472b6);
    color: white;
}

.btn-play.pink:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(244, 114, 182, 0.35);
    color: white;
}

.btn-play.cyan {
    background: linear-gradient(135deg, #0284c7, #06b6d4);
    color: white;
}

.btn-play.cyan:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(6, 182, 212, 0.35);
    color: white;
}


/* MOCK TEST */


/* TOPBAR */

.ts-topbar {
    background: #0a0f2c;
    padding: 0 20px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
}

.ts-topbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ts-test-name {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: white;
}

.ts-test-name span {
    font-size: 11px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.4);
    margin-left: 5px;
}

.ts-timer {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(244, 63, 94, 0.18);
    border: 1px solid rgba(244, 63, 94, 0.35);
    color: #fda4af;
    font-size: 13px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 20px;
    font-family: 'Outfit', sans-serif;
}

.ts-timer.warning {
    background: rgba(244, 63, 94, 0.3);
    color: #f43f5e;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%,
    100% {
        opacity: 1
    }
    50% {
        opacity: 0.6
    }
}

.btn-submit-top {
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #059669, #10b981);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: .2s;
}

.btn-submit-top:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}


/* MAIN LAYOUT */

.ts-wrap {
    max-width: 1100px;
    margin: 28px auto;
    padding: 0 16px 60px;
}


/* TOP INFO BAR */

.ts-info-bar {
    background: white;
    border: 1.5px solid #e8edf8;
    border-radius: 14px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(10, 15, 44, 0.05);
}

.ts-info-item {
    font-size: 12px;
    color: #9ca3af;
}

.ts-info-item strong {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #0a0f2c;
}

.ts-info-item.green strong {
    color: #059669;
}

.ts-info-item.red strong {
    color: #f43f5e;
}

.ts-info-item.amber strong {
    color: #d97706;
}


/* MAIN ROW */


/* QUESTION PANEL */

.q-panel {
    background: white;
    border: 1.5px solid #e8edf8;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(10, 15, 44, 0.06);
    margin-bottom: 16px;
}

.q-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.q-num-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #eef2ff;
    color: #4338ca;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
}

.q-marks-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #ecfdf5;
    color: #059669;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}

.q-text {
    font-family: 'Outfit', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #0a0f2c;
    line-height: 1.55;
    margin-bottom: 22px;
}


/* options */

.q-option {
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1.5px solid #e8edf8;
    border-radius: 12px;
    padding: 13px 16px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all .2s;
    background: white;
    font-size: 14px;
    color: #374151;
    font-weight: 500;
}

.q-option:hover {
    border-color: #6366f1;
    background: #f8faff;
}

.q-option.selected {
    border-color: #4338ca;
    background: #eef2ff;
    color: #4338ca;
}

.q-option.correct {
    border-color: #10b981;
    background: #ecfdf5;
    color: #059669;
}

.q-option.wrong {
    border-color: #f43f5e;
    background: #fff1f2;
    color: #e11d48;
}

.opt-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    background: #f0f4ff;
    color: #4338ca;
    border: 1.5px solid #e8edf8;
    transition: .2s;
}

.q-option.selected .opt-circle {
    background: #4338ca;
    color: white;
    border-color: #4338ca;
}

.q-option.correct .opt-circle {
    background: #10b981;
    color: white;
    border-color: #10b981;
}

.q-option.wrong .opt-circle {
    background: #f43f5e;
    color: white;
    border-color: #f43f5e;
}

/* ========== 3D MAP PRACTICE (professional) ========== */
.map3d-practice {
    background: linear-gradient(180deg, #f4f7fb 0%, #eef2f7 100%);
    min-height: 70vh;
    padding-bottom: 48px;
}

.map3d-prac-topbar {
    background: #0b1224;
    color: #fff;
    padding: 18px 0 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.map3d-prac-topbar-inner {
    width: min(1140px, calc(100% - 32px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.map3d-prac-top-left {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
}

.map3d-prac-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    white-space: nowrap;
}

.map3d-prac-back:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
}

.map3d-prac-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #67e8f9;
    margin-bottom: 4px;
}

.map3d-prac-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(18px, 2.2vw, 26px);
    font-weight: 750;
    margin: 0 0 8px;
    line-height: 1.25;
    color: #fff;
}

.map3d-prac-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 600;
}

.map3d-prac-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.map3d-prac-timer {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 14px;
    padding: 10px 14px;
    min-width: 128px;
}

.map3d-prac-timer.is-warning {
    border-color: rgba(244, 63, 94, 0.55);
    background: rgba(127, 29, 29, 0.35);
}

.map3d-prac-timer-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
    font-weight: 700;
}

.map3d-prac-timer-value {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #a7f3d0;
    line-height: 1;
}

.map3d-prac-timer.is-warning .map3d-prac-timer-value {
    color: #fecdd3;
}

.map3d-prac-shell {
    width: min(1140px, 100%);
    padding-top: 24px;
}

.map3d-prac-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.map3d-prac-stat {
    background: #fff;
    border: 1px solid #e5eaf3;
    border-radius: 14px;
    padding: 14px 12px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.map3d-prac-stat strong {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
}

.map3d-prac-stat span {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
}

.map3d-prac-stat.is-answered strong { color: #059669; }
.map3d-prac-stat.is-pending strong { color: #e11d48; }
.map3d-prac-stat.is-skipped strong { color: #d97706; }
.map3d-prac-stat.is-total strong { color: #1d4ed8; }

.map3d-prac-progress {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.map3d-prac-progress-track {
    flex: 1;
    height: 8px;
    border-radius: 999px;
    background: #dbe3f0;
    overflow: hidden;
}

.map3d-prac-progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #0ea5e9, #10b981);
    border-radius: 999px;
    transition: width .25s ease;
}

.map3d-prac-progress-label {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    white-space: nowrap;
}

.map3d-prac-panel,
.map3d-prac-side-card,
.map3d-result-hero,
.map3d-review-panel {
    background: #fff;
    border: 1px solid #e5eaf3;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.map3d-prac-panel {
    padding: 22px;
}

.map3d-prac-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.map3d-prac-qbadge,
.map3d-prac-marks {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
}

.map3d-prac-qbadge {
    background: #eef2ff;
    color: #3730a3;
}

.map3d-prac-marks {
    background: #ecfdf5;
    color: #047857;
}

.map3d-prac-qtext {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 650;
    color: #0f172a;
    line-height: 1.45;
    margin-bottom: 18px;
}

.map3d-prac-options {
    display: grid;
    gap: 10px;
}

.map3d-prac-option,
.map3d-review-opt {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    text-align: left;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 14px;
    background: #fff;
    color: #334155;
    font-size: 14px;
    font-weight: 500;
    transition: .18s ease;
}

.map3d-prac-option {
    cursor: pointer;
}

.map3d-prac-option:hover {
    border-color: #93c5fd;
    background: #f8fbff;
}

.map3d-prac-option.is-selected {
    border-color: #2563eb;
    background: #eff6ff;
    color: #1e40af;
}

.map3d-prac-opt-key {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #e2e8f0;
}

.map3d-prac-option.is-selected .map3d-prac-opt-key {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

.map3d-prac-opt-text {
    flex: 1;
    line-height: 1.4;
}

.map3d-prac-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #eef2f7;
    flex-wrap: wrap;
}

.map3d-prac-nav-left {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.map3d-prac-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 11px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    transition: .18s ease;
}

.map3d-prac-btn.is-ghost {
    background: #fff;
    border-color: #dbe3f0;
    color: #475569;
}

.map3d-prac-btn.is-ghost:hover {
    background: #f8fafc;
}

.map3d-prac-btn.is-amber {
    background: #fffbeb;
    border-color: #fcd34d;
    color: #b45309;
}

.map3d-prac-btn.is-primary {
    background: #0f172a;
    color: #fff;
}

.map3d-prac-btn.is-primary:hover {
    background: #1e293b;
    color: #fff;
}

.map3d-prac-btn.is-outline {
    background: #fff;
    border-color: #93c5fd;
    color: #1d4ed8;
}

.map3d-prac-side {
    display: grid;
    gap: 14px;
}

.map3d-prac-side-card {
    padding: 16px;
}

.map3d-prac-side-title {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 750;
    color: #0f172a;
    margin-bottom: 10px;
}

.map3d-prac-side-note {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 12px;
    line-height: 1.45;
}

.map3d-prac-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 11px;
    font-weight: 650;
    color: #64748b;
}

.map3d-prac-legend span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.map3d-prac-legend .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.map3d-prac-legend .dot.is-current { background: #2563eb; }
.map3d-prac-legend .dot.is-answered { background: #10b981; }
.map3d-prac-legend .dot.is-skipped { background: #f59e0b; }

.map3d-prac-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
}

.map3d-prac-grid-btn {
    height: 38px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #475569;
    font-weight: 750;
    font-size: 13px;
    cursor: pointer;
}

.map3d-prac-grid-btn.is-current {
    border-color: #2563eb;
    background: #2563eb;
    color: #fff;
}

.map3d-prac-grid-btn.is-answered {
    border-color: #6ee7b7;
    background: #ecfdf5;
    color: #047857;
}

.map3d-prac-grid-btn.is-skipped {
    border-color: #fcd34d;
    background: #fffbeb;
    color: #b45309;
}

.map3d-prac-submit {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 12px;
    padding: 13px 16px;
    background: linear-gradient(135deg, #059669, #0d9488);
    color: #fff;
    font-weight: 750;
    font-size: 14px;
    cursor: pointer;
}

.map3d-prac-submit:hover {
    filter: brightness(1.05);
}

.map3d-result-hero {
    text-align: center;
    padding: 28px 22px;
    margin-bottom: 18px;
}

.map3d-result-badge {
    display: inline-flex;
    padding: 5px 12px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.map3d-result-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px;
}

.map3d-result-sub {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 20px;
}

.map3d-result-cards {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.map3d-result-card {
    border-radius: 14px;
    padding: 14px 10px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}

.map3d-result-num {
    font-family: 'Outfit', sans-serif;
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 6px;
}

.map3d-result-label {
    font-size: 12px;
    font-weight: 650;
    color: #64748b;
}

.map3d-result-card.is-correct { background: #ecfdf5; border-color: #a7f3d0; }
.map3d-result-card.is-correct .map3d-result-num { color: #047857; }
.map3d-result-card.is-wrong { background: #fff1f2; border-color: #fecdd3; }
.map3d-result-card.is-wrong .map3d-result-num { color: #be123c; }
.map3d-result-card.is-skipped { background: #fffbeb; border-color: #fde68a; }
.map3d-result-card.is-skipped .map3d-result-num { color: #b45309; }
.map3d-result-card.is-score { background: #eff6ff; border-color: #bfdbfe; }
.map3d-result-card.is-score .map3d-result-num { color: #1d4ed8; }
.map3d-result-card.is-accuracy { background: #f5f3ff; border-color: #ddd6fe; }
.map3d-result-card.is-accuracy .map3d-result-num { color: #6d28d9; }

.map3d-result-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.map3d-review-panel {
    padding: 20px;
}

.map3d-review-toolbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.map3d-review-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: #0f172a;
    font-size: 20px;
    margin: 0 0 4px;
}

.map3d-review-desc {
    margin: 0;
    color: #64748b;
    font-size: 13px;
}

.map3d-review-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.map3d-review-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 11px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #64748b;
}

.map3d-review-chip.is-correct {
    border-color: #a7f3d0;
    background: #ecfdf5;
    color: #047857;
}

.map3d-review-chip.is-wrong {
    border-color: #fecdd3;
    background: #fff1f2;
    color: #be123c;
}

.map3d-review-chip.is-skip {
    border-color: #fde68a;
    background: #fffbeb;
    color: #b45309;
}

.map3d-review-card {
    text-align: left;
    border: 1px solid #e8edf8;
    border-radius: 16px;
    padding: 16px 18px;
    margin-bottom: 14px;
    background: #fff;
}

.map3d-review-card.is-correct { border-color: #a7f3d0; }
.map3d-review-card.is-wrong { border-color: #fecdd3; }
.map3d-review-card.is-skip { border-color: #fde68a; }

.map3d-review-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.map3d-review-qno {
    font-weight: 800;
    color: #1d4ed8;
    font-size: 12px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.map3d-review-status {
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 999px;
}

.map3d-review-status.is-correct { background: #ecfdf5; color: #047857; }
.map3d-review-status.is-wrong { background: #fff1f2; color: #be123c; }
.map3d-review-status.is-skip { background: #fffbeb; color: #b45309; }

.map3d-review-qtext {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
    line-height: 1.45;
}

.map3d-review-options {
    display: grid;
    gap: 8px;
    margin-bottom: 12px;
}

.map3d-review-opt {
    position: relative;
    cursor: default;
}

.map3d-review-opt em {
    margin-left: auto;
    font-style: normal;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.map3d-review-opt.is-correct {
    border-color: #6ee7b7;
    background: #ecfdf5;
    color: #047857;
}

.map3d-review-opt.is-wrong {
    border-color: #fda4af;
    background: #fff1f2;
    color: #be123c;
}

.map3d-review-opt.is-yours {
    border-color: #6ee7b7;
    background: #ecfdf5;
    color: #047857;
}

.map3d-review-opt.is-correct .map3d-prac-opt-key,
.map3d-review-opt.is-yours .map3d-prac-opt-key {
    background: #10b981;
    color: #fff;
    border-color: #10b981;
}

.map3d-review-opt.is-wrong .map3d-prac-opt-key {
    background: #f43f5e;
    color: #fff;
    border-color: #f43f5e;
}

.map3d-review-summary {
    display: grid;
    gap: 8px;
    margin-bottom: 10px;
}

.map3d-review-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    font-size: 13px;
    color: #334155;
    padding: 8px 10px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #eef2f7;
}

.map3d-review-meta strong {
    color: #0f172a;
    min-width: 110px;
}

.map3d-review-meta .is-muted {
    color: #d97706;
    font-weight: 650;
}

.map3d-review-explain {
    margin-top: 4px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    font-size: 13px;
    color: #1e3a8a;
    line-height: 1.5;
}

.map3d-review-explain.is-empty {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #64748b;
}

.map3d-review-explain-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 4px;
    color: #1d4ed8;
}

.map3d-review-explain.is-empty .map3d-review-explain-label {
    color: #94a3b8;
}

.map3d-review-explain-body {
    color: inherit;
}

@media (max-width: 991.98px) {
    .map3d-result-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .map3d-prac-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .map3d-result-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .map3d-prac-title-wrap {
        min-width: 0;
    }

    .map3d-prac-back span {
        display: none;
    }
}

/* navigation */

.q-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.q-nav-left {
    display: flex;
    gap: 8px;
}

.btn-qnav {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: .2s;
}

.btn-qnav.prev {
    background: #f0f4ff;
    color: #4338ca;
}

.btn-qnav.prev:hover {
    background: #e0e7ff;
}

.btn-qnav.skip {
    background: #fef3c7;
    color: #d97706;
    border: 1.5px solid rgba(217, 119, 6, 0.2);
}

.btn-qnav.skip:hover {
    background: #d97706;
    color: white;
}

.btn-qnav.next {
    background: linear-gradient(135deg, #4338ca, #6366f1);
    color: white;
}

.btn-qnav.next:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(67, 56, 202, 0.3);
}


/* SIDEBAR */

.ts-sidebar {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sidebar-card {
    background: white;
    border: 1.5px solid #e8edf8;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 2px 12px rgba(10, 15, 44, 0.05);
}

.sidebar-title {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #0a0f2c;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-title .s-line {
    width: 3px;
    height: 16px;
    border-radius: 2px;
    background: linear-gradient(180deg, #4338ca, #06b6d4);
}


/* question grid */

.q-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.q-grid-btn {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1.5px solid #e8edf8;
    background: #f8faff;
    font-size: 12px;
    font-weight: 700;
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .2s;
    font-family: 'Outfit', sans-serif;
}

.q-grid-btn:hover {
    border-color: #6366f1;
    color: #4338ca;
}

.q-grid-btn.answered {
    background: #ecfdf5;
    border-color: #10b981;
    color: #059669;
}

.q-grid-btn.skipped {
    background: #fef3c7;
    border-color: #d97706;
    color: #d97706;
}

.q-grid-btn.current {
    background: #4338ca;
    border-color: #4338ca;
    color: white;
}


/* legend */

.q-legend {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #6b7280;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    flex-shrink: 0;
}


/* score mini card */

.mini-score-row {
    display: flex;
    gap: 8px;
}

.mini-score {
    flex: 1;
    border-radius: 10px;
    padding: 12px 10px;
    text-align: center;
    font-family: 'Outfit', sans-serif;
}

.mini-score strong {
    display: block;
    font-size: 20px;
    font-weight: 800;
}

.mini-score span {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.ms-green {
    background: #ecfdf5;
    color: #059669;
}

.ms-red {
    background: #fff1f2;
    color: #e11d48;
}

.ms-amber {
    background: #fef3c7;
    color: #d97706;
}


/* submit big btn */

.btn-submit-big {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    padding: 13px;
    border-radius: 12px;
    background: linear-gradient(135deg, #059669, #10b981);
    color: white;
    border: none;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: .2s;
    margin-top: 6px;
}

.btn-submit-big:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35);
}


/* Mock Test 3 */


/* ── TOPBAR ── */

.res-topbar {
    background: #0a0f2c;
    height: 56px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
}

.btn-back {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.75);
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: .2s;
    font-family: 'DM Sans', sans-serif;
    text-decoration: none;
}

.btn-back:hover {
    background: rgba(255, 255, 255, 0.14);
    color: white;
}

.res-topbar-title {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: white;
}

.btn-share-top {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4338ca, #6366f1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    border: none;
    transition: .2s;
    box-shadow: 0 4px 12px rgba(67, 56, 202, 0.4);
}

.btn-share-top:hover {
    transform: scale(1.08);
}


/* ── MAIN WRAP ── */

.res-wrap {
    max-width: 820px;
    margin: 0 auto;
    padding: 20px 16px 80px;
}


/* ── EXAM LABEL ── */

.exam-label {
    font-size: 11px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 4px;
}

.exam-name {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #0a0f2c;
    margin-bottom: 16px;
}


/* ── SCORE HERO CARD ── */

.score-hero {
    background: #0a0f2c;
    border-radius: 22px;
    padding: 24px;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}

.score-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 10% 50%, rgba(99, 102, 241, 0.25) 0%, transparent 60%), radial-gradient(ellipse 40% 60% at 90% 20%, rgba(16, 185, 129, 0.15) 0%, transparent 55%);
}

.score-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 36px 36px;
}

.score-hero-inner {
    position: relative;
    z-index: 2;
}


/* circle + score */

.score-main-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 18px;
}

.score-circle-wrap {
    flex-shrink: 0;
    position: relative;
    width: 100px;
    height: 100px;
}

.score-circle-wrap canvas {
    width: 100px !important;
    height: 100px !important;
}

.score-circle-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.score-num {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.score-total {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
}

.score-right {
    flex: 1;
}

.score-pct {
    font-family: 'Outfit', sans-serif;
    font-size: 48px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin-bottom: 4px;
}

.score-pct span {
    color: transparent;
    background: linear-gradient(90deg, #10b981, #06b6d4);
    -webkit-background-clip: text;
}

.score-overall-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 8px;
}

.excellent-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34d399;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}


/* cq stats */

.score-mini-stats {
    display: flex;
    gap: 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.sms-item {
    flex: 1;
    text-align: center;
    padding: 12px 8px;
    border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.sms-item:last-child {
    border-right: none;
}

.sms-val {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 800;
    display: block;
    line-height: 1;
    margin-bottom: 3px;
}

.sms-label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.sms-item.correct .sms-val {
    color: #10b981;
}

.sms-item.wrong .sms-val {
    color: #f43f5e;
}

.sms-item.skipped .sms-val {
    color: #f59e0b;
}


/* ── TIME ROW ── */

.time-row {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.time-card {
    flex: 1;
    background: white;
    border: 1.5px solid #e8edf8;
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 2px 10px rgba(10, 15, 44, 0.05);
}

.tc-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tc-icon.time-i {
    background: #eef2ff;
    color: #4338ca;
}

.tc-icon.avg-i {
    background: #ecfdf5;
    color: #059669;
}

.tc-val {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: #0a0f2c;
    display: block;
}

.tc-label {
    font-size: 11px;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}


/* ── PERFORMANCE STATS ── */

.sec-title {
    font-family: 'Outfit', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #0a0f2c;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.sec-title .stl {
    width: 4px;
    height: 20px;
    border-radius: 2px;
    background: linear-gradient(180deg, #4338ca, #06b6d4);
}

.perf-stats-row {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.perf-stat-card {
    flex: 1;
    background: white;
    border: 1.5px solid #e8edf8;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 2px 12px rgba(10, 15, 44, 0.05);
    transition: all .3s;
}

.perf-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(10, 15, 44, 0.1);
}

.psc-icon {
    font-size: 22px;
    margin-bottom: 6px;
    display: block;
}

.psc-val {
    font-family: 'Outfit', sans-serif;
    font-size: 28px;
    font-weight: 900;
    display: block;
    line-height: 1;
    margin-bottom: 3px;
}

.psc-val.rank {
    color: #4338ca;
}

.psc-val.acc {
    color: #f59e0b;
}

.psc-label {
    font-size: 12px;
    color: #9ca3af;
    font-weight: 500;
}

.psc-bar {
    height: 4px;
    background: #f0f4ff;
    border-radius: 2px;
    margin-top: 10px;
    overflow: hidden;
}

.psc-bar-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 1.2s ease;
}


/* ── ATTEMPT DISTRIBUTION ── */

.attempt-card {
    background: white;
    border: 1.5px solid #e8edf8;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(10, 15, 44, 0.05);
    margin-bottom: 16px;
}

.attempt-inner {
    display: flex;
    align-items: center;
    gap: 20px;
}

.donut-wrap {
    position: relative;
    width: 100px;
    height: 100px;
    flex-shrink: 0;
}

.donut-wrap canvas {
    width: 100px !important;
    height: 100px !important;
}

.donut-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.donut-pct {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 900;
    color: #0a0f2c;
}

.donut-sub {
    font-size: 9px;
    color: #9ca3af;
    font-weight: 600;
    text-transform: uppercase;
}

.attempt-legend {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.al-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
}

.al-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.al-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.al-label {
    color: #374151;
    font-weight: 500;
}

.al-val {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #0a0f2c;
}

.attempt-total {
    background: #f8faff;
    border: 1.5px solid #e8edf8;
    border-radius: 12px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
}

.at-label {
    font-size: 12px;
    color: #6b7280;
    font-weight: 600;
}

.at-val {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: #0a0f2c;
}


/* ── AI INSIGHTS ── */

.ai-card {
    background: linear-gradient(135deg, #0f1035, #1a1d4e);
    border-radius: 18px;
    padding: 20px;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.ai-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 10% 30%, rgba(99, 102, 241, 0.2) 0%, transparent 60%);
}

.ai-card-inner {
    position: relative;
    z-index: 2;
}

.ai-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.ai-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #4338ca, #6366f1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(67, 56, 202, 0.4);
    flex-shrink: 0;
}

.ai-title {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}

.ai-powered {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.ai-insight-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.07);
    margin-bottom: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
}

.ai-insight-item:last-child {
    margin-bottom: 0;
}

.ai-insight-icon {
    font-size: 15px;
    flex-shrink: 0;
    margin-top: 1px;
}

.ai-insight-item strong {
    color: #fff;
}

.ai-insight-item .highlight-warn {
    color: #fbbf24;
}

.ai-insight-item .highlight-good {
    color: #34d399;
}

.ai-insight-item .highlight-info {
    color: #93c5fd;
}


/* ── SUBJECT BREAKDOWN ── */

.subject-card {
    background: white;
    border: 1.5px solid #e8edf8;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(10, 15, 44, 0.05);
    margin-bottom: 16px;
}

.analysis-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #eef2ff;
    color: #4338ca;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 8px;
    cursor: pointer;
    margin-left: auto;
}

.subject-row {
    margin-bottom: 12px;
}

.subject-row:last-child {
    margin-bottom: 0;
}

.sr-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5px;
}

.sr-name {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

.sr-pct {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 700;
}

.sr-bar {
    height: 8px;
    background: #f0f4ff;
    border-radius: 4px;
    overflow: hidden;
}

.sr-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 1.2s ease;
}


/* ── LEADERBOARD ── */

.lb-card {
    background: white;
    border: 1.5px solid #e8edf8;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(10, 15, 44, 0.05);
    margin-bottom: 16px;
}

.lb-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f8faff;
    transition: .2s;
}

.lb-row:hover {
    background: #fafbff;
    margin: 0 -20px;
    padding: 10px 20px;
    border-radius: 10px;
}

.lb-row:last-child {
    border-bottom: none;
}

.lb-rank {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 800;
    min-width: 28px;
    text-align: center;
}

.lb-rank.r1 {
    color: #f59e0b;
}

.lb-rank.r2 {
    color: #9ca3af;
}

.lb-rank.r3 {
    color: #cd7f32;
}

.lb-rank.you {
    color: #4338ca;
}

.lb-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.lb-info {
    flex: 1;
    min-width: 0;
}

.lb-name {
    font-size: 13px;
    font-weight: 600;
    color: #0a0f2c;
}

.lb-loc {
    font-size: 11px;
    color: #9ca3af;
}

.lb-score {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: #0a0f2c;
}

.you-tag {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: #eef2ff;
    color: #4338ca;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 8px;
    margin-left: 5px;
}


/* ── NEXT STEPS ── */

.next-steps-sec {
    margin-bottom: 16px;
}

.btn-retake {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    border-radius: 13px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s;
    margin-bottom: 10px;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.btn-retake:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(16, 185, 129, 0.5);
}

.btn-solutions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px;
    border-radius: 13px;
    background: white;
    color: #0a0f2c;
    border: 2px solid #e8edf8;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: .2s;
    margin-bottom: 10px;
}

.btn-solutions:hover {
    border-color: #4338ca;
    color: #4338ca;
    background: #f8faff;
}

.next-steps-grid {
    display: flex;
    gap: 10px;
}

.ns-card {
    flex: 1;
    background: white;
    border: 1.5px solid #e8edf8;
    border-radius: 13px;
    padding: 14px 12px;
    text-align: center;
    cursor: pointer;
    transition: all .2s;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.ns-card:hover {
    transform: translateY(-3px);
    border-color: rgba(67, 56, 202, 0.3);
    box-shadow: 0 8px 20px rgba(67, 56, 202, 0.1);
}

.ns-icon {
    font-size: 22px;
}

.ns-label {
    font-size: 11px;
    font-weight: 600;
    color: #374151;
}


/* ── DOWNLOAD BTN ── */

.btn-download {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    border-radius: 13px;
    background: #0a0f2c;
    color: white;
    border: none;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s;
    box-shadow: 0 4px 14px rgba(10, 15, 44, 0.25);
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(10, 15, 44, 0.35);
}


/* ── ANIMATIONS ── */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px)
    }
    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.fade-up {
    animation: fadeUp .5s ease both;
}

.fade-up:nth-child(1) {
    animation-delay: .05s
}

.fade-up:nth-child(2) {
    animation-delay: .1s
}

.fade-up:nth-child(3) {
    animation-delay: .15s
}

.fade-up:nth-child(4) {
    animation-delay: .2s
}

.fade-up:nth-child(5) {
    animation-delay: .25s
}

.fade-up:nth-child(6) {
    animation-delay: .3s
}

.fade-up:nth-child(7) {
    animation-delay: .35s
}


/* My Notes */


/* ══ HERO ══ */

.mn-hero {
    background: #0a0f2c;
    padding: 44px 0 48px;
    position: relative;
    overflow: hidden;
}

.mn-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 80% at 5% 50%, rgba(99, 102, 241, 0.2) 0%, transparent 65%), radial-gradient(ellipse 35% 60% at 90% 20%, rgba(16, 185, 129, 0.18) 0%, transparent 60%);
}

.mn-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 48px 48px;
}

.mn-hero .container {
    position: relative;
    z-index: 2;
}

.mn-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(99, 102, 241, 0.18);
    border: 1px solid rgba(99, 102, 241, 0.35);
    color: #a5b4fc;
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.mn-hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(24px, 3.5vw, 38px);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 8px;
}

.mn-hero h1 em {
    font-style: normal;
    background: linear-gradient(90deg, #6366f1, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mn-hero p {
    color: #94a3b8;
    font-size: 14px;
    margin-bottom: 0;
}

.mn-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 22px;
}

.mn-stat {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.mn-stat strong {
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 700;
    display: block;
}


/* ══ MAIN ══ */

.mn-main {
    padding: 40px 0 80px;
}


/* ── INFO BANNER ── */

.mn-info-banner {
    background: white;
    border: 1.5px solid rgba(99, 102, 241, 0.25);
    border-radius: 14px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    box-shadow: 0 2px 12px rgba(99, 102, 241, 0.07);
}

.mn-info-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 10px;
    background: #eef2ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4338ca;
}

.mn-info-text h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #0a0f2c;
    margin-bottom: 2px;
}

.mn-info-text p {
    font-size: 12px;
    color: #6b7280;
}


/* ── SECTION HEAD ── */

.mn-sec-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.mn-sec-head h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #0a0f2c;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mn-sec-head h2 .line {
    width: 4px;
    height: 20px;
    border-radius: 2px;
    background: linear-gradient(180deg, #4338ca, #06b6d4);
}


/* ── NOTE FILE CARD ── */

.note-file-card {
    background: white;
    border: 1.5px solid #e8edf8;
    border-radius: 16px;
    overflow: hidden;
    transition: all .3s cubic-bezier(.4, 0, .2, 1);
    height: 100%;
}

.note-file-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 40px rgba(67, 56, 202, 0.12);
    border-color: rgba(99, 102, 241, 0.3);
}

.note-file-top {
    height: 80px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.note-file-top .file-icon-big {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 800;
    color: white;
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.18);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 10px 16px;
    backdrop-filter: blur(6px);
    position: relative;
    z-index: 1;
}

.note-file-top .page-count-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.22);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    backdrop-filter: blur(4px);
    z-index: 1;
}

.nc1 {
    background: linear-gradient(135deg, #4338ca, #6366f1);
}

.nc2 {
    background: linear-gradient(135deg, #059669, #10b981);
}

.nc3 {
    background: linear-gradient(135deg, #d97706, #f59e0b);
}

.nc4 {
    background: linear-gradient(135deg, #db2777, #f472b6);
}

.nc5 {
    background: linear-gradient(135deg, #0284c7, #06b6d4);
}

.note-file-body {
    padding: 14px 16px 16px;
}


/* editable title */

.note-file-title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.note-file-title {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #0a0f2c;
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    font-family: 'Outfit', sans-serif;
    padding: 2px 4px;
    border-radius: 5px;
    transition: .2s;
}

.note-file-title:focus {
    background: #f0f4ff;
    border: 1px solid #6366f1;
    color: #4338ca;
}

.btn-rename {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    border-radius: 6px;
    background: #eef2ff;
    color: #4338ca;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .2s;
}

.btn-rename:hover {
    background: #4338ca;
    color: white;
}

.note-file-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.nf-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #9ca3af;
    font-weight: 500;
}


/* pages used indicator */

.pages-used {
    margin-bottom: 14px;
}

.pages-used-head {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #9ca3af;
    margin-bottom: 5px;
}

.pages-used-head span:last-child {
    font-weight: 700;
    color: #4338ca;
}

.pages-bar {
    height: 5px;
    background: #f0f4ff;
    border-radius: 3px;
    overflow: hidden;
}

.pages-fill {
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, #4338ca, #06b6d4);
}


/* action buttons row */

.note-file-actions {
    display: flex;
    gap: 6px;
}

.btn-nf-action {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 8px 6px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: all .2s;
    text-decoration: none;
}

.btn-nf-open {
    background: linear-gradient(135deg, #4338ca, #6366f1);
    color: white;
}

.btn-nf-open:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(67, 56, 202, 0.3);
    color: white;
}

.btn-nf-download {
    background: #ecfdf5;
    color: #059669;
    border: 1.5px solid rgba(16, 185, 129, 0.25);
}

.btn-nf-download:hover {
    background: #059669;
    color: white;
    border-color: #059669;
}

.btn-nf-print {
    background: #fef3c7;
    color: #d97706;
    border: 1.5px solid rgba(217, 119, 6, 0.25);
}

.btn-nf-print:hover {
    background: #d97706;
    color: white;
    border-color: #d97706;
}


/* ── BLANK PAGES SECTION ── */

.blank-pg-card {
    background: white;
    border: 1.5px solid #e8edf8;
    border-radius: 16px;
    overflow: hidden;
    transition: all .3s;
    height: 100%;
    cursor: pointer;
}

.blank-pg-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 40px rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.3);
}

.blank-pg-top {
    height: 80px;
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(16, 185, 129, 0.15);
    position: relative;
}

.blank-pg-icon {
    width: 44px;
    height: 52px;
    border: 2px dashed rgba(16, 185, 129, 0.5);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #10b981;
    background: white;
}

.blank-pg-num {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ecfdf5;
    color: #059669;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.blank-pg-body {
    padding: 14px 16px 16px;
}

.blank-pg-title {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #0a0f2c;
    margin-bottom: 4px;
}

.blank-pg-sub {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 12px;
}

.btn-open-blank {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 9px;
    border-radius: 8px;
    background: linear-gradient(135deg, #059669, #10b981);
    color: white;
    border: none;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: .2s;
    text-decoration: none;
}

.btn-open-blank:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    color: white;
}


/* ── RENAME TOAST ── */

.rename-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(60px);
    background: #0a0f2c;
    color: white;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 24px rgba(10, 15, 44, 0.3);
    transition: transform .3s;
    z-index: 999;
}

.rename-toast.show {
    transform: translateX(-50%) translateY(0);
}


/* My Notes 2 */


/* ── TOPBAR ── */

.nw-topbar {
    background: #0a0f2c;
    padding: 0 20px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nw-topbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-back {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.75);
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: .2s;
    font-family: 'DM Sans', sans-serif;
    text-decoration: none;
}

.btn-back:hover {
    background: rgba(255, 255, 255, 0.14);
    color: white;
}

.nw-page-name {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: white;
}

.nw-page-name span {
    font-size: 12px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.4);
    margin-left: 6px;
}

.nw-topbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nw-save-status {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
}

.nw-save-status.saved {
    color: #34d399;
}


/* ── TOOLBAR ── */

.nw-toolbar {
    background: white;
    border-bottom: 1.5px solid #e8edf8;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    position: sticky;
    top: 56px;
    z-index: 90;
    box-shadow: 0 2px 12px rgba(10, 15, 44, 0.05);
}

.tb-btn {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #f0f4ff;
    border: 1.5px solid #e8edf8;
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .2s;
    font-size: 13px;
    font-weight: 700;
    font-family: 'DM Sans', sans-serif;
}

.tb-btn:hover {
    background: #4338ca;
    color: white;
    border-color: #4338ca;
}

.tb-btn.active {
    background: #4338ca;
    color: white;
    border-color: #4338ca;
}

.tb-divider {
    width: 1px;
    height: 28px;
    background: #e8edf8;
    margin: 0 4px;
}

.tb-select {
    height: 34px;
    border-radius: 8px;
    background: #f0f4ff;
    border: 1.5px solid #e8edf8;
    color: #374151;
    font-size: 12px;
    font-weight: 600;
    padding: 0 10px;
    outline: none;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
}

.tb-select:focus {
    border-color: #4338ca;
}

.tb-color {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid white;
    cursor: pointer;
    outline: none;
    box-shadow: 0 0 0 1.5px #e8edf8;
}


/* ── MAIN WRAP ── */

.nw-wrap {
    max-width: 820px;
    margin: 28px auto;
    padding: 0 16px 60px;
}


/* ── PAGE INFO BAR ── */

.nw-page-info {
    background: white;
    border: 1.5px solid #e8edf8;
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
    box-shadow: 0 2px 10px rgba(10, 15, 44, 0.05);
}

.nw-page-info-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pg-dot {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: linear-gradient(135deg, #4338ca, #6366f1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 800;
    flex-shrink: 0;
}

.pg-info-text h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #0a0f2c;
    margin-bottom: 1px;
}

.pg-info-text p {
    font-size: 11px;
    color: #9ca3af;
}

.nw-page-info-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-action {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: .2s;
    text-decoration: none;
}

.btn-dl {
    background: #ecfdf5;
    color: #059669;
    border: 1.5px solid rgba(16, 185, 129, 0.25);
}

.btn-dl:hover {
    background: #059669;
    color: white;
}

.btn-pr {
    background: #fef3c7;
    color: #d97706;
    border: 1.5px solid rgba(217, 119, 6, 0.2);
}

.btn-pr:hover {
    background: #d97706;
    color: white;
}

.btn-cp {
    background: #eef2ff;
    color: #4338ca;
    border: 1.5px solid rgba(67, 56, 202, 0.2);
}

.btn-cp:hover {
    background: #4338ca;
    color: white;
}


/* ── NOTE PAPER ── */

.note-paper {
    background: white;
    border: 1.5px solid #e8edf8;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(10, 15, 44, 0.07);
    margin-bottom: 16px;
    position: relative;
}


/* paper header strip */

.note-paper-header {
    background: linear-gradient(135deg, #4338ca, #6366f1);
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.note-paper-title-input {
    background: transparent;
    border: none;
    outline: none;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: white;
    width: 100%;
}

.note-paper-title-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.note-paper-date {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
    margin-left: 12px;
}


/* lined paper area */

.note-lines-wrap {
    position: relative;
    padding: 0;
}


/* red margin line */

.note-lines-wrap::before {
    content: "";
    position: absolute;
    left: 56px;
    top: 0;
    bottom: 0;
    width: 1.5px;
    background: rgba(244, 63, 94, 0.2);
    z-index: 1;
    pointer-events: none;
}


/* line numbers */

.note-line-nums {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 100%;
    display: flex;
    flex-direction: column;
    pointer-events: none;
    z-index: 1;
    padding-top: 16px;
}

.line-num {
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 8px;
    font-size: 10px;
    color: #cbd5e1;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
}


/* the actual textarea */

.note-textarea {
    width: 100%;
    min-height: 540px;
    padding: 16px 24px 24px 68px;
    font-family: 'Kalam', cursive;
    font-size: 16px;
    line-height: 36px;
    color: #1e293b;
    border: none;
    outline: none;
    resize: none;
    background: repeating-linear-gradient( transparent, transparent 35px, #e2e8f0 35px, #e2e8f0 36px);
    background-size: 100% 36px;
    position: relative;
    z-index: 2;
    caret-color: #4338ca;
}

.note-textarea::placeholder {
    color: #cbd5e1;
    font-style: italic;
}

.note-textarea:focus {
    background-color: #fafbff;
}


/* word count footer */

.note-paper-footer {
    padding: 10px 20px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    color: #9ca3af;
    background: #fafbff;
}

.note-paper-footer span {
    display: flex;
    align-items: center;
    gap: 5px;
}


/* ── PAGE SWITCHER ── */

.pg-switcher {
    background: white;
    border: 1.5px solid #e8edf8;
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-shadow: 0 2px 10px rgba(10, 15, 44, 0.05);
}

.pg-switcher-pages {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.pg-num-btn {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    border: 1.5px solid #e8edf8;
    background: #f8faff;
    color: #374151;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .2s;
    font-family: 'Outfit', sans-serif;
}

.pg-num-btn:hover {
    background: #eef2ff;
    border-color: #6366f1;
    color: #4338ca;
}

.pg-num-btn.active {
    background: #4338ca;
    border-color: #4338ca;
    color: white;
}

.pg-num-btn.has-content {
    border-color: #10b981;
    color: #059669;
    background: #ecfdf5;
}

.pg-num-btn.has-content.active {
    background: #059669;
    color: white;
    border-color: #059669;
}

.pg-switcher-nav {
    display: flex;
    gap: 6px;
}

.btn-pg-nav {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: .2s;
}

.btn-pg-nav.prev {
    background: #f0f4ff;
    color: #4338ca;
}

.btn-pg-nav.prev:hover {
    background: #e0e7ff;
}

.btn-pg-nav.next {
    background: linear-gradient(135deg, #4338ca, #6366f1);
    color: white;
}

.btn-pg-nav.next:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(67, 56, 202, 0.3);
}


/* ── SAVE TOAST ── */

.save-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #0a0f2c;
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: white;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 24px rgba(10, 15, 44, 0.3);
    transform: translateY(60px);
    transition: transform .3s;
    z-index: 999;
}

.save-toast.show {
    transform: translateY(0);
}


/**************** LOGIN */


/* ══ LEFT PANEL ══ */

.ec-login__left-panel {
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1060 0%, #2d1b8e 30%, #1e40af 65%, #0369a1 100%);
    padding: 40px 48px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ec-login__left-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 80% 20%, rgba(99, 102, 241, 0.35) 0%, transparent 55%), radial-gradient(ellipse 50% 50% at 10% 80%, rgba(6, 182, 212, 0.2) 0%, transparent 55%), radial-gradient(ellipse 40% 40% at 50% 50%, rgba(139, 92, 246, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.ec-login__left-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 44px 44px;
    pointer-events: none;
}

.ec-login__left-inner {
    position: relative;
    z-index: 2;
}


/* Logo */

.ec-login__logo-wrap {
    margin-bottom: 52px;
}

.ec-login__logo-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.ec-login__logo-brand {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 900;
    color: white;
}

.ec-login__logo-brand span {
    color: #fbbf24;
}


/* Headline */

.ec-login__headline {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 900;
    color: white;
    line-height: 1.15;
    margin-bottom: 18px;
}

.ec-login__headline em {
    font-style: normal;
    background: linear-gradient(90deg, #fbbf24, #fb923c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ec-login__tagline {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.65;
    margin-bottom: 40px;
    max-width: 360px;
}


/* Stats */

.ec-login__stats-box {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 40px;
}

.ec-login__stat-item {
    padding: 16px 12px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.ec-login__stat-item:last-child {
    border-right: none;
}

.ec-login__stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 900;
    color: white;
    display: block;
    margin-bottom: 3px;
}

.ec-login__stat-name {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* Feature cards */

.ec-login__feature-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 12px;
    transition: .2s;
}

.ec-login__feature-card:last-child {
    margin-bottom: 0;
}

.ec-login__feature-card:hover {
    background: rgba(255, 255, 255, 0.12);
}

.ec-login__feature-emoji {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
}

.ec-login__feature-heading {
    font-size: 13px;
    font-weight: 700;
    color: white;
    margin-bottom: 1px;
}

.ec-login__feature-para {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}


/* Floating badges */

.ec-login__badge-float {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    padding: 12px 16px;
    backdrop-filter: blur(10px);
    z-index: 2;
    animation: ecFloatBob 5s ease-in-out infinite;
}

@keyframes ecFloatBob {
    0%,
    100% {
        transform: translateY(0)
    }
    50% {
        transform: translateY(-10px)
    }
}

.ec-login__badge-float--top {
    right: 30px;
    top: 22%;
    animation-delay: 0s;
}

.ec-login__badge-float--bottom {
    right: 50px;
    bottom: 30%;
    animation-delay: 2s;
}

.ec-login__badge-val {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: white;
}

.ec-login__badge-lbl {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 2px;
}


/* Left footer */

.ec-login__panel-footer {
    position: relative;
    z-index: 2;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

.ec-login__panel-footer a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
}

.ec-login__panel-footer a:hover {
    color: white;
}


/* ══ RIGHT PANEL ══ */

.ec-login__right-panel {
    min-height: 100vh;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 52px;
    position: relative;
    overflow-y: auto;
}

.ec-auth-page--register .ec-login__right-panel--register {
    min-height: auto;
}

.ec-login__form-wrap {
    width: 100%;
    max-width: 400px;
}


/* Stepper */

.ec-login__stepper-box {
    margin-bottom: 28px;
}

.ec-login__step-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.ec-login__step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 800;
    transition: all .3s;
}

.ec-login__step-circle--done {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.ec-login__step-circle--active {
    background: linear-gradient(135deg, #4338ca, #2563eb);
    color: white;
    box-shadow: 0 4px 14px rgba(67, 56, 202, 0.4);
}

.ec-login__step-circle--pending {
    background: #f1f5f9;
    color: #94a3b8;
    border: 2px solid #e2e8f0;
}

.ec-login__step-tag {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.ec-login__step-tag--active {
    color: #4338ca;
}

.ec-login__step-tag--done {
    color: #059669;
}

.ec-login__step-tag--pending {
    color: #94a3b8;
}

.ec-login__step-connector {
    height: 2px;
    background: #e2e8f0;
    margin: 0 8px;
    margin-bottom: 14px;
    transition: .3s;
}

.ec-login__step-connector--done {
    background: linear-gradient(90deg, #059669, #4338ca);
}


/* Step panes */

.ec-login__step-pane {
    display: none;
}

.ec-login__step-pane--show {
    display: block;
    animation: ecSlideUp .35s ease;
}

@keyframes ecSlideUp {
    from {
        opacity: 0;
        transform: translateY(12px)
    }
    to {
        opacity: 1;
        transform: translateY(0)
    }
}


/* Pane header */

.ec-login__pane-header {
    margin-bottom: 32px;
}

.ec-login__pane-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 11px;
    font-weight: 700;
    color: #2563eb;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}

.ec-login__pane-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #2563eb;
}

.ec-login__pane-title {
    font-family: 'Outfit', sans-serif;
    font-size: 28px;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 6px;
    line-height: 1.2;
}

.ec-login__pane-title span {
    background: linear-gradient(135deg, #4338ca, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ec-login__pane-subtitle {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
}


/* Fields */

.ec-login__field-wrap {
    margin-bottom: 18px;
}

.ec-login__field-lbl {
    font-size: 13px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 7px;
    display: block;
}


/* Phone */

.ec-login__phone-box {
    display: flex;
    align-items: center;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    transition: .3s;
    background: white;
}

.ec-login__phone-box:focus-within {
    border-color: #4338ca;
    box-shadow: 0 0 0 4px rgba(67, 56, 202, 0.1);
}

.ec-login__phone-prefix {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px;
    height: 54px;
    background: #f8fafc;
    border-right: 1.5px solid #e2e8f0;
    font-size: 14px;
    font-weight: 700;
    color: #374151;
    flex-shrink: 0;
    cursor: pointer;
}

.ec-login__phone-field {
    flex: 1;
    border: none;
    outline: none;
    padding: 0 16px;
    height: 54px;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    color: #0f172a;
    letter-spacing: 1px;
    background: transparent;
}

.ec-login__phone-field::placeholder {
    color: #cbd5e1;
    font-weight: 400;
    letter-spacing: 0;
    font-size: 14px;
}


/* Text / email / password inputs */

.ec-login__input-box {
    display: flex;
    align-items: center;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    transition: .3s;
    background: white;
}

.ec-login__input-box:focus-within {
    border-color: #4338ca;
    box-shadow: 0 0 0 4px rgba(67, 56, 202, 0.1);
}

.ec-login__input-box.is-invalid,
.was-validated .ec-login__input-box:has(:invalid) {
    border-color: #dc3545;
}

.ec-login__input-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 54px;
    flex-shrink: 0;
    color: #94a3b8;
    background: #f8fafc;
    border-right: 1.5px solid #e2e8f0;
}

.ec-login__input-field {
    flex: 1;
    border: none;
    outline: none;
    padding: 0 16px;
    height: 54px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    color: #0f172a;
    background: transparent;
    min-width: 0;
}

.ec-login__input-field::placeholder {
    color: #cbd5e1;
    font-weight: 400;
}

.ec-login__input-box--password .ec-login__input-field {
    padding-right: 8px;
}

.ec-login__toggle-pass {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 54px;
    border: none;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    flex-shrink: 0;
    transition: color .2s;
}

.ec-login__toggle-pass:hover {
    color: #4338ca;
}

.ec-login__form-wrap--register {
    max-width: 420px;
}

.ec-login__form-wrap .alert {
    border-radius: 12px;
    font-size: 14px;
    margin-bottom: 20px;
}

.ec-login__form-wrap .invalid-feedback {
    font-size: 12px;
    margin-top: 5px;
}

.was-validated .ec-login__phone-box:has(:invalid) {
    border-color: #dc3545;
}


/* ══ REGISTER AUTH CARD ══ */

.ec-auth-page--register,
.ec-auth-page--login {
    --ec-auth-header-offset: 72px;
}

.ec-auth-page--register .ec-auth-page__row,
.ec-auth-page--login .ec-auth-page__row {
    align-items: stretch;
}

@media (min-width: 768px) {
    .ec-auth-page--register .ec-auth-page__row,
    .ec-auth-page--login .ec-auth-page__row {
        min-height: calc(100vh - var(--ec-auth-header-offset));
    }

    .ec-auth-page--register .ec-auth-page__row > [class*="col-"],
    .ec-auth-page--login .ec-auth-page__row > [class*="col-"] {
        display: flex;
        flex-direction: column;
    }

    .ec-auth-page--register .ec-login__left-panel,
    .ec-auth-page--login .ec-login__left-panel {
        min-height: 100%;
        height: auto;
        flex: 1;
        width: 100%;
    }

    .ec-auth-page--register .ec-login__right-panel--register,
    .ec-auth-page--login .ec-login__right-panel--login {
        min-height: 100%;
        height: auto;
        flex: 1;
        width: 100%;
        padding: 28px 24px;
        justify-content: flex-start;
        align-items: center;
    }

    .ec-auth-page--register .ec-auth-card,
    .ec-auth-page--login .ec-auth-card {
        flex: 1;
        display: flex;
        flex-direction: column;
        max-width: 500px;
        height: 100%;
        min-height: 0;
    }

    /* Register card: compact auto height, not full stretch */
    .ec-auth-page--register .ec-login__right-panel--register {
        justify-content: center;
    }

    .ec-auth-page--register .ec-auth-card {
        flex: 0 1 auto;
        height: auto;
        max-height: none;
        max-width: 520px;
    }

    .ec-auth-page--register .ec-auth-card__body {
        flex: 0 1 auto;
        overflow: visible;
    }

    .ec-auth-page--register .ec-auth-card__form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .ec-auth-page--login .ec-auth-card {
        max-width: 460px;
    }

    .ec-auth-page--login .ec-auth-card__body {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: #c7d2fe transparent;
    }

    .ec-auth-page--login .ec-auth-card__body::-webkit-scrollbar {
        width: 5px;
    }

    .ec-auth-page--login .ec-auth-card__body::-webkit-scrollbar-thumb {
        background: #c7d2fe;
        border-radius: 10px;
    }
}

.ec-login__right-panel--register,
.ec-login__right-panel--login {
    background: linear-gradient(160deg, #f8fafc 0%, #eef2ff 45%, #f1f5f9 100%);
    padding: 40px 28px;
    position: relative;
}

.ec-login__right-panel--login {
    background:
        radial-gradient(ellipse 80% 50% at 90% 10%, rgba(251, 191, 36, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse 60% 40% at 10% 90%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        linear-gradient(160deg, #f8fafc 0%, #eef2ff 45%, #f1f5f9 100%);
}

.ec-login__right-panel--register {
    background:
        radial-gradient(ellipse 70% 45% at 85% 15%, rgba(16, 185, 129, 0.1) 0%, transparent 55%),
        radial-gradient(ellipse 55% 40% at 15% 85%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        linear-gradient(160deg, #f8fafc 0%, #ecfdf5 40%, #f1f5f9 100%);
}

.ec-auth-page--login .ec-login__right-panel--login {
    min-height: auto;
}

.ec-auth-page--register .ec-login__right-panel--register {
    min-height: auto;
}

.ec-auth-card {
    position: relative;
    width: 100%;
    max-width: 480px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 8px 24px rgba(15, 23, 42, 0.06),
        0 24px 48px rgba(67, 56, 202, 0.06);
    overflow: hidden;
}

.ec-auth-card__accent {
    height: 4px;
    background: linear-gradient(90deg, #4338ca, #2563eb, #7c3aed);
}

.ec-auth-card__accent--login {
    height: 5px;
    background: linear-gradient(90deg, #f59e0b, #f97316, #4338ca, #2563eb);
}

.ec-auth-card--login {
    border-color: #e0e7ff;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 10px 30px rgba(67, 56, 202, 0.08),
        0 24px 48px rgba(245, 158, 11, 0.06);
}

.ec-auth-card__glow {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.18) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.ec-auth-card--login .ec-auth-card__header,
.ec-auth-card--login .ec-auth-card__perks,
.ec-auth-card--login .ec-auth-card__body,
.ec-auth-card--login .ec-auth-card__footer {
    position: relative;
    z-index: 1;
}

.ec-auth-card__icon--login {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-color: #fcd34d;
    color: #b45309;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.2);
}

.ec-login__pane-badge--login {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    border-color: #fde68a;
    color: #b45309;
}

.ec-login__pane-badge--login .ec-login__pane-badge-dot {
    background: #f59e0b;
}

.ec-auth-card--login .ec-auth-card__title span {
    background: linear-gradient(135deg, #f59e0b, #ea580c, #4338ca);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ec-auth-card__perks {
    display: flex;
    gap: 8px;
    padding: 0 28px 20px;
    border-bottom: 1px solid #f1f5f9;
    flex-wrap: wrap;
}

.ec-auth-card__perk {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 700;
    color: #4338ca;
    background: linear-gradient(135deg, #f8fafc, #eef2ff);
    border: 1px solid #e0e7ff;
    border-radius: 20px;
    transition: transform .2s, box-shadow .2s;
}

.ec-auth-card__perk:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(67, 56, 202, 0.1);
}

.ec-auth-card__perk-emoji {
    font-size: 13px;
    line-height: 1;
}

.ec-login__cta-primary--login {
    background: linear-gradient(135deg, #4338ca 0%, #4f46e5 40%, #2563eb 100%);
    box-shadow: 0 6px 22px rgba(67, 56, 202, 0.4);
}

.ec-login__cta-primary--login:hover {
    box-shadow: 0 10px 30px rgba(67, 56, 202, 0.55);
    background: linear-gradient(135deg, #3730a3 0%, #4338ca 40%, #1d4ed8 100%);
}

.ec-auth-card__link-btn--register {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    border-color: #fcd34d;
    color: #92400e;
}

.ec-auth-card__link-btn--register:hover {
    border-color: #f59e0b;
    color: #b45309;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.2);
}

.ec-auth-card__alert--success {
    border: 1px solid #bbf7d0;
    background: #f0fdf4;
    font-size: 13px;
    margin-bottom: 18px;
    border-radius: 12px;
}

/* ══ REGISTER COMPACT CARD ══ */

.ec-auth-card--register {
    border-color: #d1fae5;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 8px 22px rgba(16, 185, 129, 0.07),
        0 20px 40px rgba(67, 56, 202, 0.05);
}

.ec-auth-card__accent--register {
    height: 4px;
    background: linear-gradient(90deg, #10b981, #059669, #4338ca, #2563eb);
}

.ec-auth-card__glow--register {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.ec-auth-card--register .ec-auth-card__header,
.ec-auth-card--register .ec-auth-card__perks,
.ec-auth-card--register .ec-auth-card__quote,
.ec-auth-card--register .ec-auth-card__body,
.ec-auth-card--register .ec-auth-card__footer {
    position: relative;
    z-index: 1;
}

.ec-auth-card__icon--register {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    border-color: #6ee7b7;
    color: #047857;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.18);
}

.ec-login__pane-badge--register {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border-color: #a7f3d0;
    color: #047857;
}

.ec-login__pane-badge--register .ec-login__pane-badge-dot {
    background: #10b981;
}

.ec-auth-card--register .ec-auth-card__title {
    font-size: 1.35rem;
    margin-bottom: 4px;
}

.ec-auth-card--register .ec-auth-card__title span {
    background: linear-gradient(135deg, #059669, #10b981, #4338ca);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ec-auth-card--register .ec-auth-card__subtitle {
    font-size: 12px;
}

.ec-auth-card--register .ec-auth-card__header {
    padding: 18px 22px 14px;
    gap: 12px;
}

.ec-auth-card--register .ec-auth-card__perks {
    padding: 0 22px 12px;
    border-bottom: none;
}

.ec-auth-card__quote {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 22px 14px;
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    color: #4338ca;
    background: linear-gradient(135deg, #f5f3ff, #eef2ff);
    border: 1px solid #e0e7ff;
    border-left: 3px solid #10b981;
    border-radius: 10px;
}

.ec-auth-card__quote i {
    color: #10b981;
    margin-top: 2px;
    opacity: 0.85;
}

.ec-auth-card--register .ec-auth-card__body {
    padding: 0 22px 14px;
}

.ec-auth-card__form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 14px;
}

.ec-auth-card__form-grid .ec-auth-card__field--full,
.ec-auth-card__form-grid .ec-auth-card__submit {
    grid-column: 1 / -1;
}

.ec-auth-card--register .ec-auth-card__body .ec-login__field-wrap {
    margin-bottom: 12px;
}

.ec-auth-card--register .ec-auth-card__body .ec-login__field-lbl {
    font-size: 12px;
    margin-bottom: 4px;
}

.ec-auth-card--register .ec-auth-card__body .ec-login__input-icon {
    width: 42px;
    height: 46px;
}

.ec-auth-card--register .ec-auth-card__body .ec-login__input-field,
.ec-auth-card--register .ec-auth-card__body .ec-login__phone-field {
    height: 46px;
    font-size: 14px;
}

.ec-auth-card--register .ec-auth-card__body .ec-login__phone-prefix {
    height: 46px;
    font-size: 13px;
    padding: 0 10px;
}

.ec-auth-card--register .ec-auth-card__body .ec-login__toggle-pass {
    width: 40px;
    height: 46px;
}

.ec-auth-card--register .ec-auth-card__body .ec-login__input-box,
.ec-auth-card--register .ec-auth-card__body .ec-login__phone-box {
    border-radius: 10px;
}

.ec-auth-card__submit {
    margin-top: 2px;
    margin-bottom: 0;
}

.ec-login__cta-primary--register {
    height: 48px;
    font-size: 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, #059669 0%, #10b981 40%, #4338ca 100%);
    box-shadow: 0 5px 18px rgba(16, 185, 129, 0.35);
}

.ec-login__cta-primary--register:hover {
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.45);
    background: linear-gradient(135deg, #047857 0%, #059669 40%, #3730a3 100%);
}

.ec-auth-card__footer--compact {
    padding: 14px 22px 18px;
}

.ec-auth-card__footer--compact .ec-auth-card__divider {
    margin-bottom: 10px;
}

.ec-auth-card__link-btn--login {
    height: 44px;
    font-size: 13px;
}

.ec-auth-card__footer--compact .ec-auth-card__terms-mobile {
    margin: 8px 0 0;
    font-size: 10px;
}

.ec-auth-card__header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 28px 28px 0;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 0;
    padding-bottom: 22px;
}

.ec-auth-card__icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    border: 1px solid #c7d2fe;
    color: #4338ca;
    box-shadow: 0 4px 12px rgba(67, 56, 202, 0.12);
}

.ec-auth-card__header-text {
    flex: 1;
    min-width: 0;
}

.ec-auth-card__header-text .ec-login__pane-badge {
    margin-bottom: 10px;
}

.ec-auth-card__title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.55rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    margin: 0 0 6px;
}

.ec-auth-card__title span {
    background: linear-gradient(135deg, #4338ca, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ec-auth-card__subtitle {
    font-size: 13px;
    color: #64748b;
    line-height: 1.55;
    margin: 0;
}

.ec-auth-card__body {
    padding: 24px 28px 8px;
}

.ec-auth-card__body .ec-login__field-wrap {
    margin-bottom: 16px;
}

.ec-auth-card__body .ec-login__input-box,
.ec-auth-card__body .ec-login__phone-box {
    border-width: 1.5px;
    border-color: #e2e8f0;
    border-radius: 12px;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.03);
    transition: border-color .2s, box-shadow .2s;
}

.ec-auth-card__body .ec-login__input-box:focus-within,
.ec-auth-card__body .ec-login__phone-box:focus-within {
    border-color: #6366f1;
    box-shadow:
        inset 0 1px 2px rgba(15, 23, 42, 0.02),
        0 0 0 3px rgba(99, 102, 241, 0.12);
}

.ec-auth-card__section {
    margin-top: 4px;
    margin-bottom: 18px;
    padding: 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
}

.ec-auth-card__section-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #4338ca;
    margin-bottom: 14px;
    padding: 4px 10px;
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    border-radius: 20px;
}

.ec-auth-card__section .ec-login__input-box {
    background: #ffffff;
}

.ec-auth-card__alert {
    border-radius: 12px;
    border: 1px solid #fecaca;
    font-size: 13px;
    margin-bottom: 18px;
}

.ec-auth-card__footer {
    padding: 20px 28px 26px;
    background: #fafbfc;
    border-top: 1px solid #e2e8f0;
}

.ec-auth-card__terms {
    font-size: 12px;
    color: #64748b;
    text-align: center;
    line-height: 1.6;
    margin: 0 0 16px;
}

.ec-auth-card__terms a {
    color: #4338ca;
    font-weight: 600;
    text-decoration: none;
}

.ec-auth-card__terms a:hover {
    text-decoration: underline;
}

.ec-auth-card__divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ec-auth-card__divider::before,
.ec-auth-card__divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

.ec-auth-card__link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 48px;
    border-radius: 12px;
    background: #ffffff;
    color: #374151;
    border: 1.5px solid #e2e8f0;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all .2s;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.ec-auth-card__link-btn:hover {
    border-color: #4338ca;
    color: #4338ca;
    background: #fafbff;
    box-shadow: 0 4px 12px rgba(67, 56, 202, 0.1);
}

.ec-auth-card__terms-mobile {
    font-size: 10px;
    color: #94a3b8;
    text-align: center;
    line-height: 1.4;
    margin: 10px 0 0;
}

.ec-auth-card__terms-mobile a {
    color: #4338ca;
    font-weight: 600;
    text-decoration: none;
}

@media (max-width: 767.98px) {
    .ec-auth-page--login {
        --ec-auth-header-offset: 60px;
    }

    .ec-auth-page--login .ec-login__right-panel--login {
        min-height: calc(100dvh - var(--ec-auth-header-offset));
        padding: 10px 12px 14px;
        justify-content: flex-start;
        align-items: stretch;
    }

    .ec-auth-page--login .ec-auth-card {
        max-width: none;
        border-radius: 16px;
    }

    .ec-auth-page--login .ec-auth-card__header {
        padding: 14px 16px 12px;
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 12px;
    }

    .ec-auth-page--login .ec-auth-card__icon {
        width: 42px;
        height: 42px;
        border-radius: 11px;
    }

    .ec-auth-page--login .ec-auth-card__title {
        font-size: 1.1rem;
        margin-bottom: 0;
    }

    .ec-auth-page--login .ec-auth-card__perks {
        padding: 0 16px 14px;
        gap: 6px;
    }

    .ec-auth-page--login .ec-auth-card__perk {
        font-size: 10px;
        padding: 5px 10px;
    }

    .ec-auth-page--login .ec-auth-card__body {
        padding: 12px 16px 4px;
    }

    .ec-auth-page--login .ec-auth-card__body .ec-login__field-wrap {
        margin-bottom: 10px;
    }

    .ec-auth-page--login .ec-auth-card__body .ec-login__field-lbl {
        font-size: 12px;
        margin-bottom: 5px;
    }

    .ec-auth-page--login .ec-auth-card__body .ec-login__input-icon {
        width: 40px;
        height: 44px;
    }

    .ec-auth-page--login .ec-auth-card__body .ec-login__input-field {
        height: 44px;
        font-size: 14px;
    }

    .ec-auth-page--login .ec-auth-card__body .ec-login__toggle-pass {
        width: 40px;
        height: 44px;
    }

    .ec-auth-page--login .ec-login__cta-primary {
        height: 46px;
        font-size: 14px;
        border-radius: 12px;
    }

    .ec-auth-page--login .ec-auth-card__footer {
        padding: 12px 16px 14px;
    }

    .ec-auth-page--login .ec-auth-card__link-btn {
        height: 42px;
        font-size: 12px;
        border-radius: 10px;
    }
}

@media (max-width: 767.98px) {
    .ec-auth-page--register {
        --ec-auth-header-offset: 60px;
    }

    .ec-auth-page--register .ec-login__right-panel--register {
        min-height: calc(100dvh - var(--ec-auth-header-offset));
        padding: 8px 10px 12px;
        justify-content: flex-start;
        align-items: stretch;
        overflow-y: auto;
    }

    .ec-auth-page--register .ec-auth-card {
        max-width: none;
        max-height: none;
        border-radius: 14px;
    }

    .ec-auth-page--register .ec-auth-card__header {
        padding: 12px 14px 10px;
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 10px;
    }

    .ec-auth-page--register .ec-auth-card__icon--register {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }

    .ec-auth-page--register .ec-auth-card__title {
        font-size: 1rem;
    }

    .ec-auth-page--register .ec-auth-card__perks {
        padding: 0 14px 8px;
        gap: 5px;
    }

    .ec-auth-page--register .ec-auth-card__perk {
        font-size: 9px;
        padding: 4px 8px;
    }

    .ec-auth-page--register .ec-auth-card__quote {
        margin: 0 14px 10px;
        padding: 8px 10px;
        font-size: 11px;
        gap: 8px;
    }

    .ec-auth-page--register .ec-auth-card__form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .ec-auth-page--register .ec-auth-card__body {
        padding: 0 14px 8px;
    }

    .ec-auth-page--register .ec-auth-card__body .ec-login__field-wrap {
        margin-bottom: 8px;
    }

    .ec-auth-page--register .ec-auth-card__body .ec-login__field-lbl {
        font-size: 11px;
        margin-bottom: 3px;
    }

    .ec-auth-page--register .ec-auth-card__body .ec-login__input-icon {
        width: 38px;
        height: 42px;
    }

    .ec-auth-page--register .ec-auth-card__body .ec-login__input-field,
    .ec-auth-page--register .ec-auth-card__body .ec-login__phone-field {
        height: 42px;
        font-size: 13px;
    }

    .ec-auth-page--register .ec-auth-card__body .ec-login__phone-prefix {
        height: 42px;
        font-size: 12px;
        padding: 0 8px;
    }

    .ec-auth-page--register .ec-auth-card__body .ec-login__toggle-pass {
        width: 38px;
        height: 42px;
    }

    .ec-auth-page--register .ec-login__cta-primary--register {
        height: 44px;
        font-size: 13px;
    }

    .ec-auth-page--register .ec-auth-card__footer--compact {
        padding: 10px 14px 12px;
    }

    .ec-auth-page--register .ec-auth-card__link-btn--login {
        height: 40px;
        font-size: 12px;
    }

    .ec-auth-page--register .ec-auth-card__alert {
        font-size: 11px;
        margin-bottom: 10px;
        padding: 8px 10px;
    }

    .ec-auth-page--register .invalid-feedback {
        font-size: 10px;
        margin-top: 2px;
    }
}


/* OTP cells */

.ec-login__otp-cell {
    width: 100%;
    height: 58px;
    border: 2.5px solid #e2e8f0;
    border-radius: 14px;
    text-align: center;
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 900;
    color: #0f172a;
    background: white;
    outline: none;
    transition: .25s;
    caret-color: #4338ca;
}

.ec-login__otp-cell:focus {
    border-color: #4338ca;
    box-shadow: 0 0 0 4px rgba(67, 56, 202, 0.12);
    background: #fafbff;
}

.ec-login__otp-cell--filled {
    border-color: #4338ca;
    background: #f0f4ff;
    color: #4338ca;
}

.ec-login__otp-cell--error {
    border-color: #f43f5e;
    background: #fff1f2;
    animation: ecShake .3s ease;
}

@keyframes ecShake {
    0%,
    100% {
        transform: translateX(0)
    }
    25% {
        transform: translateX(-5px)
    }
    75% {
        transform: translateX(5px)
    }
}


/* OTP info bar */

.ec-login__otp-infobar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    color: #64748b;
    margin-bottom: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 9px;
}

.ec-login__otp-infobar strong {
    color: #1e293b;
}

.ec-login__otp-change-link {
    font-size: 12px;
    font-weight: 700;
    color: #4338ca;
    cursor: pointer;
    margin-left: auto;
}

.ec-login__otp-change-link:hover {
    text-decoration: underline;
}


/* Hint */

.ec-login__field-note {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 4px;
}


/* Buttons */

.ec-login__cta-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 54px;
    border-radius: 14px;
    background: linear-gradient(135deg, #4338ca, #2563eb);
    color: white;
    border: none;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: all .25s;
    box-shadow: 0 6px 20px rgba(67, 56, 202, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    position: relative;
    overflow: hidden;
}

.ec-login__cta-primary::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: .2s;
}

.ec-login__cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(67, 56, 202, 0.5);
}

.ec-login__cta-primary:hover::before {
    opacity: 1;
}

.ec-login__cta-primary:active {
    transform: translateY(0);
}

.ec-login__cta-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.ec-login__cta-outline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 52px;
    border-radius: 14px;
    background: white;
    color: #374151;
    border: 2px solid #e2e8f0;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s;
}

.ec-login__cta-outline:hover {
    border-color: #94a3b8;
    background: #f8fafc;
}

.ec-login__social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    border-radius: 12px;
    background: white;
    border: 2px solid #e2e8f0;
    font-size: 13px;
    font-weight: 700;
    color: #374151;
    cursor: pointer;
    transition: .2s;
    font-family: 'DM Sans', sans-serif;
}

.ec-login__social-btn:hover {
    border-color: #94a3b8;
    background: #f8fafc;
}


/* Divider */

.ec-login__separator {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0;
    font-size: 12px;
    color: #94a3b8;
    font-weight: 500;
}

.ec-login__separator::before,
.ec-login__separator::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}


/* Resend */

.ec-login__resend-area {
    text-align: center;
    margin-top: 14px;
    font-size: 13px;
    color: #64748b;
}

.ec-login__resend-trigger {
    background: none;
    border: none;
    font-weight: 700;
    font-size: 13px;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    transition: .2s;
    padding: 0;
}

.ec-login__resend-trigger--ready {
    color: #4338ca;
}

.ec-login__resend-trigger--ready:hover {
    text-decoration: underline;
}

.ec-login__resend-trigger:disabled {
    color: #94a3b8;
    cursor: not-allowed;
}

.ec-login__resend-countdown {
    color: #f59e0b;
    font-weight: 700;
}


/* Error */

.ec-login__alert-error {
    display: none;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #dc2626;
    background: #fff1f2;
    border: 1px solid #fecdd3;
    border-radius: 8px;
    padding: 8px 12px;
    margin-bottom: 12px;
}

.ec-login__alert-error--visible {
    display: flex;
}


/* Success */

.ec-login__success-view {
    text-align: center;
    padding: 20px 0;
}

.ec-login__success-ring {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #059669);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    box-shadow: 0 8px 28px rgba(16, 185, 129, 0.4);
    animation: ecPopIn .4s cubic-bezier(.4, 0, .2, 1);
}

@keyframes ecPopIn {
    from {
        transform: scale(0)
    }
    to {
        transform: scale(1)
    }
}

.ec-login__success-heading {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 6px;
}

.ec-login__success-copy {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 24px;
}


/* Terms */

.ec-login__terms-copy {
    font-size: 11px;
    color: #94a3b8;
    text-align: center;
    margin-top: 16px;
    line-height: 1.6;
}

.ec-login__terms-copy a {
    color: #64748b;
    text-decoration: underline;
}


/* Demo hint */

.ec-login__demo-tip {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 10px;
    padding: 10px 14px;
    text-align: center;
    font-size: 12px;
    color: #92400e;
    margin-top: 12px;
}

.ec-login__demo-tip strong {
    color: #d97706;
}

.ec-login__dev-otp {
    background: #eff6ff;
    border: 2px dashed #93c5fd;
    border-radius: 12px;
    padding: 14px 18px;
    text-align: center;
    margin: 0 24px 12px;
}

.ec-login__dev-otp-label {
    font-size: 12px;
    font-weight: 600;
    color: #1d4ed8;
    margin-bottom: 6px;
}

.ec-login__dev-otp-code {
    font-family: 'Outfit', sans-serif;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 8px;
    color: #1e40af;
    margin: 4px 0;
}

.ec-login__dev-otp-hint {
    font-size: 11px;
    color: #64748b;
    margin-top: 4px;
}


/* Right footer */

.ec-login__right-foot {
    position: absolute;
    bottom: 20px;
    right: 0;
    left: 0;
    text-align: center;
    font-size: 12px;
    color: #94a3b8;
}

.ec-login__right-foot a {
    color: #4338ca;
    font-weight: 600;
    text-decoration: none;
}

@media (max-width: 768px) {
    .ec-login__left-panel {
        display: none !important;
    }
    .ec-login__right-panel:not(.ec-login__right-panel--register):not(.ec-login__right-panel--login) {
        padding: 32px 24px;
    }
}

/* Study Material Browse */
.sm-browse-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: #fff;
    padding: 48px 0 36px;
}

.sm-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    margin-bottom: 16px;
    opacity: 0.85;
}

.sm-breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.sm-browse-hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    margin-bottom: 8px;
}

.sm-browse-hero h1 em {
    color: #93c5fd;
    font-style: normal;
}

.sm-browse-sub {
    opacity: 0.85;
    margin: 0;
}

.sm-browse-main {
    padding: 36px 0 60px;
    background: #f8fafc;
}

.sm-panel {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.sm-panel-head {
    padding: 18px 20px;
    border-bottom: 1px solid #eef2f7;
}

.sm-panel-head h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sm-panel-head .line {
    width: 4px;
    height: 18px;
    background: #2563eb;
    border-radius: 99px;
    display: inline-block;
}

.sm-count-pill {
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 999px;
}

.sm-category-list {
    padding: 10px;
}

.sm-category-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-radius: 12px;
    text-decoration: none;
    color: #0f172a;
    font-weight: 600;
    transition: 0.2s ease;
}

.sm-category-item:hover,
.sm-category-item.active {
    background: #eff6ff;
    color: #1d4ed8;
}

.sm-subcategory-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    height: 100%;
    transition: 0.2s ease;
    background: #fff;
}

.sm-subcategory-card:hover {
    border-color: #93c5fd;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.08);
    transform: translateY(-2px);
}

.sm-subcategory-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #fef3c7;
    color: #d97706;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 12px;
    flex-shrink: 0;
}

.sm-subcategory-title {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 4px;
}

.sm-subcategory-org {
    font-size: 13px;
    color: #64748b;
}

.sm-panel .row.g-3 {
    padding: 20px;
}

.pdf-thumb-img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}


/* ── STUDY MATERIAL DETAIL (smd) ── */

.smd-page {
    padding: 28px 0 64px;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 120px);
}

.smd-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #64748b;
    margin-bottom: 20px;
}

.smd-breadcrumb a {
    color: #475569;
    text-decoration: none;
}

.smd-breadcrumb a:hover {
    color: #0f172a;
}

.smd-breadcrumb .current {
    color: #0f172a;
    font-weight: 600;
}

.smd-badge-row {
    margin-bottom: 16px;
}

.smd-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 8px 16px;
    border-radius: 999px;
    text-transform: uppercase;
}

.smd-type-badge--free {
    background: rgba(34, 197, 94, 0.12);
    color: #16a34a;
    border: 1.5px solid rgba(34, 197, 94, 0.35);
}

.smd-type-badge--free::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
}

.smd-type-badge--premium {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1.5px solid rgba(239, 68, 68, 0.3);
}

.smd-type-badge--premium::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ef4444;
}

.smd-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
    margin-bottom: 16px;
}

.smd-meta-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.smd-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #334155;
}

.smd-chip svg {
    width: 14px;
    height: 14px;
    color: #64748b;
}

.smd-block {
    margin-bottom: 28px;
}

.smd-block-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.smd-block-title .line {
    width: 4px;
    height: 22px;
    border-radius: 4px;
    background: linear-gradient(180deg, #f59e0b, #f43f5e);
}

.smd-text {
    font-size: 15px;
    line-height: 1.75;
    color: #475569;
}

.smd-preview-box {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px 22px;
    border-left: 4px solid #f59e0b;
}

.smd-preview-box p {
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
    color: #475569;
}

.smd-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.smd-features-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 14px;
}

.smd-features-list svg {
    width: 16px;
    height: 16px;
    color: #22c55e;
    flex-shrink: 0;
}

.smd-topics-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}

.smd-topics-list li {
    position: relative;
    padding: 10px 14px 10px 36px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    color: #334155;
}

.smd-topics-list li::before {
    content: "•";
    position: absolute;
    left: 16px;
    color: #f59e0b;
    font-weight: 800;
}

.smd-pdf-info {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}

.smd-pdf-info-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px;
}

.smd-pdf-info-item .label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #94a3b8;
    margin-bottom: 4px;
}

.smd-pdf-info-item .value {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
}

.smd-benefits-box {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 16px;
    padding: 24px 28px;
    color: #fff;
    margin-top: 8px;
}

.smd-benefits-box h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.smd-benefits-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}

.smd-benefits-box li {
    font-size: 14px;
    padding-left: 22px;
    position: relative;
    color: rgba(255, 255, 255, 0.9);
}

.smd-benefits-box li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #22c55e;
    font-weight: 700;
}

.smd-sidebar-card {
    position: sticky;
    top: 96px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.smd-sidebar-thumb {
    aspect-ratio: 4/3;
    background: #f1f5f9;
    overflow: hidden;
}

.smd-sidebar-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.smd-sidebar-body {
    padding: 22px;
}

.smd-price-block {
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e2e8f0;
}

.smd-price-current {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f172a;
}

.smd-price-free {
    color: #22c55e;
}

.smd-price-old {
    font-size: 14px;
    color: #94a3b8;
    text-decoration: line-through;
}

.smd-price-discount {
    display: inline-block;
    margin-top: 6px;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(245, 158, 11, 0.15);
    color: #d97706;
}

.smd-sidebar-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: grid;
    gap: 10px;
}

.smd-sidebar-meta li {
    font-size: 14px;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 8px;
}

.smd-sidebar-meta .ico {
    font-size: 16px;
    width: 24px;
    text-align: center;
}

.smd-sidebar-meta strong {
    color: #0f172a;
}

.smd-sidebar-actions {
    display: grid;
    gap: 10px;
}

.smd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.smd-btn svg {
    width: 16px;
    height: 16px;
}

.smd-btn--primary {
    background: #0f172a;
    color: #fff;
}

.smd-btn--primary:hover {
    background: #1e293b;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.2);
}

.smd-btn--success {
    background: #22c55e;
    color: #fff;
}

.smd-btn--success:hover {
    background: #16a34a;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.25);
}

.smd-btn--outline {
    background: #fff;
    color: #0f172a;
    border: 1.5px solid #e2e8f0;
}

.smd-btn--outline:hover {
    border-color: #0f172a;
    color: #0f172a;
}

.smd-sidebar-note {
    font-size: 12px;
    color: #94a3b8;
    margin: 14px 0 0;
    line-height: 1.5;
    text-align: center;
}

.smd-related {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid #e2e8f0;
}

.smd-sec-head h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.smd-sec-head .line {
    width: 4px;
    height: 22px;
    border-radius: 4px;
    background: linear-gradient(180deg, #f59e0b, #f43f5e);
}

.smd-related-card {
    display: block;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    height: 100%;
    transition: transform 0.25s, box-shadow 0.25s;
}

.smd-related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
}

.smd-related-thumb {
    position: relative;
    aspect-ratio: 16/10;
    background: #f1f5f9;
}

.smd-related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.smd-related-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 6px;
    letter-spacing: 0.04em;
}

.smd-related-badge.free {
    background: rgba(34, 197, 94, 0.95);
    color: #fff;
}

.smd-related-badge.premium {
    background: rgba(239, 68, 68, 0.95);
    color: #fff;
}

.smd-related-body {
    padding: 14px 16px 18px;
}

.smd-related-exam {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: #6366f1;
    letter-spacing: 0.04em;
}

.smd-related-body h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin: 6px 0 8px;
    line-height: 1.35;
}

.smd-related-meta {
    display: flex;
    gap: 10px;
    font-size: 11px;
    color: #94a3b8;
}

.smd-hero {
    padding: 48px 0;
    background: #0f172a;
    color: #fff;
}

.smd-hero--compact h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    margin-bottom: 12px;
}

.smd-hero--compact h1 em {
    font-style: normal;
    color: #f59e0b;
}

.smd-lead {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

@media (max-width: 991px) {
    .smd-sidebar-card {
        position: static;
    }

    .smd-layout {
        flex-direction: column-reverse;
    }
}