/* â”€â”€ GLOBAL RESET â”€â”€ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Hide scrollbars globally but keep functionality */
::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

* {
    -ms-overflow-style: none !important;
    /* IE and Edge */
    scrollbar-width: none !important;
    /* Firefox */
}

html,
body {
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    height: auto;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

body {
    background-color: var(--bg);
}

body.menu-open {
    overflow: hidden !important;
}

/* â”€â”€ SCREEN CONTAINERS â”€â”€ */
#app-screen {
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    height: auto;
    overflow-x: hidden;
    overflow-y: visible;
}

#transition-overlay {
    position: fixed;
    inset: 0;
    background: #05000e;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ INTRO STYLES Ã¢â€â‚¬Ã¢â€â‚¬ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --p: #9d5cff;
    --lp: #c084fc;
    --pk: #f472b6;
    --g: #fbbf24;
    --bg: #030008;

    /* Theme colors */
    --accent: #00d4aa;
    --text-muted: #9ca3af;
    --border: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.15);

    /* Fluid Typography System */
    --fs-h1: clamp(2.25rem, 5vw, 3.75rem);
    --fs-h2: clamp(1.5rem, 4vw, 2.25rem);
    --fs-h3: clamp(1.15rem, 3vw, 1.5rem);
    --fs-body: clamp(0.875rem, 2vw, 1rem);
    --fs-small: clamp(0.75rem, 1.5vw, 0.85rem);

    /* Transitions & Shadows */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-premium: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}


#cur {
    position: fixed;
    width: 12px;
    height: 12px;
    background: var(--lp);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 14px var(--lp), 0 0 28px var(--p);
}

#cur2 {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(168, 85, 247, .4);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: all .16s ease;
}

canvas {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
    pointer-events: none;
    z-index: 0;
    display: none;
}

.o1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(124, 58, 237, .16), transparent);
    top: -160px;
    left: -160px;
    animation: ob 22s ease-in-out infinite alternate;
}

.o2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(219, 39, 119, .11), transparent);
    bottom: -80px;
    right: 30%;
    animation: ob 26s ease-in-out infinite alternate-reverse;
}

.o3 {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(245, 158, 11, .08), transparent);
    top: 40%;
    left: 40%;
    animation: ob 18s ease-in-out infinite alternate;
}

@keyframes ob {
    to {
        transform: scale(1.3) translate(25px, -25px)
    }
}

.grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .008) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .008) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 2;
    pointer-events: none;
}

.scanline {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 0, 0, .02) 2px, rgba(0, 0, 0, .02) 4px);
    pointer-events: none;
    z-index: 200;
}

.lbar {
    position: absolute;
    top: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: linear-gradient(90deg, var(--p), var(--lp), var(--pk), var(--g));
    animation: lb 1.6s cubic-bezier(.16, 1, .3, 1) forwards;
    box-shadow: 0 0 10px var(--p);
    z-index: 1002;
}

@keyframes lb {
    to {
        width: 100%
    }
}

.corner {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0;
    animation: cs 1s ease forwards 1.8s;
    z-index: 52;
}

.ctl {
    top: 14px;
    left: 14px;
    border-top: 1px solid rgba(124, 58, 237, .45);
    border-left: 1px solid rgba(124, 58, 237, .45);
}

.ctr {
    top: 14px;
    right: 14px;
    border-top: 1px solid rgba(124, 58, 237, .45);
    border-right: 1px solid rgba(124, 58, 237, .45);
}

.cbl {
    bottom: 14px;
    left: 14px;
    border-bottom: 1px solid rgba(124, 58, 237, .45);
    border-left: 1px solid rgba(124, 58, 237, .45);
}

.cbr {
    bottom: 14px;
    right: 14px;
    border-bottom: 1px solid rgba(124, 58, 237, .45);
    border-right: 1px solid rgba(124, 58, 237, .45);
}

@keyframes cs {
    to {
        opacity: 1
    }
}

/* Ã¢â€¢ÂÃ¢â€¢Â TRUE 50/50 MASTER LAYOUT Ã¢â€¢ÂÃ¢â€¢Â */
.page {
    position: relative;
    z-index: 10;
    width: 100vw;
    height: 100vh;
    display: grid;
    grid-template-columns: 50% 50%;
    padding: 20px;
    gap: 0;
    overflow: hidden;
}

/* Ã¢â€¢ÂÃ¢â€¢Â LEFT: Directors - NO BORDER Ã¢â€¢ÂÃ¢â€¢Â */
.directors {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 24px;
    border-right: 1px solid rgba(124, 58, 237, .18);
    height: 100%;
    overflow: hidden;
}

.sep {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(124, 58, 237, .18) 20%, rgba(124, 58, 237, .18) 80%, transparent);
    margin: 0 12px;
}

.dir-row {
    display: flex;
    align-items: center;
    padding: 4px 12px;
    gap: 22px;
    position: relative;
    flex: 1;
    opacity: 0;
    cursor: none;
    transition: background .4s;
    border-radius: 6px;
}

.dir-row:hover {
    background: rgba(124, 58, 237, .04);
}

.dir-row:nth-child(1) {
    animation: rIn .9s cubic-bezier(.16, 1, .3, 1) forwards .2s;
}

.dir-row:nth-child(3) {
    animation: rIn .9s cubic-bezier(.16, 1, .3, 1) forwards .38s;
}

.dir-row:nth-child(5) {
    animation: rIn .9s cubic-bezier(.16, 1, .3, 1) forwards .56s;
}

@keyframes rIn {
    to {
        opacity: 1;
        transform: none
    }

    from {
        opacity: 0;
        transform: translateY(20px)
    }
}

.dir-photo-wrap {
    flex-shrink: 0;
    width: 210px;
    height: 235px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.dir-photo-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    pointer-events: none;
}

.dir-row:nth-child(1) .dir-photo-wrap::after {
    box-shadow: inset 0 0 0 1.5px rgba(124, 58, 237, .4);
}

.dir-row:nth-child(3) .dir-photo-wrap::after {
    box-shadow: inset 0 0 0 1.5px rgba(219, 39, 119, .35);
}

.dir-row:nth-child(5) .dir-photo-wrap::after {
    box-shadow: inset 0 0 0 1.5px rgba(245, 158, 11, .35);
}

.dir-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 16px;
    filter: contrast(1.04) brightness(.88) saturate(.9);
    transition: filter .5s, transform .5s;
}

.dir-row:hover .dir-photo {
    filter: contrast(1.07) brightness(.98) saturate(1.1);
    transform: scale(1.04);
}

.dir-info {
    flex: 1;
    padding: 0 14px 0 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.info-accent {
    width: 0;
    height: 2px;
    margin-bottom: 8px;
    animation: lx .9s ease forwards 1s;
}

.dir-row:nth-child(1) .info-accent {
    background: linear-gradient(90deg, var(--lp), var(--pk), transparent);
}

.dir-row:nth-child(3) .info-accent {
    background: linear-gradient(90deg, var(--pk), var(--g), transparent);
}

.dir-row:nth-child(5) .info-accent {
    background: linear-gradient(90deg, var(--g), var(--lp), transparent);
}

@keyframes lx {
    to {
        width: 70px
    }
}

.dir-name {
    font-family: 'Cinzel', serif;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: .07em;
    color: #fff;
    line-height: 1.25;
}

.dir-role {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 17px;
    letter-spacing: .03em;
}

.dir-row:nth-child(1) .dir-role {
    color: rgb(5, 247, 247);
}

.dir-row:nth-child(3) .dir-role {
    color: rgb(255, 0, 0);
}

.dir-row:nth-child(5) .dir-role {
    color: rgb(255, 162, 0);
}

.dir-desc {
    font-size: 15.5px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

.dir-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 2px;
}

.tag {
    font-size: 11.5px;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 4px 10px;
    border: 1px solid rgba(124, 58, 237, .2);
    color: rgba(196, 181, 253, .5);
    background: rgba(124, 58, 237, .06);
}

.dir-row:nth-child(3) .tag {
    border-color: rgba(219, 39, 119, .2);
    color: rgba(249, 168, 212, .5);
    background: rgba(219, 39, 119, .06);
}

.dir-row:nth-child(5) .tag {
    border-color: rgba(245, 158, 11, .2);
    color: rgba(253, 230, 138, .5);
    background: rgba(245, 158, 11, .05);
}

.dir-row.flip {
    flex-direction: row-reverse;
}

.dir-row.flip .dir-info {
    padding: 0 0 0 18px;
}

/* Ã¢â€¢ÂÃ¢â€¢Â RIGHT SIDEBAR Ã¢â‚¬â€ exactly 50% wide Ã¢â€¢ÂÃ¢â€¢Â */
.sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    height: 100%;
    opacity: 0;
    animation: sIn .9s ease forwards .7s;
}

