/* ============================================================
   Maverick Trading — Master Stylesheet
   SpaceX-inspired dark theme
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
    --navbar-height: 64px;
    --bg-primary:    #0a0d12;
    --bg-surface:    #111620;
    --bg-surface-alt:#0e1219;
    --bg-card:       #141b28;
    --border:        #1e2a3e;
    --border-glow:   rgba(100, 180, 255, 0.15);
    --text:          #e8ecf4;
    --text-muted:    #7a8ba8;
    --accent:        #5fa4ff;
    --accent-glow:   rgba(95, 164, 255, 0.3);
    --accent-dim:    rgba(95, 164, 255, 0.08);
    --white:         #ffffff;
    --font-display:  'Orbitron', sans-serif;
    --font-body:     'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius:        6px;
    --radius-lg:     12px;
    --transition:    0.25s ease;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body, html {
    background: var(--bg-primary);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

/* Offset anchor targets so they clear the sticky navbar */
[id="overview"],
[id="pricing"],
[id="about"] {
    scroll-margin-top: 130px;
}

/* Override Dash/Bootstrap dark defaults */
.app-wrapper {
    min-height: 100vh;
    background: var(--bg-primary);
}

/* Remove default Dash padding */
._dash-loading { display: none !important; }


/* ============================================================
   NAVBAR
   ============================================================ */
.mav-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3rem;
    height: var(--navbar-height);
    background: rgba(10, 13, 18, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.mav-navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.mav-navbar-wordmark {
    height: calc(var(--navbar-height) - 4px);
    width: auto;
    object-fit: contain;
    transition: opacity var(--transition);
}

.mav-navbar-brand:hover .mav-navbar-wordmark {
    opacity: 0.85;
}

/* ── App navbar: wordmark left, links centered, user right ── */
.mav-navbar-app {
    justify-content: space-between;
}

.mav-navbar-app .mav-navbar-auth {
    margin-left: auto;
}

.mav-navbar-m-logo {
    height: calc(var(--navbar-height) - 4px);
    width: auto;
    object-fit: contain;
    transition: opacity var(--transition);
    filter: drop-shadow(0 0 10px rgba(0, 229, 160, 0.15));
}

.mav-navbar-brand:hover .mav-navbar-m-logo {
    opacity: 0.85;
}

.mav-navbar-links {
    display: flex;
    gap: 2rem;
}

/* Absolute centering for app nav links — independent of logo width */
.mav-navbar-links-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.mav-nav-link {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color var(--transition);
    position: relative;
}

.mav-nav-link:hover {
    color: var(--white);
}

.mav-nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width var(--transition);
}

.mav-nav-link:hover::after {
    width: 100%;
}

.mav-navbar-auth {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.navbar-user-email {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.mav-btn-ghost {
    font-family: 'Orbitron', monospace;
    font-size: 0.72rem;
    font-weight: 600;
    color: #00e5a0;
    text-decoration: none;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 8px 20px;
    background: rgba(0, 229, 160, 0.08);
    border: 1px solid rgba(0, 229, 160, 0.3);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.mav-btn-ghost:hover {
    color: #ffffff;
    background: rgba(0, 229, 160, 0.18);
    border-color: rgba(0, 229, 160, 0.5);
    box-shadow: 0 0 12px rgba(0, 229, 160, 0.15);
}

.mav-btn-primary {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 8px 20px;
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    background: transparent;
    transition: all var(--transition);
}

.mav-btn-primary:hover {
    background: var(--accent-dim);
    box-shadow: 0 0 20px var(--accent-glow);
}


/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
    position: relative;
    min-height: calc(100vh - var(--navbar-height));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    overflow: hidden;
    background: var(--bg-primary);
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 13, 18, 0.55);
    z-index: 1;
}

.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(95, 164, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(95, 164, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 2;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 3;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-m-logo {
    width: 280px;
    height: auto;
    margin-bottom: 2.5rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    filter: drop-shadow(0 0 40px rgba(95, 164, 255, 0.2));
    animation: float 6s ease-in-out infinite;
}

.hero-wordmark {
    height: 320px;
    width: auto;
    max-width: 100%;
    margin-bottom: 1.5rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    filter: drop-shadow(0 0 30px rgba(95, 164, 255, 0.15));
    animation: float 6s ease-in-out infinite;
}

.hero-logo {
    width: 140px;
    height: auto;
    margin-bottom: 2.5rem;
    filter: drop-shadow(0 0 30px rgba(95, 164, 255, 0.2));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}

.hero-headline {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    text-align: center;
    width: 100%;
}

.hero-headline-top {
    font-size: 3rem;
    color: var(--white);
    display: block;
    letter-spacing: 4px;
}

.hero-headline-bottom {
    font-size: 3rem;
    color: var(--text-muted);
    display: block;
    letter-spacing: 4px;
}

.hero-tagline {
    font-size: 1.05rem;
    color: var(--text-muted);
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 3rem;
}

.mav-btn-launch {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 3px;
    padding: 16px 40px;
    background: transparent;
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.mav-btn-launch:hover {
    background: var(--accent-dim);
    box-shadow: 0 0 30px var(--accent-glow), inset 0 0 30px var(--accent-dim);
    transform: translateY(-2px);
}

.btn-arrow {
    transition: transform var(--transition);
    display: inline-block;
}

.mav-btn-launch:hover .btn-arrow {
    transform: translateX(4px);
}


/* ============================================================
   FEATURES SECTION
   ============================================================ */
.features-section {
    padding: 6rem 3rem;
    background: var(--bg-surface-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-align: center;
    letter-spacing: 5px;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    text-align: center;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}

.feature-card:hover {
    border-color: rgba(95, 164, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.feature-title {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.feature-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
    font-weight: 300;
}


/* ============================================================
   PRICING SECTION
   ============================================================ */
.pricing-section {
    padding: 6rem 3rem;
    background: var(--bg-primary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all var(--transition);
    width: 100%;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

.pricing-card-highlighted {
    border-color: var(--accent);
    box-shadow: 0 0 40px var(--accent-glow);
    position: relative;
}

.pricing-card-highlighted::before {
    content: 'RECOMMENDED';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-display);
    font-size: 0.6rem;
    letter-spacing: 3px;
    color: var(--bg-primary);
    background: var(--accent);
    padding: 4px 16px;
    border-radius: 20px;
    font-weight: 700;
}

.pricing-tier {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 4px;
    margin-bottom: 1.25rem;
    text-align: center;
}

.pricing-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 1rem;
    text-align: center;
}

.pricing-price-row {
    margin-bottom: 2rem;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

.pricing-price {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
}

.pricing-period {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 300;
}

.pricing-features {
    list-style: none;
    margin: 0 auto 2.5rem;
    padding: 0;
    flex-grow: 1;
    width: 100%;
    max-width: 220px;
    text-align: center;
}

.pricing-feature {
    font-size: 0.88rem;
    color: var(--text-muted);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(30, 42, 62, 0.5);
    font-weight: 300;
    text-align: center;
}

.pricing-feature:last-child {
    border-bottom: none;
}

.pricing-cta {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 2px;
    padding: 12px 32px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
    width: 100%;
}

.pricing-cta:hover {
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
}

.pricing-card-highlighted .pricing-cta {
    border-color: var(--accent);
    background: var(--accent-dim);
}

/* Invite-only badge: non-clickable, muted */
.mav-btn-invite-only {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(0, 229, 160, 0.6);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 10px 20px;
    background: rgba(0, 229, 160, 0.06);
    border: 1px solid rgba(0, 229, 160, 0.2);
    border-radius: 6px;
    cursor: default;
    pointer-events: none;
}

.pricing-cta-badge {
    width: 100%;
    text-align: center;
    margin-top: 0.5rem;
}

.pricing-invite-tagline {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 1.25rem;
    margin-bottom: 0;
}

.cta-section .mav-btn-invite-only.cta-badge {
    margin-top: 1rem;
}


/* ============================================================
   HOW IT WORKS SECTION
   ============================================================ */
.how-it-works-section {
    padding: 6rem 3rem;
    background: var(--bg-surface-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.steps-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 1100px;
    margin: 0 auto;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    flex: 1;
    max-width: 320px;
    text-align: center;
    transition: all var(--transition);
    position: relative;
}

.step-card:hover {
    border-color: rgba(95, 164, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

.step-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    opacity: 0.3;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.step-title {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 3px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.step-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
    font-weight: 300;
}

.step-connector {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    flex-shrink: 0;
}


/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
    padding: 6rem 3rem;
    background: var(--bg-primary);
}

.about-inner {
    max-width: 900px;
    margin: 0 auto;
}

.about-content {
    margin-top: 3rem;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.about-text {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.85;
    font-weight: 300;
    margin-bottom: 1.25rem;
    text-align: center;
}

.about-text-accent {
    color: var(--text);
    font-weight: 400;
    font-style: italic;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.trust-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all var(--transition);
}

.trust-card:hover {
    border-color: rgba(95, 164, 255, 0.15);
    transform: translateY(-2px);
}

.trust-icon {
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 1rem;
    opacity: 0.7;
}

.trust-title {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.trust-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.7;
    font-weight: 300;
}


/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
    padding: 6rem 3rem;
    text-align: center;
    background:
        radial-gradient(ellipse at 50% 100%, rgba(95, 164, 255, 0.05) 0%, transparent 60%),
        var(--bg-surface-alt);
    border-top: 1px solid var(--border);
}

.cta-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 4px;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 2.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}


/* ============================================================
   AUTH PAGE
   ============================================================ */
.auth-page {
    min-height: 100vh;
    background: var(--bg-primary);
    display: flex;
    flex-direction: column;
}

.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    padding: 2rem;
}

.auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 3rem;
    width: 100%;
    max-width: 420px;
    text-align: center;
}

.auth-wordmark {
    height: 200px;
    width: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 15px rgba(95, 164, 255, 0.15));
}

.auth-logo {
    width: 80px;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 15px rgba(95, 164, 255, 0.15));
}

.auth-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 4px;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 300;
    margin-bottom: 2rem;
}

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

.auth-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    margin-top: 1.25rem;
}

.auth-input {
    width: 100%;
    min-height: 44px;
    padding: 12px 16px;
    background: var(--bg-surface-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: border-color var(--transition);
    outline: none;
}

.auth-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
}

.auth-input::placeholder {
    color: rgba(122, 139, 168, 0.5);
}

.password-field {
    position: relative;
    width: 100%;
}

.pw-toggle-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px 8px;
    min-width: 44px;
    min-height: 44px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
    transition: opacity var(--transition), color var(--transition);
    z-index: 2;
}

.pw-toggle-btn:hover {
    opacity: 1;
    color: var(--accent);
}

.pw-toggle-btn svg {
    display: block;
}

.auth-btn {
    width: 100%;
    margin-top: 2rem;
}

.auth-footer-text {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 2rem;
}

.auth-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

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

.auth-link-button {
    background: none;
    border: none;
    color: var(--accent);
    font-size: inherit;
    font-family: inherit;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
}

.auth-link-button:hover {
    color: var(--accent-dim);
}

.auth-message {
    min-height: 0;
}

.auth-error {
    background: rgba(255, 80, 80, 0.15);
    border: 1px solid rgba(255, 80, 80, 0.4);
    border-radius: var(--radius);
    padding: 12px 16px;
    font-size: 0.88rem;
    font-weight: 500;
    color: #ff8a8a;
    margin-bottom: 1rem;
    text-align: center;
}

.auth-success {
    background: rgba(80, 255, 120, 0.15);
    border: 1px solid rgba(80, 255, 120, 0.4);
    border-radius: var(--radius);
    padding: 12px 16px;
    font-size: 0.88rem;
    font-weight: 500;
    color: #8affb0;
    margin-bottom: 1rem;
    text-align: center;
}

.user-email-display {
    font-size: 0.9rem;
    color: var(--accent);
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

/* dcc.Input overrides for dark theme */
.auth-input,
.auth-input input,
.auth-input input[type="email"],
.auth-input input[type="password"],
.auth-input input[type="text"] {
    width: 100% !important;
    min-height: 44px !important;
    padding: 12px 16px !important;
    background: var(--bg-surface-alt) !important;
    background-color: var(--bg-surface-alt) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius) !important;
    color: #ffffff !important;
    font-family: var(--font-body) !important;
    font-size: 0.9rem !important;
    outline: none !important;
    -webkit-text-fill-color: #ffffff !important;
}

.auth-input input:focus,
.auth-input:focus {
    border-color: var(--accent) !important;
    box-shadow: 0 0 10px var(--accent-glow) !important;
}

.auth-input input::placeholder,
.auth-input::placeholder {
    color: rgba(122, 139, 168, 0.5) !important;
    -webkit-text-fill-color: rgba(122, 139, 168, 0.5) !important;
}

/* Autofill override for dark inputs */
.auth-input input:-webkit-autofill,
.auth-input input:-webkit-autofill:hover,
.auth-input input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px var(--bg-surface-alt) inset !important;
    -webkit-text-fill-color: #ffffff !important;
    caret-color: #ffffff !important;
    transition: background-color 5000s ease-in-out 0s;
}


/* ============================================================
   DASHBOARD PLACEHOLDER
   ============================================================ */
.dashboard-page {
    min-height: 100vh;
    background: var(--bg-primary);
}

.dashboard-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 70px);
}

.placeholder-content {
    text-align: center;
}

.placeholder-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    opacity: 0.6;
}

.placeholder-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 4px;
    margin-bottom: 1rem;
}

.placeholder-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 300;
    letter-spacing: 1px;
    max-width: 400px;
}

.placeholder-status {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.status-dot {
    color: var(--accent);
    font-size: 1.2rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.4; }
    50%      { opacity: 1; }
}

.status-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}


/* ============================================================
   FOOTER
   ============================================================ */
.mav-footer {
    padding: 2rem 3rem;
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
}

.mav-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.mav-footer-copy {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 300;
}

.mav-footer-links {
    display: flex;
    gap: 1.5rem;
}

.mav-footer-link {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 300;
    transition: color var(--transition);
}

.mav-footer-link:hover {
    color: var(--white);
}


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-headline-top,
    .hero-headline-bottom {
        font-size: 2.2rem;
    }
}

/* ── Hamburger & Mobile Menu ───────────────────────────────────── */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    -webkit-tap-highlight-color: transparent;
}

.nav-hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    position: relative;
}

.nav-hamburger-icon span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-hamburger-open {
    position: relative;
    z-index: 1001;
}

/* Hide all spans when open, show single X via pseudo-element */
.nav-hamburger-open .nav-hamburger-icon span {
    opacity: 0 !important;
    visibility: hidden !important;
}

.nav-hamburger-open .nav-hamburger-icon::after {
    content: "\00d7";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.75rem;
    font-weight: 300;
    color: var(--accent);
    line-height: 1;
    opacity: 1;
}

.nav-hamburger {
    background: none;
    border: none;
    cursor: pointer;
}

.nav-mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    background: var(--bg-primary);
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    padding: 5rem 2rem 2rem;
    z-index: 1000;
    overflow: hidden;
}

.nav-mobile-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
    background: none;
    border: none;
}

.nav-mobile-close:hover {
    color: var(--white);
}

.nav-mobile-link {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 12px 24px;
    min-width: 200px;
    text-align: center;
    border-radius: var(--radius);
    transition: all var(--transition);
    -webkit-tap-highlight-color: transparent;
}

.nav-mobile-link:hover {
    color: var(--white);
    background: var(--accent-dim);
}

.nav-mobile-auth-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    width: 100%;
    max-width: 220px;
}

.nav-mobile-auth-row .navbar-user-email {
    font-size: 0.85rem;
    text-align: center;
    word-break: break-all;
    white-space: normal;
}