@keyframes sIn {
    to {
        opacity: 1
    }

    from {
        opacity: 0;
        transform: translateX(15px)
    }
}

/* Circle logo Ã¢â‚¬â€ big */
.logo-circle-wrap {
    position: relative;
    width: 140px;
    height: 140px;
    flex-shrink: 0;
}

.logo-outer-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1.5px solid transparent;
    background: linear-gradient(var(--bg), var(--bg)) padding-box,
        conic-gradient(from 0deg, var(--p), var(--lp), var(--pk), var(--g), var(--p)) border-box;
    animation: rspin 10s linear infinite;
}

.logo-outer-ring2 {
    position: absolute;
    inset: -9px;
    border-radius: 50%;
    border: 1px solid transparent;
    background: linear-gradient(var(--bg), var(--bg)) padding-box,
        conic-gradient(from 180deg, var(--g), var(--lp), var(--p), var(--pk), var(--g)) border-box;
    animation: rspinr 16s linear infinite;
    opacity: .45;
}

@keyframes rspin {
    to {
        transform: rotate(360deg)
    }
}

@keyframes rspinr {
    to {
        transform: rotate(-360deg)
    }
}

.logo-img {
    position: absolute;
    inset: 12px;
    width: calc(100% - 24px);
    height: calc(100% - 24px);
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(124, 58, 237, .95));
    animation: lglow 4s ease-in-out infinite 2s;
}

@keyframes lglow {

    0%,
    100% {
        filter: drop-shadow(0 0 20px rgba(124, 58, 237, .95))
    }

    50% {
        filter: drop-shadow(0 0 38px rgba(168, 85, 247, 1))
    }
}

/* Company name Ã¢â‚¬â€ BIG */
.company-name {
    font-family: 'Cinzel', serif;
    font-size: 38px;
    font-weight: 900;
    letter-spacing: .12em;
    text-align: center;
    line-height: 1.15;
    background: linear-gradient(135deg, #fff 0%, #e0d4ff 20%, #c4b5fd 40%, #f9a8d4 65%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.company-sub {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 15px;
    color: rgba(196, 181, 253, .5);
    letter-spacing: .3em;
    text-align: center;
    margin-top: -4px;
}

/* Deco lines */
.dlines {
    width: 85%;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.dl {
    height: 1px;
}

.dl1 {
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, .6), transparent);
}

.dl2 {
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, .35), transparent);
    width: 78%;
    margin: 0 auto;
}

.dl3 {
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, .18), transparent);
    width: 52%;
    margin: 0 auto;
}

/* Stats 2x2 Ã¢â‚¬â€ large */
.stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
}

.stat {
    padding: 12px 10px;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    position: relative;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.stat::before {
    display: none;
}

.snum {
    font-family: 'Cinzel', serif;
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #c4b5fd, #f9a8d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.slbl {
    font-size: 10px;
    letter-spacing: .18em;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    margin-top: 3px;
}

/* Org label */
.org-lbl {
    font-family: 'Cinzel', serif;
    font-size: 11px;
    letter-spacing: .34em;
    color: rgba(168, 85, 247, .5);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 85%;
}

.ol {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, .35));
}

.olr {
    background: linear-gradient(90deg, rgba(168, 85, 247, .35), transparent);
}

/* Enter button Ã¢â‚¬â€ LARGE, full width */
.enter-btn {
    width: 92%;
    padding: 24px 32px;
    border: 1px solid rgba(124, 58, 237, .55);
    background: rgba(124, 58, 237, .09);
    color: #c4b5fd;
    font-family: 'Cinzel', serif;
    font-size: 18px;
    letter-spacing: .3em;
    text-transform: uppercase;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
    transition: all .4s;
    cursor: none;
}

.enter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, .8), transparent);
}

.ebg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, .25), rgba(219, 39, 119, .14));
    opacity: 0;
    transition: opacity .4s;
}

.enter-btn:hover .ebg {
    opacity: 1;
}

.enter-btn:hover {
    border-color: rgba(168, 85, 247, .9);
    box-shadow: 0 0 35px rgba(124, 58, 237, .28);
    letter-spacing: .38em;
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .1), transparent);
    transform: skewX(-20deg);
    transition: left .55s;
    z-index: 1;
}

.enter-btn:hover .btn-shine {
    left: 160%;
}

.btn-txt,
.btn-arr {
    position: relative;
    z-index: 2;
}

.btn-arr {
    transition: transform .3s;
    font-size: 16px;
}

.enter-btn:hover .btn-arr {
    transform: translateX(5px);
}


/* â”€â”€ APP STYLES (scoped to #app-screen) â”€â”€ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* â”€â”€ Sky Mint + Graphite palette over image background â”€â”€ */
    --bg: transparent;
    --bg-card: rgba(37, 39, 44, 0.88);
    /* frosted graphite card */
    --bg-card-dark: rgba(20, 30, 25, 0.72);
    /* dark frosted (quote box) */
    --primary: #FFFFFF;
    /* text on dark cards should be white */
    --secondary: #B8F7E4;
    /* body subtext on dark cards is sky mint */
    --accent: #B8F7E4;
    /* sky mint â€“ active, highlights, borders */
    --accent-dark: #6EDFC4;
    /* deeper mint for contrast on light bg */
    --success: #1F8A70;
    --danger: #C0392B;
    --border: rgba(184, 247, 228, 0.35);
    /* mint-tinted border */
    --border-dark: rgba(255, 255, 255, 0.15);
    /* border on cards */
    --text-muted: #A0A5B5;
    --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.12);
    --shadow-md: 0 6px 24px rgba(0, 0, 0, 0.18);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.25);
    /* legacy aliases */
    --gold: #B8F7E4;
    --gold-light: #6EDFC4;
    --green: #1F8A70;
    --green-bg: rgba(31, 138, 112, 0.15);
    --purple: #25272C;
    --purple-light: #3D4048;
    --purple-glow: rgba(37, 39, 44, 0.25);
    --primary-hover: #3D4048;
    --primary-glow: rgba(37, 39, 44, 0.2);
    --bg-dark: rgba(20, 30, 25, 0.72);
}

/* â”€â”€ FULL-PAGE BACKGROUND IMAGE (fixed, behind everything) â”€â”€ */
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-image: url('Back-imag.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: #0d2b20;
}

#app-screen {
    font-family: 'DM Sans', 'Segoe UI', sans-serif;
    background: transparent !important;
    min-height: 100vh;
    min-height: 100dvh;
    height: auto;
    color: var(--primary);
    position: relative;
    overflow-x: hidden;
    overflow-y: visible;
}

#app-screen .bg-overlay {}

/* â”€â”€â”€ PAGE SYSTEM â”€â”€â”€ */
#app-screen .page {
    display: none;
    position: relative;
    z-index: 1;
    min-height: 100vh;
    min-height: 100dvh;
    height: auto;
    overflow-x: hidden;
    overflow-y: visible;
}

#app-screen .page.active {
    display: block;
}

/* When dashboard is active, suppress the app-screen background image so video shows */
#app-screen:has(#page-dashboard.active) {
    background-image: none !important;
    background-color: transparent !important;
}

#app-screen:has(#page-dashboard.active) .bg-overlay {
    display: none !important;
}

/* Global Market page â€” background image enabled for NSE Live, BSE Live, and Global Indices tabs */
#page-global-market {
    min-height: 100vh;
}