@media (max-width: 768px) {
    :root {
        --navbar-height: 56px;
    }
    .mav-navbar {
        padding: 0 1rem;
        height: 56px;
    }
    .mav-navbar-wordmark {
        height: calc(var(--navbar-height) - 4px);
        max-height: calc(var(--navbar-height) - 2px);
    }
    .nav-hamburger {
        display: flex;
    }
    .mav-navbar-links {
        display: none;
    }
    .mav-navbar-auth {
        display: none;
    }
    .mav-navbar-app .mav-navbar-auth {
        display: none;
    }
    .mav-navbar-subtitle {
        display: none;
    }
    [id="overview"],
    [id="pricing"],
    [id="about"] {
        scroll-margin-top: 90px;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    .trust-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    .steps-grid {
        flex-direction: column;
        gap: 1rem;
    }
    .step-connector {
        width: 1px;
        height: 40px;
        background: linear-gradient(180deg, transparent, var(--accent), transparent);
    }
    .step-card {
        max-width: 100%;
    }
    .hero-headline-top,
    .hero-headline-bottom {
        font-size: 1.6rem;
        letter-spacing: 2px;
    }
    .hero-tagline {
        font-size: 0.88rem;
    }
    .mav-footer-inner {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    /* Auth pages */
    .auth-container {
        padding: 1.5rem 1rem;
        min-height: calc(100vh - 70px - 80px);
    }
    .auth-card {
        padding: 2rem 1.5rem;
        max-width: 100%;
    }
    .auth-wordmark {
        height: 120px;
        margin-bottom: 1.5rem;
    }
    .auth-title {
        font-size: 1rem;
    }
    /* Landing sections */
    .hero-section {
        padding: 3rem 1rem 2rem;
        min-height: calc(100vh - var(--navbar-height));
    }
    .features-section,
    .pricing-section,
    .how-it-works-section,
    .about-section,
    .cta-section {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .section-title {
        font-size: 1.2rem;
    }
    .section-subtitle {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-logo {
        width: 100px;
    }
    .hero-headline-top,
    .hero-headline-bottom {
        font-size: 1.3rem;
    }
    .mav-btn-launch {
        padding: 14px 28px;
        font-size: 0.75rem;
        min-height: 44px;
    }
    .pricing-grid {
        max-width: 100%;
        padding: 0 0.5rem;
    }
    .pricing-card {
        padding: 2rem 1.5rem;
    }
    .mav-footer {
        padding: 1.5rem 1rem;
    }
}


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

.dashboard-page {
    min-height: 100vh;
    background: var(--bg-primary);
    display: flex;
    flex-direction: column;
}

.dashboard-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 1rem 2rem 2rem;
    flex: 1;
}

/* ── Dashboard Header ─────────────────────────────────────────── */

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0, 229, 160, 0.1);
}

.dashboard-wordmark {
    height: 36px;
    opacity: 0.9;
}

.dashboard-header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.dashboard-m-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    opacity: 0.95;
    filter: drop-shadow(0 0 10px rgba(0, 229, 160, 0.12));
}

.user-info-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-email {
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
}

.btn-sm {
    padding: 6px 16px !important;
    font-size: 0.7rem !important;
    letter-spacing: 0.06em;
}


/* ── Metric Cards ────────────────────────────────────────────── */

.metric-cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

.dash-metric-card {
    background: rgba(10, 15, 30, 0.6);
    border: 1px solid rgba(0, 229, 160, 0.12);
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    backdrop-filter: blur(6px);
}

.metric-card-title {
    font-family: 'Orbitron', monospace;
    font-size: 0.78rem;
    font-weight: 600;
    color: #00e5a0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 1rem 0;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(0, 229, 160, 0.08);
}

.metric-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.metric-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.metric-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
}

.metric-value {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
}


/* ── Filters Row ─────────────────────────────────────────────── */

.filters-row {
    display: flex;
    align-items: flex-end;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    background: rgba(10, 15, 30, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.filter-label {
    font-family: 'Orbitron', monospace;
    font-size: 0.65rem;
    font-weight: 500;
    color: #00e5a0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.filter-dropdown {
    min-width: 220px;
}

/* ── Global Dash Dropdown dark theme (Dash 4.x / React Select v5) ── */
/* Most styling is handled by dropdown-dark.js since React Select v5
   uses Emotion CSS + portals that are extremely hard to override with
   static CSS. These rules provide a baseline fallback.                */
.dash-dropdown .Select-control,
.filter-dropdown .Select-control      { background-color: rgba(10,15,30,0.92) !important; border-color: rgba(0,229,160,0.25) !important; }
.dash-dropdown .Select-menu-outer,
.filter-dropdown .Select-menu-outer   { background-color: rgb(8,12,25) !important; border: 1px solid rgba(0,229,160,0.2) !important; }
.dash-dropdown .Select-option,
.filter-dropdown .Select-option       { background-color: transparent !important; color: #00e5a0 !important; }
.dash-dropdown .Select-option.is-focused,
.filter-dropdown .Select-option.is-focused  { background-color: rgba(0,229,160,0.12) !important; }
.dash-dropdown .Select-option.is-selected,
.filter-dropdown .Select-option.is-selected { background-color: rgba(0,229,160,0.2) !important; color: #00e5a0 !important; }
.dash-dropdown .Select-value-label,
.filter-dropdown .Select-value-label  { color: #00e5a0 !important; }
.dash-dropdown .Select-placeholder,
.filter-dropdown .Select-placeholder  { color: #00e5a0 !important; }
.dash-dropdown input,
.filter-dropdown input                { color: #00e5a0 !important; }

/* Extra hardening for Dash/React-Select internals that Bootstrap can override */
.filter-dropdown .Select,
.filter-dropdown .Select-control,
.filter-dropdown .Select-menu-outer,
.filter-dropdown .Select-menu,
.filter-dropdown .Select-value,
.filter-dropdown .Select-value-label,
.filter-dropdown .Select-placeholder,
.filter-dropdown .Select-option,
.filter-dropdown .VirtualizedSelectOption,
.filter-dropdown .VirtualizedSelectFocusedOption {
    background-color: rgba(10, 15, 30, 0.92) !important;
    color: #00e5a0 !important;
}

.filter-dropdown .Select-menu-outer,
.filter-dropdown .Select-menu {
    background-color: rgb(8, 12, 25) !important;
    border: 1px solid rgba(0, 229, 160, 0.2) !important;
}

.filter-dropdown .Select-option,
.filter-dropdown .VirtualizedSelectOption {
    background-color: transparent !important;
}

.filter-dropdown .Select-option.is-focused,
.filter-dropdown .VirtualizedSelectFocusedOption {
    background-color: rgba(0, 229, 160, 0.12) !important;
}

.filter-dropdown .Select-option.is-selected {
    background-color: rgba(0, 229, 160, 0.2) !important;
    color: #00e5a0 !important;
}

.filter-dropdown .Select input,
.filter-dropdown .Select input:focus,
.filter-dropdown .Select-input > input,
.filter-dropdown .Select-menu-outer input,
.filter-dropdown input[type="text"] {
    background: transparent !important;
    background-color: transparent !important;
    color: #00e5a0 !important;
    -webkit-text-fill-color: #00e5a0 !important;
    border: none !important;
    box-shadow: none !important;
}

.filter-radio {
    display: flex;
    gap: 0.75rem;
}

.filter-radio label {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.filter-radio label:hover {
    border-color: rgba(0, 229, 160, 0.3);
    color: #fff;
}

.filter-radio input:checked + label,
.filter-radio label input:checked + span {
    background: rgba(0, 229, 160, 0.1);
    border-color: #00e5a0;
    color: #00e5a0;
}

.filter-input {
    background: rgba(10, 15, 30, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 6px;
    padding: 6px 12px;
    color: #00e5a0 !important;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    width: 160px;
}

.filter-input::placeholder {
    color: #00e5a0;
}

.filter-input input,
.filter-input input {
    color: #00e5a0 !important;
    -webkit-text-fill-color: #00e5a0 !important;
}

.filter-input input::placeholder {
    color: #00e5a0 !important;
    -webkit-text-fill-color: #00e5a0 !important;
}


/* ── Positions Table ─────────────────────────────────────────── */

.positions-table-wrapper {
    margin-bottom: 2rem;
}

.positions-table-header {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 0.6rem;
}

.positions-table-header .section-heading {
    margin-bottom: 0;
}

.positions-expand-hint {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(120, 140, 170, 0.85);
    font-style: italic;
}

.section-heading {
    font-family: 'Orbitron', monospace;
    font-size: 0.85rem;
    font-weight: 600;
    color: #00e5a0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 1rem 0;
}

.empty-state {
    text-align: center;
    padding: 2rem 1rem;
    color: rgba(255, 255, 255, 0.35);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
}

/* Dash DataTable overrides */
.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner table {
    border-collapse: collapse !important;
}

.dash-table-container .dash-header {
    background: transparent !important;
}

/* Pagination controls */
.dash-table-container .previous-next-container {
    padding: 0.75rem 0;
}

.dash-table-container .previous-next-container button {
    background: rgba(0, 229, 160, 0.1) !important;
    border: 1px solid rgba(0, 229, 160, 0.2) !important;
    color: #00e5a0 !important;
    border-radius: 4px;
    padding: 4px 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
}

.dash-table-container .previous-next-container button:hover {
    background: rgba(0, 229, 160, 0.2) !important;
}

.dash-table-container .current-page {
    color: rgba(255, 255, 255, 0.6) !important;
    font-family: 'Inter', sans-serif;
}


/* ── CSV Import Section ──────────────────────────────────────── */

.csv-import-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(10, 15, 30, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    margin-bottom: 2rem;
}

.import-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 1rem;
}

.csv-upload-zone {
    border: 2px dashed rgba(0, 229, 160, 0.2);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(0, 229, 160, 0.02);
}

.csv-upload-zone:hover {
    border-color: rgba(0, 229, 160, 0.5);
    background: rgba(0, 229, 160, 0.05);
}

.upload-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.upload-icon {
    font-size: 1.5rem;
    color: #00e5a0;
}

.upload-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.import-status {
    margin-top: 1rem;
}

.import-success {
    background: rgba(0, 229, 160, 0.1);
    border: 1px solid rgba(0, 229, 160, 0.3);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    color: #00e5a0;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
}

.import-error {
    background: rgba(255, 77, 77, 0.1);
    border: 1px solid rgba(255, 77, 77, 0.3);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    color: #ff4d4d;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
}

.import-summary {
    background: rgba(0, 229, 160, 0.08);
    border: 1px solid rgba(0, 229, 160, 0.25);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    color: #00e5a0;
    font-family: 'Orbitron', monospace;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
}

.import-warnings-details {
    margin-top: 0.5rem;
}

.import-warnings-details[open] .import-warning {
    border-radius: 6px 6px 0 0;
    margin-bottom: 0;
}

.import-warnings-list {
    background: rgba(255, 149, 0, 0.06);
    border: 1px solid rgba(255, 149, 0, 0.2);
    border-top: none;
    border-radius: 0 0 6px 6px;
    padding: 0.6rem 1rem 0.6rem 2rem;
    margin: 0;
    list-style: none;
}

.import-warnings-list li {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    color: rgba(255, 149, 0, 0.8);
    padding: 0.25rem 0;
    border-bottom: 1px solid rgba(255, 149, 0, 0.08);
    line-height: 1.4;
}

.import-warnings-list li:last-child {
    border-bottom: none;
}

.import-warning {
    background: rgba(255, 149, 0, 0.1);
    border: 1px solid rgba(255, 149, 0, 0.3);
    border-radius: 6px;
    padding: 0.5rem 1rem;
    color: #ff9500;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    margin-top: 0.5rem;
    cursor: pointer;
    list-style: revert;
}


/* ── Roll Monitor ────────────────────────────────────────────── */

.roll-section {
    margin-bottom: 2.5rem;
}

.roll-heading-puts {
    color: #ff9500 !important;
}

.roll-heading-calls {
    color: #ff4d4d !important;
}

.roll-section-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 1rem;
}

.roll-loading {
    text-align: center;
    color: rgba(0, 229, 160, 0.5);
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    padding: 0.5rem 0;
}

.roll-account-group {
    margin-bottom: 1.75rem;
}

.roll-account-label {
    font-family: 'Orbitron', monospace;
    font-size: 0.75rem;
    font-weight: 600;
    color: #00e5a0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 0.6rem 0;
    padding: 0.5rem 0.75rem;
    background: rgba(0, 229, 160, 0.06);
    border-left: 3px solid #00e5a0;
    border-radius: 0 4px 4px 0;
}


/* ── Tracker Account Groups ──────────────────────────────────── */
.tracker-account-group {
    margin-bottom: 2rem;
}

/* ── Dashboard Overview Page (SitRep) ─────────────────────────── */

.sitrep-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.4rem;
    font-weight: 700;
    color: #00e5a0;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin: 0;
    text-shadow: 0 0 20px rgba(0, 229, 160, 0.2);
}
.sitrep-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    color: rgba(0, 229, 160, 0.5);
    margin: 0.15rem 0 0;
    letter-spacing: 0.04em;
}

/* ── Grouped stat cards (3-column) ──────────────────── */
.overview-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.stat-card {
    background: rgba(10, 15, 30, 0.55);
    border: 1px solid rgba(0, 229, 160, 0.18);
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    transition: border-color 0.25s ease;
}

.stat-card:hover {
    border-color: rgba(0, 229, 160, 0.35);
}

.stat-card-title {
    font-family: 'Orbitron', monospace;
    font-size: 0.72rem;
    font-weight: 700;
    color: #00e5a0;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin: 0 0 1rem 0;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(0, 229, 160, 0.1);
}

.stat-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.stat-row-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
}

.stat-row-value {
    font-family: 'Orbitron', monospace;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.02em;
}

.overview-action-section {
    margin-bottom: 2rem;
}

.overview-section-title {
    font-family: 'Orbitron', monospace;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 0.3rem 0;
}

.overview-title-puts {
    color: #ff9500;
}

.overview-title-calls {
    color: #ff4d4d;
}

.overview-section-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.4);
    margin: 0 0 1rem 0;
}

@media (max-width: 1000px) {
    .overview-stats-row {
        grid-template-columns: 1fr;
    }
    .sitrep-title {
        font-size: 1.1rem;
    }
}


.tracker-account-label {
    font-family: 'Orbitron', monospace;
    font-size: 0.78rem;
    font-weight: 600;
    color: #00e5a0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 0.6rem 0;
    padding: 0.55rem 0.85rem;
    background: rgba(0, 229, 160, 0.06);
    border-left: 3px solid #00e5a0;
    border-radius: 0 4px 4px 0;
}

/* ── Expandable position rows ───────────────────────────────────── */
.tracker-positions-list {
    background: rgba(10, 15, 30, 0.5);
    border: 1px solid rgba(0, 229, 160, 0.15);
    border-radius: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tracker-positions-scroll {
    min-width: 700px;
}

.tracker-table-header {
    display: grid;
    grid-template-columns: 1fr 0.8fr 0.7fr 0.7fr 2fr 0.9fr 0.9fr 0.9fr 0.9fr 0.7fr;
    gap: 0.5rem;
    padding: 10px 14px;
    background: rgba(0, 0, 0, 0.4);
    color: #00e5a0;
    font-family: 'Orbitron', monospace;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(0, 229, 160, 0.15);
}

.tracker-header-cell {
    white-space: nowrap;
}

.tracker-position-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.tracker-position-summary {
    display: grid;
    grid-template-columns: 1fr 0.8fr 0.7fr 0.7fr 2fr 0.9fr 0.9fr 0.9fr 0.9fr 0.7fr;
    gap: 0.5rem;
    padding: 8px 14px;
    cursor: pointer;
    list-style: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    color: #e0e0e0;
    background: rgba(10, 15, 30, 0.7);
    transition: background 0.2s ease;
    align-items: center;
    min-height: 2.25rem;
}

.tracker-position-summary:hover {
    background: rgba(15, 25, 45, 0.8);
}

.tracker-position-summary::-webkit-details-marker {
    display: none;
}

.tracker-ticker-cell {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.tracker-ticker-cell::before {
    content: '▸';
    color: #00e5a0;
    font-size: 0.7rem;
    flex-shrink: 0;
}

.tracker-position-row[open] .tracker-ticker-cell::before {
    content: '▾';
}

.tracker-summary-cell {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.tracker-position-details {
    padding: 1rem 14px 1rem 2rem;
    background: rgba(5, 10, 20, 0.6);
    border-top: 1px solid rgba(0, 229, 160, 0.1);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tracker-tx-label {
    font-family: 'Orbitron', monospace;
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(0, 229, 160, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

/* Transaction table (custom, with delete buttons) */
.tracker-tx-table {
    width: 100%;
    min-width: 550px;
    border-collapse: collapse;
    font-size: 0.75rem;
    margin-top: 0.5rem;
}

.tracker-tx-header-row {
    background: rgba(0, 0, 0, 0.4);
    color: #00e5a0;
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tracker-tx-th {
    padding: 8px 10px;
    text-align: left;
    border: 1px solid rgba(0, 229, 160, 0.15);
}

.tracker-tx-row {
    background: rgba(10, 15, 30, 0.7);
}

.tracker-tx-row:nth-child(odd) {
    background: rgba(15, 25, 45, 0.5);
}

.tracker-tx-td {
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #e0e0e0;
}

.tracker-tx-del-cell {
    width: 2.5rem;
    text-align: center;
}

.tracker-del-btn {
    background: transparent;
    border: 1px solid rgba(255, 77, 77, 0.4);
    color: #ff4d4d;
    cursor: pointer;
    padding: 2px 6px;
    font-size: 0.9rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.tracker-del-btn:hover {
    background: rgba(255, 77, 77, 0.2);
    border-color: #ff4d4d;
}

.tracker-tx-empty {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    padding: 0.5rem 0;
}

/* Merge modal */
.merge-modal-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.merge-validation {
    margin-top: 1rem;
    font-size: 0.85rem;
}

.merge-error {
    color: #ff4d4d;
}

.merge-ok {
    color: #00e5a0;
}


/* ── Settings Page ────────────────────────────────────────────── */

.settings-page-title {
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 0.5rem 0;
}

.settings-section {
    margin-bottom: 1.25rem;
}

.settings-section-title {
    font-family: 'Orbitron', monospace;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 1rem 0;
}

.danger-title {
    color: #ff4d4d;
}

.danger-zone {
    border: 1px solid rgba(255, 77, 77, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
    background: rgba(255, 77, 77, 0.03);
}

.settings-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.settings-card-heading {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 0.4rem 0;
}

.settings-card-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
    line-height: 1.5;
    max-width: 500px;
}

.mav-btn-danger {
    background: rgba(255, 77, 77, 0.15);
    border: 1px solid #ff4d4d;
    color: #ff4d4d;
    font-family: 'Orbitron', monospace;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    padding: 10px 24px;
    border-radius: 6px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.mav-btn-danger:hover {
    background: rgba(255, 77, 77, 0.3);
    box-shadow: 0 0 15px rgba(255, 77, 77, 0.2);
}

.reset-confirm-area {
    margin-top: 1.25rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 77, 77, 0.08);
    border: 1px solid rgba(255, 77, 77, 0.25);
    border-radius: 8px;
}

.reset-confirm-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    color: #ff4d4d;
    font-weight: 500;
    margin: 0 0 1rem 0;
}

.reset-confirm-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.reset-status {
    margin-top: 1rem;
}


/* ── Schwab Connection Section ────────────────────────────────── */

.schwab-section {
    border: 1px solid rgba(95, 164, 255, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
    background: rgba(95, 164, 255, 0.03);
}

.schwab-title {
    color: #5fa4ff;
}

.schwab-action-stack {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    min-width: 200px;
}

.schwab-action-stack a,
.schwab-action-stack button {
    display: block;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    text-decoration: none;
}

.schwab-status-badge {
    display: block;
    font-family: 'Orbitron', monospace;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 10px 24px;
    border-radius: 4px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    cursor: default;
}

.schwab-connected {
    color: #0a0f1a;
    background: #00e676;
    border: 1px solid #00e676;
}

.schwab-disconnected {
    color: #0a0f1a;
    background: #ffd740;
    border: 1px solid #ffd740;
}

/* ── Roll Threshold Settings ──────────────────────────────────── */

.threshold-section {
    border: 1px solid rgba(95, 164, 255, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
    background: rgba(95, 164, 255, 0.03);
}

.threshold-title {
    color: #5fa4ff;
}

.threshold-editor {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 1.5rem;
}

.threshold-group {
    background: rgba(10, 15, 30, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 1.25rem;
}

.threshold-group-title {
    font-family: 'Orbitron', monospace;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #5fa4ff;
    margin: 0 0 1rem 0;
}

.threshold-header-row {
    display: grid;
    grid-template-columns: 1fr 1fr 40px;
    gap: 1rem;
    padding: 0 0 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 0.5rem;
}

.threshold-col-header {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.35);
}

.threshold-col-sm {
    max-width: 40px;
}

.threshold-row {
    display: grid;
    grid-template-columns: 1fr 1fr 40px;
    gap: 1rem;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

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

.threshold-input-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.threshold-input-prefix {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
}

.threshold-itm-input {
    width: 80px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    color: #e8ecf4;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    padding: 6px 10px;
    text-align: right;
}

.threshold-itm-input:focus {
    border-color: #5fa4ff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(95, 164, 255, 0.15);
}

.threshold-catch-all-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
}

.threshold-weeks-dropdown {
    max-width: 200px;
}

/* ── Threshold dropdown — match site dark theme ────────────── */
.threshold-weeks-dropdown .Select-control {
    background-color: rgba(10, 15, 30, 0.92) !important;
    border: 1px solid rgba(95, 164, 255, 0.25) !important;
    border-radius: 4px !important;
    min-height: 36px !important;
    cursor: pointer !important;
}

.threshold-weeks-dropdown .Select-control:hover {
    border-color: rgba(95, 164, 255, 0.5) !important;
}

.threshold-weeks-dropdown .Select-value-label,
.threshold-weeks-dropdown .Select-value {
    color: #e0e0e0 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.85rem !important;
}

.threshold-weeks-dropdown .Select-placeholder {
    color: rgba(255, 255, 255, 0.35) !important;
    font-size: 0.85rem !important;
}

.threshold-weeks-dropdown .Select-arrow-zone .Select-arrow {
    border-color: rgba(95, 164, 255, 0.5) transparent transparent !important;
}

.threshold-weeks-dropdown .Select-menu-outer {
    background-color: rgb(8, 12, 25) !important;
    border: 1px solid rgba(95, 164, 255, 0.2) !important;
    border-radius: 4px !important;
    margin-top: 2px !important;
}

.threshold-weeks-dropdown .Select-option {
    background-color: transparent !important;
    color: #e0e0e0 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.85rem !important;
    padding: 8px 12px !important;
}

.threshold-weeks-dropdown .Select-option.is-focused {
    background-color: rgba(95, 164, 255, 0.12) !important;
}

.threshold-weeks-dropdown .Select-option.is-selected {
    background-color: rgba(95, 164, 255, 0.2) !important;
    color: #5fa4ff !important;
}

.threshold-weeks-dropdown .Select-input input {
    color: #e0e0e0 !important;
}

.threshold-weeks-dropdown .Select-clear-zone {
    color: rgba(255, 255, 255, 0.3) !important;
}

.threshold-remove-cell {
    display: flex;
    justify-content: center;
    min-width: 40px;
}

.threshold-remove-btn {
    background: transparent;
    border: 1px solid rgba(255, 77, 77, 0.3);
    color: #ff4d4d;
    font-size: 0.75rem;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    padding: 0;
    line-height: 1;
}

.threshold-remove-btn:hover {
    background: rgba(255, 77, 77, 0.15);
    border-color: #ff4d4d;
}

.threshold-add-btn {
    margin-top: 0.75rem;
    font-size: 0.68rem !important;
}

.threshold-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 1.5rem;
}

.mav-btn-accent {
    background: rgba(95, 164, 255, 0.15);
    border: 1px solid #5fa4ff;
    color: #5fa4ff;
    font-family: 'Orbitron', monospace;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    padding: 10px 24px;
    border-radius: 6px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.mav-btn-accent:hover {
    background: rgba(95, 164, 255, 0.3);
    box-shadow: 0 0 15px rgba(95, 164, 255, 0.2);
}

.threshold-status {
    margin-top: 1rem;
}

.threshold-empty-msg {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.35);
    font-style: italic;
    padding: 1rem 0;
}

/* Settings — first-time setup prompt */
.threshold-setup-prompt {
    background: rgba(95, 164, 255, 0.06);
    border: 1px solid rgba(95, 164, 255, 0.2);
    border-radius: 10px;
    padding: 1.5rem 1.75rem;
    margin: 1.5rem 0;
    text-align: center;
}

.threshold-setup-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.75rem;
    color: rgba(95, 164, 255, 0.5);
}

.threshold-setup-title {
    font-family: 'Orbitron', monospace;
    font-size: 0.85rem;
    font-weight: 600;
    color: #5fa4ff;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 0.75rem 0;
}

.threshold-setup-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
    max-width: 560px;
    margin: 0 auto 0.75rem auto;
}

/* Roll Monitor — setup prompt */
.roll-setup-prompt {
    background: rgba(95, 164, 255, 0.06);
    border: 1px solid rgba(95, 164, 255, 0.2);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    margin: 1rem 0;
}

.roll-setup-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.75rem;
    color: rgba(95, 164, 255, 0.4);
}

.roll-setup-title {
    font-family: 'Orbitron', monospace;
    font-size: 0.85rem;
    font-weight: 600;
    color: #5fa4ff;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 1rem 0;
}

.roll-setup-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto 1.25rem auto;
}


/* ── Placeholder Pages ───────────────────────────────────────── */

.placeholder-page {
    min-height: 100vh;
    background: var(--bg-primary);
    display: flex;
    flex-direction: column;
}

.placeholder-container {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    padding: 1.5rem 2rem 2rem;
    text-align: center;
    flex: 1;
}

.placeholder-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    color: rgba(0, 229, 160, 0.3);
}

.placeholder-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.75rem;
}

.placeholder-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.6;
}


/* ── Dashboard Responsive ────────────────────────────────────── */

@media (max-width: 1024px) {
    .metric-cards-row {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .dashboard-container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .metric-cards-row {
        grid-template-columns: 1fr;
    }
    .filters-row {
        flex-direction: column;
        align-items: stretch;
    }
    .filter-dropdown {
        min-width: 100%;
    }
    .dashboard-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    /* DataTable horizontal scroll on mobile */
    .dash-table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .dash-table-container .dt-table {
        min-width: 600px;
    }
    /* Tracker positions: horizontal scroll like SitRep/Roll Monitor */
    .tracker-positions-list {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .tracker-positions-scroll {
        min-width: 700px;
    }
    /* Settings page */
    .settings-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .settings-card-desc {
        max-width: 100%;
    }
    .reset-confirm-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ============================================================
   COACH PAGE — ChatGPT-style layout (sidebar + main chat)
   ============================================================ */

/* ── Coach container overrides ── */
.coach-container {
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
}

/* ── Two-column layout ── */
.coach-layout {
    display: flex;
    /* navbar ~56px + header ~64px + footer ~60px ≈ 180px */
    height: calc(100vh - var(--navbar-height) - 124px);
    overflow: hidden;
    border: 1px solid rgba(0, 229, 160, 0.15);
    border-radius: var(--radius);
}

/* ── Left Sidebar ── */
.coach-sidebar {
    width: 280px;
    min-width: 280px;
    max-width: 280px;
    background: var(--bg-surface);
    border-right: 1px solid rgba(0, 229, 160, 0.12);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Action buttons */
.sidebar-actions {
    padding: 0.65rem 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    border-bottom: 1px solid rgba(0, 229, 160, 0.12);
    flex-shrink: 0;
}
.sidebar-btn-new-chat {
    width: 100%;
    padding: 8px 20px;
    font-size: 0.72rem;
    font-weight: 600;
    font-family: 'Orbitron', monospace;
    color: #00e5a0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(0, 229, 160, 0.08);
    border: 1px solid rgba(0, 229, 160, 0.3);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sidebar-btn-new-chat:hover {
    color: #ffffff;
    background: rgba(0, 229, 160, 0.18);
    border-color: rgba(0, 229, 160, 0.5);
    box-shadow: 0 0 12px rgba(0, 229, 160, 0.15);
}
.sidebar-btn-report {
    width: 100%;
    padding: 8px 20px;
    font-size: 0.72rem;
    font-weight: 600;
    font-family: 'Orbitron', monospace;
    color: #00e5a0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: transparent;
    border: 1px solid rgba(0, 229, 160, 0.2);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sidebar-btn-report:hover {
    color: #ffffff;
    background: rgba(0, 229, 160, 0.18);
    border-color: rgba(0, 229, 160, 0.5);
    box-shadow: 0 0 12px rgba(0, 229, 160, 0.15);
}
.sidebar-btn-report:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Conversation list */
.sidebar-conversations {
    flex: 1;
    overflow-y: auto;
    padding: 0.4rem 0;
    border-top: 1px solid rgba(0, 229, 160, 0.08);
}

/* Week folder group */
.sidebar-week-folder {
    margin-bottom: 0.15rem;
}
.sidebar-week-header {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.85rem;
    font-size: 0.65rem;
    font-weight: 600;
    font-family: 'Orbitron', monospace;
    color: #00e5a0;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
    user-select: none;
}
.sidebar-week-header:hover {
    color: #ffffff;
}
.sidebar-week-chevron {
    font-size: 0.6rem;
    transition: transform 0.15s;
    display: inline-block;
}
.sidebar-week-chevron.collapsed {
    transform: rotate(-90deg);
}
.sidebar-week-items {
    overflow: hidden;
}
.sidebar-week-items.collapsed {
    display: none;
}

/* Individual conversation item */
.sidebar-conv-item {
    display: flex;
    align-items: center;
    padding: 0.45rem 0.85rem 0.45rem 1.3rem;
    cursor: pointer;
    border-radius: 0;
    transition: background 0.1s;
    position: relative;
    gap: 0.4rem;
    min-height: 32px;
}
.sidebar-conv-item:hover {
    background: rgba(255, 255, 255, 0.04);
}
.sidebar-conv-item.active {
    background: rgba(0, 229, 160, 0.08);
    border-left: 2px solid #00e5a0;
    padding-left: calc(1.3rem - 2px);
}

.sidebar-conv-icon {
    flex-shrink: 0;
    font-size: 0.8rem;
    width: 1.2rem;
    text-align: center;
    opacity: 0.6;
}
.sidebar-conv-title {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.82rem;
    color: var(--text);
}
.sidebar-conv-item.active .sidebar-conv-title {
    color: #00e5a0;
}

/* Rename inline input */
.sidebar-conv-rename-input {
    flex: 1;
    min-width: 0;
    padding: 0.15rem 0.35rem;
    font-size: 0.82rem;
    font-family: var(--font-body);
    background: var(--bg-card);
    border: 1px solid #00e5a0;
    border-radius: 3px;
    color: var(--text);
    outline: none;
}

/* Three-dot menu */
.sidebar-conv-menu-btn {
    flex-shrink: 0;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1rem;
    padding: 0.1rem 0.25rem;
    border-radius: 3px;
    opacity: 0;
    transition: opacity 0.15s;
    line-height: 1;
}
.sidebar-conv-item:hover .sidebar-conv-menu-btn {
    opacity: 0.7;
}
.sidebar-conv-menu-btn:hover {
    opacity: 1 !important;
    background: rgba(255, 255, 255, 0.08);
}

/* Dropdown menu */
.sidebar-conv-menu {
    position: absolute;
    right: 0.5rem;
    top: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    z-index: 100;
    min-width: 120px;
    padding: 0.25rem 0;
}
.sidebar-conv-menu-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
    color: var(--text);
    cursor: pointer;
    transition: background 0.1s;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-family: var(--font-body);
}
.sidebar-conv-menu-item:hover {
    background: rgba(255, 255, 255, 0.06);
}
.sidebar-conv-menu-item.danger {
    color: #ff4d4d;
}
.sidebar-conv-menu-item.danger:hover {
    background: rgba(255, 77, 77, 0.1);
}

/* Bulk actions (Archive All / Delete All) */
.sidebar-bulk-actions {
    display: flex;
    gap: 0.4rem;
    padding: 0.5rem 0.85rem;
    border-top: 1px solid rgba(0, 229, 160, 0.12);
    flex-shrink: 0;
}
.sidebar-bulk-btn {
    flex: 1;
    padding: 0.3rem 0.5rem;
    font-size: 0.62rem;
    font-weight: 600;
    font-family: 'Orbitron', monospace;
    color: rgba(0, 229, 160, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: transparent;
    border: 1px solid rgba(0, 229, 160, 0.15);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}
.sidebar-bulk-btn:hover {
    color: #00e5a0;
    border-color: rgba(0, 229, 160, 0.4);
    background: rgba(0, 229, 160, 0.06);
}
.sidebar-bulk-btn.danger:hover {
    color: #ff4d4d;
    border-color: rgba(255, 77, 77, 0.4);
    background: rgba(255, 77, 77, 0.06);
}

/* Usage bar at sidebar bottom */
.sidebar-usage {
    padding: 0.6rem 0.85rem;
    border-top: 1px solid rgba(0, 229, 160, 0.12);
    flex-shrink: 0;
}

/* ── Main Chat Area ── */
.coach-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
    background: var(--bg-primary);
}

/* Context summary (compact bar above messages) */
.coach-context-summary {
    flex-shrink: 0;
    padding: 0;
}
.coach-context-card {
    background: var(--bg-card);
    border-bottom: 1px solid rgba(0, 229, 160, 0.12);
    padding: 0.5rem 1.25rem;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.coach-context-line {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Scrollable messages container */
.coach-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* ── Empty state: center input + greeting in middle of screen ── */
.coach-empty-state {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    color: var(--text-muted);
    gap: 0.75rem;
    padding: 2rem 2rem 1rem;
    text-align: center;
}
.coach-empty-state .empty-logo {
    height: 48px;
    opacity: 0.3;
}
.coach-empty-state .empty-title {
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    letter-spacing: 3px;
    color: #00e5a0;
    text-transform: uppercase;
}
.coach-empty-state .empty-hint {
    font-size: 0.82rem;
    max-width: 320px;
    color: rgba(0, 229, 160, 0.4);
}

/* When the messages area contains the empty state,
   move the input bar up so input feels centered on screen */
.coach-main:has(.coach-empty-state) {
    justify-content: center;
}
.coach-main:has(.coach-empty-state) .coach-messages {
    flex: 0 1 auto;
    overflow: visible;
    justify-content: flex-end;
    padding-bottom: 0.5rem;
}
.coach-main:has(.coach-empty-state) .coach-input-bar {
    flex-shrink: 0;
    border-top: none;
    background: transparent;
    padding-bottom: 8vh;
}

/* Chat bubbles */
.coach-chat-user {
    padding: 0.75rem 1rem;
    margin: 0.3rem 0;
    background: rgba(0, 229, 160, 0.06);
    border: 1px solid rgba(0, 229, 160, 0.12);
    border-radius: var(--radius-lg);
    border-bottom-right-radius: 4px;
    align-self: flex-end;
    max-width: 80%;
    color: var(--text);
    font-size: 0.9rem;
    line-height: 1.55;
    word-wrap: break-word;
}
.coach-chat-assistant {
    padding: 0.75rem 1rem;
    margin: 0.3rem 0;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border-bottom-left-radius: 4px;
    align-self: flex-start;
    max-width: 85%;
    font-size: 0.9rem;
    line-height: 1.55;
    word-wrap: break-word;
}
.coach-chat-assistant .markdown {
    font-size: inherit;
}
.coach-chat-thinking {
    color: var(--text-muted);
    font-style: italic;
    animation: coach-thinking-pulse 1.2s ease-in-out infinite;
}
@keyframes coach-thinking-pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Chat status line */
.chat-status {
    font-size: 0.8rem;
    color: #00e5a0;
    padding: 0 1.5rem;
    min-height: 0;
    flex-shrink: 0;
}

/* Bottom-pinned input bar */
.coach-input-bar {
    flex-shrink: 0;
    padding: 0.75rem 1.25rem 1.5rem;
    border-top: 1px solid rgba(0, 229, 160, 0.1);
    background: var(--bg-surface);
}
.coach-chat-input-row {
    display: flex;
    gap: 0.6rem;
    align-items: flex-end;
    max-width: 800px;
    margin: 0 auto;
}
.coach-chat-input {
    flex: 1;
    min-width: 0;
    width: 100%;
    padding: 0.65rem 0.85rem;
    background: rgba(10, 15, 30, 0.6);
    border: 1px solid rgba(0, 229, 160, 0.15);
    border-radius: 6px;
    color: var(--text);
    font-size: 0.9rem;
    font-family: var(--font-body);
    line-height: 1.45;
    resize: none;
    min-height: 44px;
    max-height: 160px;
    transition: border-color 0.15s;
}
.coach-chat-input:focus {
    outline: none;
    border-color: #00e5a0;
}
.coach-chat-input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.coach-chat-input-row textarea {
    width: 100% !important;
    min-height: 44px !important;
    max-height: 160px;
    resize: none;
    box-sizing: border-box;
}
.coach-send-btn {
    padding: 8px 20px;
    font-size: 0.72rem;
    font-weight: 600;
    font-family: 'Orbitron', monospace;
    color: #00e5a0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(0, 229, 160, 0.08);
    border: 1px solid rgba(0, 229, 160, 0.3);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    height: 44px;
}
.coach-send-btn:hover {
    color: #ffffff;
    background: rgba(0, 229, 160, 0.18);
    border-color: rgba(0, 229, 160, 0.5);
    box-shadow: 0 0 12px rgba(0, 229, 160, 0.15);
}
.coach-send-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.coach-disclaimer {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-align: center;
    margin: 0.35rem 0 0;
    opacity: 0.7;
}

.coach-error {
    color: #ff4d4d;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

/* ── Report displayed inside main chat area ── */
.report-output {
    min-height: 0;
}
.report-status {
    font-size: 0.8rem;
    color: #00e5a0;
    padding: 0.25rem 1.5rem;
    min-height: 0;
}
.coach-report-output {
    padding: 1.25rem;
    max-height: none;
    overflow: visible;
}
.coach-report-markdown {
    font-size: clamp(0.85rem, 1.5vw, 0.95rem);
    line-height: 1.6;
}
.coach-report-markdown h1, .coach-report-markdown h2, .coach-report-markdown h3 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
}

/* ── Scope header (pills row above report / context) ── */
.scope-header {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.scope-pill {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    white-space: nowrap;
}
.scope-pill-range {
    color: #00e5a0;
    background: rgba(0, 229, 160, 0.1);
}
.scope-pill-muted {
    font-weight: 400;
    color: var(--text-muted);
    background: transparent;
    border: 1px solid var(--border);
}

/* ── KPI snapshot table ── */
.report-kpi-section {
    margin-bottom: 1.25rem;
}
.report-section-heading {
    font-family: 'Orbitron', monospace;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
    color: #00e5a0;
    text-transform: uppercase;
}
.kpi-snapshot-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}
.kpi-snapshot-table thead th {
    text-align: left;
    font-weight: 600;
    font-family: 'Orbitron', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #00e5a0;
    padding: 0.4rem 0.75rem;
    border-bottom: 1px solid rgba(0, 229, 160, 0.15);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.kpi-snapshot-table tbody td {
    padding: 0.35rem 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.kpi-label-cell {
    color: var(--text-muted);
}
.kpi-value-cell {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    text-align: right;
    color: var(--text);
}

/* ── Report AI body ── */
.report-ai-body {
    margin-top: 1rem;
}

/* ── Subtle request ID for issue reporting ── */
.debrief-request-id {
    font-size: 0.65rem;
    color: var(--text-muted);
    opacity: 0.5;
    text-align: right;
    margin-top: 0.75rem;
    user-select: all;
    cursor: text;
    font-family: var(--font-mono, monospace);
    letter-spacing: 0.03em;
}

/* ── Compact dark usage bar (sidebar bottom) ── */
.usage-bar-mini {
    margin: 0;
}
.usage-bar-inner {
    display: flex;
    align-items: center;
    gap: 8px;
}
.usage-bar-label {
    flex-shrink: 0;
    font-size: 11px;
    color: #8a8f98;
    min-width: 32px;
    text-align: right;
}
.usage-bar-track {
    flex: 1;
    height: 4px;
    border-radius: 2px;
    background: #2a2d35;
    overflow: hidden;
}
.usage-bar-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 0.4s ease;
}

/* ── Responsive: stack on narrow screens ── */
@media (max-width: 768px) {
    .coach-layout {
        flex-direction: column;
        height: auto;
        min-height: 60vh;
    }
    .coach-sidebar {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        max-height: 40vh;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }
    .coach-main {
        min-height: 50vh;
    }
    .coach-chat-user,
    .coach-chat-assistant {
        max-width: 95%;
    }
}

/* ===================================================================
   Scanner Page
   ================================================================ */

.scanner-page-container {
    padding-bottom: 2rem;
}

/* ── Controls Panel ── */
.scanner-controls-panel {
    background: rgba(0, 229, 160, 0.02);
    border: 1px solid rgba(0, 229, 160, 0.1);
    border-radius: 6px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.scanner-control-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    align-items: flex-start;
}

.scanner-control-row:last-child {
    margin-bottom: 0;
}

.scanner-control-group {
    flex: 1;
    min-width: 200px;
}

.scanner-label {
    display: block;
    font-family: 'Orbitron', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.scanner-dropdown,
.scanner-input {
    width: 100%;
    background: var(--bg-darker);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 0.5rem 0.75rem;
    color: var(--text);
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

.scanner-dropdown:focus,
.scanner-input:focus {
    outline: none;
    border-color: var(--accent);
}

.scanner-textarea {
    width: 100%;
    background: var(--bg-darker);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 0.75rem;
    color: var(--text);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    resize: vertical;
}

.scanner-textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.scanner-checklist {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.scanner-checklist label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text);
    cursor: pointer;
}

.scanner-checklist input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.scanner-status {
    margin-left: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-family: 'Orbitron', monospace;
    font-size: 0.8rem;
    letter-spacing: 0.03em;
}

.scanner-placeholder {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
    font-style: italic;
}

/* ── Results Table ── */
.scanner-results-area {
    margin-bottom: 2rem;
}

.scanner-results-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-darker);
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
}

.scanner-th {
    text-align: left;
    padding: 0.75rem 1rem;
    background: rgba(0, 229, 160, 0.05);
    border-bottom: 1px solid rgba(0, 229, 160, 0.15);
    font-family: 'Orbitron', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
}

.scanner-td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.9rem;
}

.scanner-table-row {
    cursor: pointer;
    transition: background 0.15s ease;
}

.scanner-table-row:hover {
    background: rgba(0, 229, 160, 0.02);
}

.scanner-status-pass {
    color: var(--accent);
    font-weight: 600;
}

.scanner-status-fail {
    color: #ff4444;
    font-weight: 600;
}

.scanner-td-score {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

.scanner-td-summary {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-family: var(--font-mono);
}

/* ── Detail Panel ── */
.scanner-detail-area {
    min-height: 200px;
}

.scanner-detail-panel {
    background: rgba(0, 229, 160, 0.02);
    border: 1px solid rgba(0, 229, 160, 0.1);
    border-radius: 6px;
    padding: 1.5rem;
}

.scanner-detail-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.25rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.scanner-detail-subtitle {
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 1rem;
    font-weight: 600;
}

/* ── Drivers List ── */
.scanner-drivers-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.scanner-driver-item {
    background: var(--bg-darker);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 0.75rem 1rem;
}

.scanner-driver-name {
    font-family: 'Orbitron', monospace;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    color: var(--accent);
    font-weight: 600;
    margin-right: 1rem;
}

.scanner-driver-impact {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.scanner-driver-value {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--text);
    font-family: var(--font-mono);
}

.scanner-driver-notes {
    margin-top: 0.25rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
}

/* ── Candidates Table ── */
.scanner-candidates-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-darker);
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
}

.scanner-td-rank {
    color: var(--text-muted);
    font-weight: 600;
}

.scanner-candidate-row {
    transition: background 0.15s ease;
}

.scanner-candidate-row:hover {
    background: rgba(0, 229, 160, 0.02);
}

/* ===================================================================
   Metric Display Status Indicators (Research + Scanner)
   =================================================================== */

/* Status indicators for cells with validation warnings/blocks */
.status-warn {
    color: #ffa500 !important;
    font-weight: 600;
}

.status-block {
    color: #ff4d4d !important;
    font-weight: 600;
}

.status-ok {
    /* No special styling for OK status */
}

/* Tooltip styling (using title attribute) */
.oc-call-cell[title]:not([title=""]),
.oc-put-cell[title]:not([title=""]) {
    cursor: help;
    position: relative;
}

/* Warning/block cell background tint */
.oc-call-cell.status-warn,
.oc-put-cell.status-warn {
    background-color: rgba(255, 165, 0, 0.05);
}

.oc-call-cell.status-block,
.oc-put-cell.status-block {
    background-color: rgba(255, 77, 77, 0.05);
}

/* ===================================================================
   Scanner Modal Content Layout - Centered & Symmetric
   =================================================================== */

/* Modal content container - center children */
#scanner-modal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
}

/* Field wrapper for label + input pairing */
.scanner-modal-field {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
}

/* Field label styling */
.scanner-modal-field-label {
    width: 90%;
    max-width: 520px;
    text-align: left;
    opacity: 0.8;
    color: #888;
    font-size: 0.85rem;
}

/* ===================================================================
   Scanner Modal Input Styling - Clean, Readable, Centered
   =================================================================== */

/* Target the modal input directly */
#scanner-modal-input,
.scanner-modal-input {
    /* Layout & Size - Centered */
    width: 90%;
    max-width: 520px;
    height: 52px;
    line-height: 52px;
    padding: 0 16px;
    margin: 0 auto;
    display: block;
    
    /* Typography - Centered Numbers */
    font-family: 'Orbitron', monospace;
    font-size: 18px;
    font-weight: 600;
    color: #EAFBFF;
    text-align: center;
    
    /* Background & Border */
    background-color: #0B0F10;
    border: 2px solid rgba(0, 255, 200, 0.6);
    border-radius: 8px;
    
    /* Remove default appearance */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: textfield;
    
    /* Box model */
    box-sizing: border-box;
    outline: none;
    
    /* Transition */
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Handle nested input if component wraps it */
.scanner-modal-input input {
    width: 100%;
    height: 52px;
    line-height: 52px;
    padding: 0 16px;
    text-align: center;
    box-sizing: border-box;
    background: transparent;
    border: none;
    color: inherit;
    font: inherit;
    outline: none;
}

/* Focus state - subtle cyan glow */
#scanner-modal-input:focus,
.scanner-modal-input:focus {
    border-color: #00e5a0;
    box-shadow: 0 0 0 3px rgba(0, 229, 160, 0.1);
}

/* Placeholder styling */
#scanner-modal-input::placeholder,
.scanner-modal-input::placeholder {
    color: rgba(234, 251, 255, 0.3);
    font-weight: 400;
}

/* Hide number input spinners (Webkit) */
#scanner-modal-input::-webkit-outer-spin-button,
#scanner-modal-input::-webkit-inner-spin-button,
.scanner-modal-input::-webkit-outer-spin-button,
.scanner-modal-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Ensure text input cursor is visible */
#scanner-modal-input,
.scanner-modal-input {
    caret-color: #00e5a0;
}

/* ===================================================================
   Disabled Control Styling (Scanner Pills During Scan)
   =================================================================== */
.disabled-control {
    pointer-events: none !important;
    opacity: 0.5 !important;
    cursor: not-allowed !important;
}

.disabled-control * {
    cursor: not-allowed !important;
    pointer-events: none !important;
}