/* Section container on global market â€” full width, no clipping */
#page-global-market .section-container {
    padding-bottom: 40px !important;
}

/* â”€â”€â”€ DASHBOARD BACKGROUND & GLASSMORPHISM â”€â”€â”€ */
#page-dashboard {
    position: relative;
    overflow-x: hidden;
    overflow-y: visible;
    min-height: 100vh;
    min-height: 100dvh;
    height: auto;
}

#dashboard-bg-image,
#dashboard-bg-overlay {
    display: none !important;
}

/* Canvas for animated particles */
#dashboard-particles {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Animated Blobs */
.dashboard-blob {
    display: none !important;
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.28;
    z-index: 1;
    pointer-events: none;
    animation: floatBlob 25s infinite alternate ease-in-out;
}

.blob-blue {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(0, 180, 255, 0.6) 0%, rgba(0, 100, 255, 0.05) 70%);
    top: 5%;
    left: 10%;
}

.blob-purple {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.45) 0%, rgba(91, 33, 182, 0) 70%);
    bottom: 15%;
    right: 5%;
    animation-delay: -6s;
    animation-duration: 28s;
}

.blob-teal {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.45) 0%, rgba(8, 145, 178, 0) 70%);
    top: 40%;
    left: 40%;
    animation-delay: -12s;
    animation-duration: 22s;
}

@keyframes floatBlob {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(80px, -60px) scale(1.15);
    }

    100% {
        transform: translate(-40px, 40px) scale(0.9);
    }
}

/* Make dashboard content sit above the video/image and blobs */
#page-dashboard.active .container {
    position: relative;
    z-index: 2;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ Dashboard header / navbar Ã¢â€â‚¬Ã¢â€â‚¬ */
#page-dashboard .header {
    position: relative !important;
    z-index: 1000 !important;
    background: var(--bg-card) !important;
    border: 1px solid var(--border) !important;
    border-radius: 16px !important;
    padding: 16px 28px !important;
    margin-top: 15px !important;
    margin-bottom: 40px !important;
    box-shadow: var(--shadow-md) !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ Progress section Ã¢â€â‚¬Ã¢â€â‚¬ */
#page-dashboard .progress-section {
    background: var(--bg-card) !important;
    border: 1px solid var(--border) !important;
    border-radius: 16px !important;
    padding: 26px 30px !important;
    margin-bottom: 36px !important;
    box-shadow: var(--shadow-sm) !important;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ Dashboard cards Ã¢â€â‚¬Ã¢â€â‚¬ */
#page-dashboard .card {
    background: var(--bg-card) !important;
    border: 1px solid var(--border) !important;
    border-radius: 16px !important;
    padding: 26px !important;
    transition: all 0.3s ease !important;
    box-shadow: var(--shadow-sm) !important;
}

#page-dashboard .card:hover {
    background: rgba(45, 48, 54, 0.92) !important;
    border-color: var(--accent) !important;
    transform: translateY(-4px) !important;
    box-shadow: var(--shadow-lg) !important;
}

/* Scrollable Quote & Video Section */
#page-dashboard .quote-video-section {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 24px;
    margin-top: 40px;
    margin-bottom: 40px;
    align-items: stretch;
}

#page-dashboard .video-box {
    background: var(--bg-card) !important;
    border: 1px solid var(--border) !important;
    border-radius: 16px !important;
    padding: 16px !important;
    box-shadow: var(--shadow-sm) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16 / 9;
    transition: all 0.3s ease !important;
}

#page-dashboard .video-box:hover {
    transform: translateY(-4px) !important;
    border-color: var(--accent) !important;
    box-shadow: var(--shadow-lg) !important;
}

#page-dashboard .video-box video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ Quote / inspiration box Ã¢â€â‚¬Ã¢â€â‚¬ */
#page-dashboard .quote-box {
    background: var(--accent) !important;
    border: 1px solid var(--border) !important;
    border-radius: 16px !important;
    padding: 32px !important;
    box-shadow: var(--shadow-md) !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease !important;
}

#page-dashboard .quote-box:hover {
    transform: translateY(-4px) !important;
    box-shadow: var(--shadow-lg) !important;
}

#page-dashboard .quote-text {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 22px;
    font-style: italic;
    font-weight: 500;
    line-height: 1.6;
    color: #000000;
    margin-bottom: 16px;
    position: relative;
}

#page-dashboard .quote-author {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    opacity: 0.9;
}

@media (max-width: 991px) {
    #page-dashboard .quote-video-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Clean and premium styles for top navbar buttons */
#page-dashboard .header .logout-btn {
    padding: 9px 22px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    border-radius: 24px !important;
    border: 1.5px solid var(--primary) !important;
    background: transparent !important;
    color: var(--primary) !important;
    transition: all 0.25s ease !important;
    letter-spacing: 0.3px;
}

#page-dashboard .header .logout-btn:hover {
    transform: translateY(-2px) !important;
    background: var(--accent) !important;
    color: #25272C !important;
    border-color: var(--accent) !important;
    box-shadow: var(--shadow-md) !important;
}

/* Responsive arrangement for navbar */
@media (max-width: 1024px) {
    #page-dashboard .header {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 18px !important;
        padding: 22px !important;
    }

    #page-dashboard .header-left {
        text-align: center !important;
    }

    #page-dashboard .header-left div {
        justify-content: center !important;
    }

    #page-dashboard .header div[style*="display:flex;gap:8px"] {
        justify-content: center !important;
    }
}

/* Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â
 /* Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â
   LOGIN PAGE
Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â */
#app-screen #page-login {
    display: none;
    position: relative;
    overflow: hidden;
}

#app-screen #page-login.active {
    display: grid;
    grid-template-columns: 45% 55%;
    min-height: 100vh;
    align-items: stretch;
}

/* Background */
#app-screen .login-bg {
    position: absolute;
    inset: 0;
    background-image: url('ajmera-background.png');
    background-size: cover;
    background-position: center center;
    z-index: 0;
    animation: slowZoom 20s ease-in-out infinite alternate;
}

@keyframes slowZoom {
    0% {
        transform: scale(1.04);
    }

    100% {
        transform: scale(1.10);
    }
}

#app-screen .login-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(5, 2, 18, 0.75) 0%,
            rgba(10, 5, 30, 0.45) 50%,
            rgba(5, 2, 18, 0.75) 100%);
}

#app-screen #login-canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

#app-screen .glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 1;
    animation: orbPulse 6s ease-in-out infinite;
}

#app-screen .glow-orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(27, 54, 93, 0.18) 0%, transparent 70%);
    top: -100px;
    left: -100px;
}

#app-screen .glow-orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 180, 50, 0.15) 0%, transparent 70%);
    bottom: -80px;
    right: 20%;
    animation-delay: 3s;
}

@keyframes orbPulse {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.12);
    }
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ LEFT PANEL: Brand info Ã¢â€â‚¬Ã¢â€â‚¬ */
#app-screen .login-brand {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 30px;
}

#app-screen .brand-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 210, 80, 0.85);
    font-weight: 600;
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.2s forwards;
}

#app-screen .brand-eyebrow::before {
    content: '';
    width: 28px;
    height: 1px;
    background: rgba(255, 210, 80, 0.6);
}

#app-screen .brand-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(40px, 4vw, 56px);
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 16px;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.4s forwards;
}

#app-screen .brand-title span {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#app-screen .brand-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.55;
    max-width: 460px;
    font-weight: 300;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.6s forwards;
}

#app-screen .brand-stats {
    display: flex;
    gap: 32px;
    margin-top: 24px;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.8s forwards;
}

#app-screen .stat-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 40px;
    font-weight: 700;
    color: #FFD700;
    line-height: 1;
}

#app-screen .stat-lbl {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 4px;
}

#app-screen .brand-divider {
    display: none;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ RIGHT PANEL: Login card Ã¢â€â‚¬Ã¢â€â‚¬ */
#app-screen .login-panel {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 40px;
    margin-left: 280px;
}

#app-screen .login-card {
    width: 100%;
    max-width: 390px;
    background: linear-gradient(135deg, rgba(20, 10, 48, 0.78) 0%, rgba(12, 8, 28, 0.88) 100%) !important;
    backdrop-filter: blur(28px) saturate(2.1) !important;
    -webkit-backdrop-filter: blur(28px) saturate(2.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.24) !important;
    border-left: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 24px;
    padding: 34px 28px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 0 50px rgba(124, 58, 237, 0.18) !important;
    opacity: 0;
    transform: translateY(24px);
    animation: cardReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
}

@keyframes cardReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#app-screen .card-logo {
    text-align: center;
    margin-bottom: 28px;
}

#app-screen .card-logo img {
    width: 55px;
    height: auto;
    margin-bottom: 10px;
    filter: drop-shadow(0 4px 16px rgba(91, 33, 182, 0.5));
}

#app-screen .card-logo-fallback {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #1B365D, #2a5298);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 24px;
    font-weight: 700;
}

#app-screen .card-logo h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
}

#app-screen .card-logo p {
    font-size: 13px;
    color: rgba(196, 181, 253, 1);
    margin-top: 4px;
    font-weight: 500;
}

#app-screen .card-sep {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(139, 92, 246, 0.7), transparent);
    margin: 0 -24px 20px;
}

/* Labels */
#app-screen .login-field {
    margin-bottom: 14px;
}

#app-screen .login-field label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(220, 210, 255, 1);
    margin-bottom: 6px;
}

#app-screen .input-wrap {
    position: relative;
}

#app-screen .input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(196, 181, 253, 1);
    font-size: 16px;
    pointer-events: none;
    z-index: 1;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ INPUTS: dark bg, WHITE text clearly visible Ã¢â€â‚¬Ã¢â€â‚¬ */
#app-screen .login-field input {
    width: 100%;
    padding: 12px 14px 12px 42px;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 10px;
    color: #ffffff;
    font-size: 15px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    outline: none;
}

#app-screen .login-field input::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
    font-weight: 400;
}

#app-screen .login-field input:focus {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(124, 58, 237, 0.9) !important;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.25) !important;
    color: #ffffff;
}

/* OTP hint text Ã¢â‚¬â€ clearly visible */
#app-screen #otp-mobile-hint {
    text-align: center;
    font-size: 17px;
    color: #c4b5fd !important;
    font-weight: 500;
    margin-bottom: 16px;
    background: rgba(124, 58, 237, 0.25);
    border: 1px solid rgba(139, 92, 246, 0.6);
    border-radius: 10px;
    padding: 10px 16px;
}

/* Resend OTP / Change details links */
#app-screen #step2-fields .otp-links {
    text-align: center;
    margin-top: 12px;
}

#app-screen #step2-fields a {
    font-size: 13px !important;
    color: #1B365D !important;
    font-weight: 600 !important;
    text-decoration: underline;
}

/* Submit button */
#app-screen .login-submit {
    width: 100%;
    padding: 13px;
    background: linear-gradient(135deg, #1B365D 0%, #2a5298 60%, #9333ea 100%);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    margin-top: 8px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(91, 33, 182, 0.5);
    letter-spacing: 0.5px;
}

#app-screen .login-submit::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 50%;
    height: 200%;
    background: rgba(255, 255, 255, 0.12);
    transform: skewX(-20deg);
    transition: left 0.5s ease;
}

#app-screen .login-submit:hover::before {
    left: 120%;
}

#app-screen .login-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(91, 33, 182, 0.7);
}

/* Error */
#app-screen .login-error {
    background: rgba(220, 38, 38, 0.15);
    border: 1px solid rgba(220, 38, 38, 0.4);
    border-radius: 10px;
    padding: 12px 16px;
    color: #fca5a5;
    font-size: 16px;
    text-align: center;
    margin-top: 14px;
    display: none;
}

/* Footer Ã¢â‚¬â€ fully visible links */
#app-screen .login-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(139, 92, 246, 0.4);
}

#app-screen .login-footer p {
    font-size: 16px;
    color: rgba(220, 210, 255, 1) !important;
    margin-bottom: 8px;
    font-weight: 400;
}

#app-screen .login-footer a {
    font-size: 17px !important;
    color: #FFD700 !important;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: color 0.2s;
    display: inline-block;
    background: rgba(255, 215, 0, 0.1);
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

#app-screen .login-footer a:hover {
    color: #fff !important;
    background: rgba(255, 215, 0, 0.2);
}

/* Scroll dots */
#app-screen .login-scroll-hint {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    z-index: 2;
    opacity: 0;
    animation: fadeUp 1s ease 1.4s forwards;
}

#app-screen .scroll-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(196, 181, 253, 0.5);
    animation: dotBounce 1.6s ease-in-out infinite;
}

#app-screen .scroll-dot:nth-child(2) {
    animation-delay: 0.2s;
}

#app-screen .scroll-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dotBounce {

    0%,
    80%,
    100% {
        opacity: 0.4;
        transform: scale(1);
    }

    40% {
        opacity: 1;
        transform: scale(1.5);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    #app-screen #page-login.active {
        grid-template-columns: 1fr;
    }

    #app-screen .login-brand,
    #app-screen .login-center {
        display: none;
    }

    #app-screen .login-panel {
        padding: 40px 24px;
        margin-left: 0 !important;
        width: 100% !important;
    }
}


/* Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â
           GLOBAL EXCHANGES GLOBE SECTION
        Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â */
#app-screen .globe-section {
    margin: 40px 0 20px;
    padding: 0 0 40px;
}

#app-screen .globe-header {
    text-align: center;
    margin-bottom: 24px;
}

#app-screen .globe-title {
    font-family: 'Cinzel', serif;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

#app-screen .globe-sub {
    font-size: 14px;
    color: rgba(196, 181, 253, 0.7);
    letter-spacing: 0.5px;
}

#app-screen .globe-wrap {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    height: 600px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(27, 54, 93, 0.12);
    background: radial-gradient(ellipse at 50% 50%,
            rgba(15, 5, 40, 0.95) 0%,
            rgba(5, 2, 15, 0.98) 70%);
    box-shadow:
        0 0 80px rgba(27, 54, 93, 0.10),
        inset 0 0 60px rgba(0, 0, 0, 0.5);
}

#app-screen #globeCanvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
    cursor: grab;
}

#app-screen #globeCanvas:active {
    cursor: grabbing;
}

/* Exchange popup card */
#app-screen .exch-popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    background: rgba(10, 5, 30, 0.96);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(124, 58, 237, 0.5);
    border-radius: 20px;
    padding: 28px 32px;
    min-width: 260px;
    max-width: 320px;
    text-align: center;
    z-index: 100;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.8),
        0 0 30px rgba(27, 54, 93, 0.12);
    animation: popupIn 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes popupIn {
    from {
        opacity: 0;
        transform: translate(-50%, -55%) scale(0.85);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -60%) scale(1);
    }
}

#app-screen .exch-popup-logo {
    font-size: 36px;
    margin-bottom: 8px;
}

#app-screen .exch-popup-code {
    font-family: 'Cinzel', serif;
    font-size: 13px;
    letter-spacing: 3px;
    color: rgba(167, 139, 250, 0.7);
    text-transform: uppercase;
    margin-bottom: 6px;
}

#app-screen .exch-popup-name {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 12px;
}

#app-screen .exch-popup-types {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-bottom: 14px;
}

#app-screen .exch-type-tag {
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(27, 54, 93, 0.12);
    border: 1px solid rgba(124, 58, 237, 0.35);
    color: rgba(196, 181, 253, 0.9);
    letter-spacing: 0.5px;
}

#app-screen .exch-popup-country {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

#app-screen .exch-popup-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.6);
    width: 28px;
    height: 28px;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

#app-screen .exch-popup-close:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
    color: #f87171;
}

/* Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â
           DASHBOARD PAGE
        Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â */
#app-screen .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

#app-screen .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    padding: 20px 0;
}

#app-screen .header-left h1 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 4px;
}

#app-screen .header-left p {
    font-size: 14px;
    color: var(--text-muted);
}

#app-screen .logout-btn,
.mobile-header-bar .logout-btn,
.nav-sidebar .logout-btn {
    padding: 8px 18px;
    background: rgba(239, 68, 68, 0.2) !important;
    border: 1px solid rgba(239, 68, 68, 0.5) !important;
    border-radius: 20px;
    color: #ff8a8a !important;
    font-size: 13px;
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

#app-screen .logout-btn:hover,
.mobile-header-bar .logout-btn:hover,
.nav-sidebar .logout-btn:hover {
    background: rgba(239, 68, 68, 0.9) !important;
    color: #ffffff !important;
    border-color: rgba(239, 68, 68, 1) !important;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

#app-screen .feat-item {
    padding: 13px 18px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    transition: background 0.2s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

#app-screen .feat-item:last-child {
    border-bottom: none;
}

#app-screen .feat-active:hover {
    background: rgba(124, 58, 237, 0.25);
}

#app-screen .feat-soon {
    color: rgba(255, 255, 255, 0.35);
    cursor: default;
    pointer-events: none;
}

#app-screen .feat-soon::after {
    content: " Ã¢â‚¬â€ Soon";
    font-size: 10px;
    color: rgba(245, 158, 11, 0.5);
    margin-left: 4px;
}

/* Client status badges */
#app-screen .client-badge {
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

#app-screen .badge-active {
    background: rgba(31, 138, 112, 0.18);
    color: #1F8A70;
    border: 1px solid rgba(76, 175, 80, 0.4);
}

#app-screen .badge-inactive {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

#app-screen .main-title {
    margin-bottom: 40px;
}

#app-screen .main-title h2 {
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 12px;
}

#app-screen .main-title p {
    font-size: 15px;
    color: #aaa;
    max-width: 700px;
    line-height: 1.6;
}

/* Progress */
#app-screen .progress-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 36px;
}

#app-screen .progress-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

#app-screen .progress-header h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 6px;
}

#app-screen .progress-header p {
    font-size: 13px;
    color: var(--text-muted);
}

#app-screen .progress-percent-display {
    text-align: right;
}

#app-screen .progress-num {
    font-size: 44px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#app-screen .progress-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

#app-screen .progress-bar-wrap {
    width: 100%;
    height: 8px;
    background: rgba(27, 54, 93, 0.08);
    border-radius: 10px;
    overflow: hidden;
}

#app-screen .progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--gold-light));
    border-radius: 10px;
    width: 0%;
    transition: width 0.8s ease;
}

/* Cards */
#app-screen .cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 18px;
    margin-bottom: 30px;
}

#app-screen .card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#app-screen .card:hover {
    background: #25272C;
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(184, 247, 228, 0.08);
}

#app-screen .card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 18px;
    gap: 8px;
}

#app-screen .card-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 180, 255, 0.15) !important;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 180, 255, 0.25) !important;
}

#app-screen .card-icon svg {
    width: 26px;
    height: 26px;
    fill: #00b4ff !important;
}

#app-screen .card-status {
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    display: inline-block;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: auto;
}

#app-screen .status-completed {
    background: rgba(31, 138, 112, 0.18);
    color: #1F8A70;
    border: 1px solid rgba(31, 138, 112, 0.28);
}

#app-screen .status-not-started {
    background: rgba(158, 158, 158, 0.15);
    color: #9e9e9e;
    border: 1px solid rgba(158, 158, 158, 0.2);
}

#app-screen .status-coming-soon {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.35);
}

#app-screen .card-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
}

#app-screen .card-content p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â
           SECTION PAGES (shared styles)
        Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â */
#app-screen .section-page {
    padding: 0;
}

#app-screen .section-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 20px 60px;
}

#app-screen #page-mutual-funds .section-container,
#app-screen #page-stock-holdings .section-container {
    max-width: 1100px;
}

/* Transparent Ã¢â‚¬â€ bg image shows through on MF and Demat pages too */
#app-screen #page-mutual-funds,
#app-screen #page-stock-holdings {
    background: transparent;
}

#app-screen #page-mutual-funds .section-header h2,
#app-screen #page-stock-holdings .section-header h2 {
    color: #ffffff;
}

#app-screen #page-mutual-funds .section-header,
#app-screen #page-stock-holdings .section-header {
    border-bottom-color: rgba(255, 255, 255, 0.15);
}

#app-screen .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

#app-screen .section-header h2 {
    font-size: var(--fs-h2);
    font-weight: 700;
    letter-spacing: -0.02em;
}

#app-screen .section-header-actions {
    display: flex;
    gap: 12px;
}

#app-screen .btn-back {
    padding: 10px 22px;
    border-radius: 8px;
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

#app-screen .btn-back:hover {
    border-color: var(--accent);
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-1px);
}

#app-screen .btn-save {
    padding: 10px 24px;
    border-radius: 8px;
    background: var(--p);
    border: 1.5px solid var(--p);
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.3px;
}

#app-screen .btn-save:hover {
    transform: translateY(-2px);
    background: var(--lp);
    border-color: var(--lp);
    box-shadow: 0 8px 20px rgba(157, 92, 255, 0.3);
}

#app-screen .btn-save:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Form fields */
#app-screen .section-card {
    background: #FFFFFF;
    border: 1px solid rgba(27, 54, 93, 0.10);
    border-radius: 14px;
    padding: 28px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(27, 54, 93, 0.06);
}

#app-screen .section-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(27, 54, 93, 0.10);
    display: flex;
    align-items: center;
    gap: 8px;
}

#app-screen .section-card h3::before {
    content: '';
    width: 4px;
    height: 18px;
    background: #F4F7FB;
    border-radius: 2px;
    display: inline-block;
}

#app-screen .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 16px;
}

#app-screen .form-row.single {
    grid-template-columns: 1fr;
}

#app-screen .form-row.triple {
    grid-template-columns: 1fr 1fr 1fr;
}

#app-screen .field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

#app-screen .field-group label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#app-screen .field-group input,
#app-screen .field-group select,
#app-screen .field-group textarea {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 11px 14px;
    color: var(--primary);
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
}

#app-screen .field-group input:focus,
#app-screen .field-group select:focus,
#app-screen .field-group textarea:focus {
    outline: none;
    border-color: #9d5cff;
    box-shadow: 0 0 0 3px rgba(157, 92, 255, 0.25);
    background: rgba(255, 255, 255, 0.12);
}

/* Autofill styling override to prevent browser white background */
#app-screen input:-webkit-autofill,
#app-screen input:-webkit-autofill:hover,
#app-screen input:-webkit-autofill:focus,
#app-screen input:-webkit-autofill:active {
    -webkit-text-fill-color: #ffffff !important;
    -webkit-box-shadow: 0 0 0 30px #130a2a inset !important;
    box-shadow: 0 0 0 30px #130a2a inset !important;
}

#app-screen .field-group select option {
    background: #12092b;
    color: #ffffff;
}

#app-screen .field-group textarea {
    resize: vertical;
    min-height: 80px;
}

#app-screen .field-group input::placeholder,
#app-screen .field-group textarea::placeholder {
    color: #9ca3af;
}

/* YES/NO Question */
#app-screen .yn-question {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 16px;
}

#app-screen .yn-question p {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 14px;
}

#app-screen .yn-btns {
    display: flex;
    gap: 12px;
}

#app-screen .yn-btn {
    padding: 10px 28px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: var(--primary);
    transition: all 0.25s ease;
}

#app-screen .yn-btn.yes-btn:hover,
#app-screen .yn-btn.yes-btn.active {
    background: rgba(31, 138, 112, 0.18);
    border-color: #1F8A70;
    color: #1F8A70;
}

#app-screen .yn-btn.no-btn:hover,
#app-screen .yn-btn.no-btn.active {
    background: rgba(239, 68, 68, 0.15);
    border-color: #ef4444;
    color: #ef4444;
}

/* Add More button */
#app-screen .btn-add-more {
    width: 100%;
    padding: 14px;
    border: 2px dashed rgba(201, 151, 0, 0.25);
    border-radius: 10px;
    background: rgba(201, 151, 0, 0.06);
    color: var(--primary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}

#app-screen .btn-add-more:hover {
    background: rgba(201, 151, 0, 0.12);
    border-color: rgba(201, 151, 0, 0.55);
}

/* Sub-section accordion */
#app-screen .sub-section {
    margin-top: 16px;
    display: none;
}

#app-screen .sub-section.open {
    display: block;
}

#app-screen .sub-section-inner {
    border-left: 3px solid var(--purple);
    padding-left: 20px;
    margin-top: 10px;
}

/* Insurance type selector */
#app-screen .insurance-types {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 4px;
}

#app-screen .insurance-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 16px 20px;
}

#app-screen .insurance-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#app-screen .insurance-item-header span {
    font-size: 14px;
    font-weight: 500;
}

/* Nominee toggle */
#app-screen .nominee-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 16px;
    margin-top: 10px;
}

#app-screen .nominee-toggle span {
    font-size: 13px;
    color: var(--text-muted);
}

/* Progress save indicator */
#app-screen .save-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--green);
    color: var(--primary);
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transform: translateY(80px);
    opacity: 0;
    transition: all 0.35s ease;
    z-index: 999;
}

#app-screen .save-toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* Member remove button */
#app-screen .member-block {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 14px;
    position: relative;
}

#app-screen .member-block-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

#app-screen .member-block-title h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

#app-screen .btn-remove {
    display: none !important;
    /* hidden by user request */
}

#app-screen .btn-remove-DISABLED {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

#app-screen .btn-remove:hover {
    background: rgba(239, 68, 68, 0.2);
}

/* Investment card entry */
#app-screen .inv-entry {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    padding: 18px;
    margin-bottom: 12px;
    position: relative;
}

#app-screen .inv-entry-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

#app-screen .inv-entry-header span {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
}

/* Footer */
#app-screen .footer {
    text-align: right;
    padding: 20px 0;
    color: #555;
    font-size: 13px;
}

#app-screen .footer a {
    color: var(--primary);
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    #app-screen .cards-grid {
        grid-template-columns: 1fr;
    }

    #app-screen .main-title h2 {
        font-size: 32px;
    }

    #app-screen .form-row {
        grid-template-columns: 1fr;
    }

    #app-screen .form-row.triple {
        grid-template-columns: 1fr;
    }

    #app-screen .login-container {
        margin-right: 0;
    }

    #app-screen #page-login.active {
        justify-content: center;
    }
}


/* Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â
   TELEGRAM CHATBOT Ã¢â‚¬â€ Floating Widget + Full Page
Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â */

/* Ã¢â€â‚¬Ã¢â€â‚¬ Floating Telegram Button (bottom-right, always visible) Ã¢â€â‚¬Ã¢â€â‚¬ */

/* Light-mode section-header on sub-pages */
.page:not(#page-global-market) .section-header {
    background: var(--bg-card) !important;
    border: 1px solid var(--border) !important;
    border-radius: 20px !important;
    padding: 16px 28px !important;
    margin-top: 15px !important;
    margin-bottom: 45px !important;
    box-shadow: var(--shadow-md) !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.page:not(#page-global-market) .section-header h2 {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: var(--primary) !important;
    margin: 0 !important;
}

/* Light-mode table wrappers */
#mf-table-wrap>div,
#stock-table-wrap>div,
#holding-table-wrap,
#ledger-table-wrap,
#global-table-wrap,
#contract-table-wrap {
    background: var(--bg-card) !important;
    border: 1px solid var(--border) !important;
    box-shadow: var(--shadow-md) !important;
    border-radius: 22px !important;
    overflow: hidden !important;
    padding: 24px !important;
    margin-top: 20px !important;
}

/* Make sure MF and Stock table wrappers look clean */
#mf-table-wrap>div,
#stock-table-wrap>div {
    border: 1px solid var(--border) !important;
    padding: 0 !important;
    /* table wrappers already handle internal layouts */
}

#mf-table-wrap>div>div:first-child,
#stock-table-wrap>div>div:first-child {
    background: rgba(255, 255, 255, 0.05) !important;
    border-bottom: 1px solid var(--border) !important;
    padding: 16px 24px !important;
}

#mf-table-wrap>div>div:first-child span,
#stock-table-wrap>div>div:first-child span {
    color: var(--primary) !important;
}

/* Filter block glassmorphism overrides on ledger, P&L, contract note */
.page:not(#page-global-market) .section-container>div[style*="display:flex;flex-wrap:wrap"],
.page:not(#page-global-market) .section-container>div[style*="display:flex;gap:24px"],
#holding-table-wrap+div[style*="display:flex"] {
    background: var(--bg-card) !important;
    backdrop-filter: blur(25px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(25px) saturate(200%) !important;
    border: 1px solid var(--border) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-left: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 16px !important;
    box-shadow: var(--shadow-md) !important;
    padding: 20px !important;
    margin-bottom: 24px !important;
}

/* Table styling for glassmorphic views */
.page:not(#page-global-market) table {
    width: 100% !important;
    border-collapse: collapse !important;
    color: var(--primary) !important;
    border: none !important;
}

.page:not(#page-global-market) thead tr {
    background: rgba(255, 255, 255, 0.3) !important;
    border-bottom: 1px solid var(--border) !important;
}

.page:not(#page-global-market) th {
    color: var(--primary) !important;
    font-weight: 600 !important;
    padding: 12px 14px !important;
    border: none !important;
    border-bottom: 1px solid var(--border) !important;
    font-size: 12px !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
}

.page:not(#page-global-market) tbody tr {
    background: transparent !important;
    border-bottom: 1px solid rgba(37, 39, 44, 0.1) !important;
    transition: background 0.2s ease !important;
}

.page:not(#page-global-market) tbody tr:hover {
    background: rgba(255, 255, 255, 0.2) !important;
}

.page:not(#page-global-market) td {
    padding: 12px 14px !important;
    color: var(--primary) !important;
    border: none !important;
    border-bottom: 1px solid rgba(37, 39, 44, 0.1) !important;
}

.page:not(#page-global-market) tfoot tr {
    background: rgba(255, 255, 255, 0.4) !important;
    border-top: 2px solid var(--border) !important;
}

.page:not(#page-global-market) tfoot td {
    color: var(--primary) !important;
    font-weight: 700 !important;
    border: none !important;
    padding: 14px 14px !important;
}

/* Specific text highlight overrides for Mutual funds / Demat holdings columns */
#page-mutual-funds td:nth-child(2),
#page-stock-holdings td:nth-child(2) {
    color: var(--primary) !important;
    font-weight: 600 !important;
}

#page-mutual-funds td:nth-child(5),
#page-stock-holdings td:nth-child(5) {
    color: #10b981 !important;
    /* Green total highlight */
    font-weight: 700 !important;
}

/* Holdings report text styles */
#page-holdings-report td:nth-child(2) {
    color: #1B365D !important;
    font-weight: 700 !important;
}

#page-holdings-report td:nth-child(3) {
    color: var(--primary) !important;
    font-weight: 500 !important;
}

#page-holdings-report td:nth-child(10) {
    color: #10b981 !important;
    font-weight: 700 !important;
}

#page-holdings-report td:nth-child(12) {
    color: var(--primary) !important;
    font-weight: 600 !important;
}

#page-holdings-report td:nth-child(13) {
    color: #fbbf24 !important;
    font-weight: 600 !important;
}

/* Form section cards inside sub-forms (Personal info, Family details, etc.) */
#app-screen .section-card {
    background: var(--bg-card) !important;
    backdrop-filter: blur(25px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(25px) saturate(200%) !important;
    border: 1px solid var(--border) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-left: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 16px !important;
    box-shadow: var(--shadow-sm) !important;
}

#app-screen .section-card h3 {
    color: var(--primary) !important;
}

/* Dropdown features and global market menu */
@keyframes glassDropdownShow {
    0% {
        opacity: 0;
        transform: perspective(1000px) translateY(-8px) rotateX(-15deg) scale(0.95);
        transform-origin: top center;
    }

    100% {
        opacity: 1;
        transform: perspective(1000px) translateY(0) rotateX(0deg) scale(1);
        transform-origin: top center;
    }
}

#featuresMenu,
#globalMarketMenu {
    display: none;
    position: absolute;
    right: 0;
    top: 110%;
    z-index: 9999;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.65) 0%, rgba(10, 10, 10, 0.75) 100%) !important;
    backdrop-filter: blur(25px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(25px) saturate(200%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.22) !important;
    border-left: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: 16px !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), inset 0 0 12px rgba(255, 255, 255, 0.02) !important;
    overflow: hidden !important;
    margin-top: 8px !important;
}

/* Trigger keyframe animation when dropdown style is display: block */
#featuresMenu[style*="display: block"],
#globalMarketMenu[style*="display: block"] {
    animation: glassDropdownShow 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) forwards !important;
}

#app-screen .feat-item {
    padding: 12px 18px !important;
    font-size: 13.5px !important;
    color: var(--primary) !important;
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}

#app-screen .feat-item:last-child {
    border-bottom: none !important;
}

/* Specific hover effects for Global Market vs Features */
#globalMarketMenu .feat-active:hover {
    background: var(--border) !important;
    color: var(--primary) !important;
    border-left: 4px solid rgba(0, 180, 255, 0.8) !important;
    padding-left: 22px !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.6) !important;
}

#featuresMenu .feat-active:hover {
    background: var(--border) !important;
    color: var(--primary) !important;
    border-left: 4px solid rgba(245, 158, 11, 0.8) !important;
    padding-left: 22px !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.6) !important;
}

#app-screen .feat-soon {
    color: rgba(255, 255, 255, 0.3) !important;
    background: transparent !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    padding-left: 18px !important;
    font-style: italic !important;
}

/* Custom style for Selects and Date/Checkbox inputs to match glass design */
.page:not(#page-global-market) select,
.page:not(#page-global-market) input[type="date"],
.page:not(#page-global-market) input[type="checkbox"] {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: var(--primary) !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    outline: none !important;
    transition: all 0.3s ease !important;
}

.page:not(#page-global-market) select option {
    background-color: #12092b !important;
    color: #ffffff !important;
}

.page:not(#page-global-market) select:focus,
.page:not(#page-global-market) input[type="date"]:focus {
    border-color: #F4F7FB !important;
    box-shadow: 0 0 10px rgba(201, 151, 0, 0.3) !important;
}

/* Make buttons look extremely premium and interactive */
.page:not(#page-global-market) .btn-back {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #FFFFFF !important;
    backdrop-filter: blur(5px) !important;
    transition: all 0.3s ease !important;
}

.page:not(#page-global-market) .btn-back:hover {
    transform: translateX(-3px) !important;
    background: rgba(255, 255, 255, 0.18) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1) !important;
}

.page:not(#page-global-market) .btn-save {
    background: var(--accent) !important;
    border: 1px solid var(--accent) !important;
    color: #25272C !important;
    font-weight: 700 !important;
    transition: all 0.3s ease !important;
}

.page:not(#page-global-market) .btn-save:hover {
    transform: translateY(-2px) !important;
    background: #6EDFC4 !important;
    border-color: #6EDFC4 !important;
    box-shadow: 0 6px 20px rgba(110, 223, 196, 0.3) !important;
}

/* Premium button custom style based on user image */
.premium-btn {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.75) 0%, rgba(15, 15, 15, 0.9) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 30px !important;
    padding: 9px 24px !important;
    color: var(--primary) !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.premium-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.4) !important;
    border-color: rgba(168, 85, 247, 0.8) !important;
    background: linear-gradient(135deg, rgba(40, 40, 40, 0.85) 0%, rgba(20, 20, 20, 0.95) 100%) !important;
}

/* Logout icon button in top right of dashboard */
.logout-icon-btn {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    border: none !important;
    background: none !important;
    padding: 0 !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
}

.logout-icon-btn:hover {
    transform: scale(1.1) rotate(-8deg) !important;
    box-shadow: 0 8px 25px rgba(0, 180, 255, 0.45) !important;
}

.logout-icon-btn img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    border-radius: 50% !important;
}

@keyframes pulseGlow {
    0% {
        filter: drop-shadow(0 0 2px rgba(168, 85, 247, 0.4));
        transform: scale(1);
    }

    100% {
        filter: drop-shadow(0 0 12px rgba(168, 85, 247, 0.8));
        transform: scale(1.1);
    }
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   PRODUCTION QUALITY RESPONSIVE & PREMIUM LAYOUT SYSTEM
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

/* Ultra-wide Screen Layouts */
@media (min-width: 1440px) {
    #app-screen .section-container {
        max-width: 1200px !important;
    }
}

@media (min-width: 1920px) {
    #app-screen .section-container {
        max-width: 1440px !important;
    }
}

/* Tablet & Smaller Screen Adjustments (max-width: 1024px) */
@media (max-width: 1024px) {
    #app-screen .section-container {
        padding: 20px 16px 40px !important;
    }
}

/* Mobile Screen Layout Optimization (max-width: 768px) */
@media (max-width: 768px) {

    /* Fluid header alignments */
    #app-screen .section-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
        margin-bottom: 20px !important;
        padding-bottom: 12px !important;
    }

    #app-screen .section-header-actions {
        width: 100% !important;
        justify-content: flex-start !important;
        gap: 8px !important;
    }

    #app-screen .section-header-actions button {
        flex: 1 !important;
        justify-content: center !important;
    }

    /* Grids & Cards columns simplification */
    #app-screen .cards-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    #app-screen .form-row,
    #app-screen .form-row.triple {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        margin-bottom: 12px !important;
    }

    /* Horizontal scroll constraint for wide tables */
    #app-screen .table-wrap,
    #app-screen .table-responsive {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        width: 100% !important;
        margin-bottom: 16px !important;
    }

    #app-screen .table-wrap table {
        width: 100% !important;
        min-width: 600px !important;
    }

    /* Form elements adjustment */
    #app-screen .field-group label {
        font-size: 11px !important;
    }

    #app-screen .field-group input,
    #app-screen .field-group select,
    #app-screen .field-group textarea {
        font-size: 13px !important;
        padding: 10px 12px !important;
    }

    /* Inline-styled Popups scaling override */
    #downloadPopup>div,
    #ledgerDownloadPopup>div,
    #gdDownloadPopup>div,
    #globalDownloadPopup>div,
    #wrongPhonePopup>div {
        max-width: 90vw !important;
        min-width: 0 !important;
        padding: 24px 16px !important;
        box-sizing: border-box !important;
    }

    #downloadPopup h3,
    #ledgerDownloadPopup h3,
    #gdDownloadPopup h3,
    #globalDownloadPopup h3,
    #wrongPhonePopup h3 {
        font-size: 18px !important;
    }
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   MOBILE DRAWER & RESPONSIVE NAV STYLES
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.mobile-header-bar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 64px;
    background: rgba(37, 39, 44, 0.95);
    backdrop-filter: blur(28px) saturate(2.1);
    -webkit-backdrop-filter: blur(28px) saturate(2.1);
    border-bottom: 1px solid rgba(184, 247, 228, 0.25);
    z-index: 9999;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hamburger-btn {
    background: transparent;
    border: none;
    color: #B8F7E4;
    font-size: 28px;
    cursor: pointer;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    transition: transform 0.2s;
}

.hamburger-btn:active {
    transform: scale(0.9);
}

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 99990;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
    display: block;
    opacity: 1;
}

.nav-sidebar {
    position: fixed;
    top: 0;
    left: -290px;
    width: 290px;
    height: 100%;
    background: linear-gradient(180deg, #16181f 0%, #0c0d12 100%);
    border-right: 1px solid rgba(184, 247, 228, 0.25);
    z-index: 99995;
    transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    padding: 20px;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.6);
}

.nav-sidebar.active {
    left: 0;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 20px;
}

.sidebar-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.sidebar-close {
    background: transparent;
    border: none;
    color: #A0A5B5;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.sidebar-menu {
    flex-grow: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-right: 4px;
    scrollbar-width: thin;
    scrollbar-color: rgba(184, 247, 228, 0.2) transparent;
}

.sidebar-menu::-webkit-scrollbar {
    width: 4px;
}

.sidebar-menu::-webkit-scrollbar-thumb {
    background: rgba(184, 247, 228, 0.2);
    border-radius: 99px;
}

.sidebar-item-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.2s;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.sidebar-item-link:hover,
.sidebar-item-link.active {
    color: #ffffff;
    background: rgba(184, 247, 228, 0.12) !important;
    border-color: rgba(184, 247, 228, 0.3) !important;
    box-shadow: 0 4px 12px rgba(184, 247, 228, 0.1);
}

.sidebar-sub-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #6edfc4;
    margin: 18px 0 6px 12px;
    font-weight: 700;
}

/* â”€â”€â”€ TABLE RESPONSIVENESS CONTAINER â”€â”€â”€ */
.responsive-table-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 16px;
    border-radius: 12px;
    border: 1px solid rgba(184, 247, 228, 0.25);
    background: rgba(255, 255, 255, 0.01);
}

.responsive-table-container table {
    min-width: 650px !important;
    width: 100% !important;
    border-collapse: collapse;
}

/* â”€â”€â”€ AUTH MODE BUTTON CLASSES â”€â”€â”€ */
.auth-toggle-btn {
    flex: 1;
    padding: 10px 4px;
    border-radius: 10px;
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    background: transparent;
    color: #888;
    font-size: clamp(11px, 3.2vw, 13px);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s;
    letter-spacing: .5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.auth-toggle-btn.active {
    border-color: rgba(139, 92, 246, 0.8) !important;
    background: rgba(124, 58, 237, 0.22) !important;
    color: #c4b5fd !important;
}

/* â”€â”€â”€ RESPONSIVE BREAKPOINTS FOR APP â”€â”€â”€ */
@media (max-width: 1024px) {
    .top-nav-row {
        display: none !important;
    }

    .mobile-header-bar {
        display: flex;
    }

    #app-screen {
        padding-top: 75px !important;
    }

    #app-screen.login-active,
    #app-screen:has(#page-login.active) {
        padding-top: 0 !important;
    }

    .cards-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }

    .quote-video-section {
        flex-direction: column !important;
        gap: 20px !important;
    }

    .video-box,
    .quote-box {
        width: 100% !important;
        height: auto !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .video-box video {
        height: 200px !important;
    }
}

@media (max-width: 640px) {
    .cards-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .container {
        padding: 0 16px !important;
    }

    .main-title h2 {
        font-size: 26px !important;
    }

    .main-title p {
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    #app-screen .login-panel {
        padding: 20px 12px !important;
    }

    #app-screen .login-card {
        padding: 24px 16px !important;
        border-radius: 16px !important;
    }

    #app-screen .login-field input {
        padding: 11px 14px 11px 42px !important;
        font-size: 13.5px !important;
    }

    #app-screen .auth-toggle-btn {
        font-size: 11.5px !important;
        padding: 8px 2px !important;
    }
}

/* ===================================================================
   INSURANCE PAGE - HIGH CONTRAST OVERRIDES
   Uses #app-screen #page-insurance for maximum CSS specificity
   =================================================================== */

#app-screen #page-insurance {
    background: transparent !important;
}

/* Yes/No question card */
#app-screen #page-insurance .yn-question {
    background: rgba(10, 14, 22, 0.90) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border: 1px solid rgba(184, 247, 228, 0.35) !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5) !important;
}

#app-screen #page-insurance .yn-question p {
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6) !important;
}

/* Yes/No buttons */
#app-screen #page-insurance .yn-btn {
    background: rgba(255, 255, 255, 0.09) !important;
    border: 2px solid rgba(184, 247, 228, 0.40) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5) !important;
}

#app-screen #page-insurance .yn-btn.yes-btn:hover,
#app-screen #page-insurance .yn-btn.yes-btn.active {
    background: rgba(31, 138, 112, 0.35) !important;
    border-color: #1F8A70 !important;
    color: #6EDFC4 !important;
    box-shadow: 0 0 12px rgba(110, 223, 196, 0.35) !important;
}

#app-screen #page-insurance .yn-btn.no-btn:hover,
#app-screen #page-insurance .yn-btn.no-btn.active {
    background: rgba(239, 68, 68, 0.25) !important;
    border-color: #ef4444 !important;
    color: #fca5a5 !important;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.25) !important;
}

/* Insurance type items: 1. Life, 2. Health, etc. */
#app-screen #page-insurance .insurance-item {
    background: rgba(10, 14, 22, 0.92) !important;
    backdrop-filter: blur(24px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(200%) !important;
    border: 1px solid rgba(184, 247, 228, 0.38) !important;
    border-radius: 14px !important;
    padding: 18px 22px !important;
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

/* "1. Life Insurance" / "2. Health Insurance" label */
#app-screen #page-insurance .insurance-item-header span {
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7) !important;
}

/* Policy form section cards */
#app-screen #page-insurance .section-card {
    background: rgba(10, 14, 22, 0.92) !important;
    backdrop-filter: blur(28px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(28px) saturate(200%) !important;
    border: 1px solid rgba(184, 247, 228, 0.25) !important;
    border-top: 1px solid rgba(184, 247, 228, 0.50) !important;
    border-left: 1px solid rgba(184, 247, 228, 0.35) !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

#app-screen #page-insurance .section-card h3 {
    color: #B8F7E4 !important;
    font-weight: 700 !important;
    border-bottom: 1px solid rgba(184, 247, 228, 0.22) !important;
}

/* Policy entry blocks (each policy card) */
#app-screen #page-insurance .inv-entry {
    background: rgba(255, 255, 255, 0.07) !important;
    border: 1px solid rgba(184, 247, 228, 0.22) !important;
    border-radius: 10px !important;
    padding: 18px !important;
    margin-bottom: 14px !important;
}

/* "Policy 1", "Vehicle 1" header */
#app-screen #page-insurance .inv-entry-header span {
    color: #B8F7E4 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6) !important;
}

/* LABELS - bright mint-white, clearly readable */
#app-screen #page-insurance .field-group label {
    color: #d1fae5 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.7px !important;
    text-transform: uppercase !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7) !important;
    opacity: 1 !important;
}

/* INPUTS / SELECTS / TEXTAREA */
#app-screen #page-insurance .field-group input,
#app-screen #page-insurance .field-group select,
#app-screen #page-insurance .field-group textarea {
    background: rgba(255, 255, 255, 0.10) !important;
    border: 1.5px solid rgba(184, 247, 228, 0.50) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    padding: 11px 14px !important;
}

/* Override broad .page:not(#page-global-market) rule for select/date */
#app-screen #page-insurance input[type="date"],
#app-screen #page-insurance select {
    background: rgba(255, 255, 255, 0.10) !important;
    border: 1.5px solid rgba(184, 247, 228, 0.50) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

#app-screen #page-insurance .field-group input:focus,
#app-screen #page-insurance .field-group select:focus,
#app-screen #page-insurance .field-group textarea:focus {
    border-color: #6EDFC4 !important;
    box-shadow: 0 0 0 3px rgba(110, 223, 196, 0.25) !important;
    background: rgba(255, 255, 255, 0.16) !important;
    outline: none !important;
}

#app-screen #page-insurance .field-group input::placeholder,
#app-screen #page-insurance .field-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.45) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.45) !important;
}

/* Select dropdown options */
#app-screen #page-insurance .field-group select option,
#app-screen #page-insurance select option {
    background: #0f141e !important;
    color: #ffffff !important;
}

/* Date picker calendar icon */
#app-screen #page-insurance input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1) opacity(0.75) !important;
    cursor: pointer !important;
}

/* Add more button */
#app-screen #page-insurance .btn-add-more {
    background: rgba(110, 223, 196, 0.10) !important;
    border: 2px dashed rgba(110, 223, 196, 0.50) !important;
    color: #6EDFC4 !important;
    font-weight: 600 !important;
    text-shadow: none !important;
}

#app-screen #page-insurance .btn-add-more:hover {
    background: rgba(110, 223, 196, 0.18) !important;
    border-color: rgba(110, 223, 196, 0.80) !important;
    box-shadow: 0 0 18px rgba(110, 223, 196, 0.28) !important;
}

/* Sub-section open */
#app-screen #page-insurance .sub-section.open {
    background: transparent !important;
}
