/* pact.css — Premium Gold/Navy Theme + Animations + Full Width */
:root {
    /* Core Palette - Premium Navy & Gold */
    --bg: #020617;
    /* Deep Navy/Black */
    --surface: #0F172A;
    --surface-glass: rgba(15, 23, 42, 0.7);
    --surface2: #1E293B;
    --text: #F8FAFC;
    --muted: #94A3B8;
    --stroke: rgba(148, 163, 184, 0.1);

    /* Accents */
    --gold: #D4AF37;
    /* Metallic Gold */
    --gold-light: #FCD34D;
    --gold-dim: #927008;
    --primary: var(--gold);
    --primary-text: #020617;
    /* Dark text on gold */

    /* Status */
    --good: #10B981;
    --bad: #EF4444;

    /* UI Variables */
    --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --glow: 0 0 20px rgba(212, 175, 55, 0.15);
    --radius: 16px;
    --font-heading: 'Outfit', system-ui, sans-serif;
    /* Presumed available or fallback */
    --font-body: 'Inter', system-ui, sans-serif;
    --dur: 0.3s;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);

    /* Button Standardization */
    --btn-padding: 14px 24px;
    --btn-font-size: 15px;
    --btn-radius: 8px;

    /* Zenith Design Tokens - Elite Suite */
    --glass-bg: rgba(15, 23, 42, 0.6);
    --glass-stroke: rgba(212, 175, 55, 0.2);
    --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #FCD34D 50%, #927008 100%);
    --navy-gradient: radial-gradient(circle at top left, #0F172A, #020617);
    --shadow-elite: 0 32px 64px -16px rgba(0, 0, 0, 0.8), 0 0 32px rgba(212, 175, 55, 0.1);
    --animation-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --animation-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --glow-gold: 0 0 30px rgba(212, 175, 55, 0.15);
}

/* Light Mode - "White Gold" */
[data-theme="light"] {
    --bg: #F0F4F8;
    --surface: #FFFFFF;
    --surface-glass: rgba(255, 255, 255, 0.8);
    --surface2: #F1F5F9;
    --text: #0F172A;
    --muted: #64748B;
    --stroke: rgba(148, 163, 184, 0.2);

    /* Keep Gold as primary, but adjust for contrast if needed */
    --gold: #B49020;
    /* Slightly darker gold for text visibility */
    --primary: #D4AF37;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(212, 175, 55, 0.03), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(16, 185, 129, 0.03), transparent 25%);
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: color var(--dur);
}

a:hover {
    color: var(--gold-light);
}

/* --- Layouts --- */
.container {
    max-width: 1400px;
    /* Full width feel */
    margin: 0 auto;
    padding: 24px;
    width: 100%;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    grid-template-rows: auto 1fr;
    grid-template-areas:
        "header header"
        "sidebar content";
    gap: 0;
    align-items: start;
    min-height: 100vh;
}

/* Assign Grid Areas */
.dashboard-grid>.topbar {
    grid-area: header;
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
}

.sidebar {
    grid-area: sidebar;
    height: calc(100vh - 73px);
    /* Approx header height */
    position: sticky;
    top: 73px;
    overflow-y: auto;
}

.content {
    grid-area: content;
    padding: 32px;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    min-width: 0;
}

@media (max-width: 1000px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto 1fr;
        grid-template-areas:
            "header"
            "sidebar"
            "content";
    }

    .sidebar {
        height: auto;
        position: static;
        border-right: none;
        border-bottom: 1px solid var(--stroke);
    }

    .content {
        padding: 20px;
    }
}

/* Generic Split Layout for Steps/Negotiate */
.split-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 24px;
    align-items: start;
    width: 100%;
}

@media (max-width: 900px) {
    .split-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Components --- */
.topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(2, 6, 23, 0.8);
    /* Glassy dark */
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--stroke);
}

[data-theme="light"] .topbar {
    background: rgba(255, 255, 255, 0.8);
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    max-width: 1400px;
    margin: 0 auto;
    gap: 24px;
}

.desktop-nav {
    display: flex;
    gap: 24px;
    align-items: center;
}

.desktop-nav a {
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.desktop-nav a:hover {
    color: var(--gold);
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--gold-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 24px;
    color: var(--primary-text);
    box-shadow: var(--glow);
    font-family: var(--font-heading);
    cursor: pointer;
    transition: all 0.3s var(--animation-spring);
}

.logo:hover {
    transform: scale(1.05) rotate(-5deg);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
}

.logo:active {
    transform: scale(0.95);
}

.brand-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.02em;
}

/* Cards with Elite Glassmorphism & Motion */
.card,
.bento-card {
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-stroke);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    transition: all 0.5s var(--animation-spring);
    position: relative;
    overflow: hidden;
    animation: zenithReveal 0.8s var(--animation-spring) backwards;
    /* Ensure content inside expands */
    display: flex;
    flex-direction: column;
}

@media (hover: hover) {

    .card:hover,
    .bento-card:hover {
        transform: translateY(-8px) scale(1.01);
        box-shadow: var(--shadow-elite);
        border-color: var(--gold);
        background: rgba(30, 41, 59, 0.7);
    }

    .card:hover::after {
        left: 100%;
    }
}

/* Inputs */
.label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
    margin-bottom: 8px;
}

.input,
.select,
.textarea {
    width: 100%;
    background: var(--surface2);
    border: 1px solid var(--stroke);
    color: var(--text);
    padding: 14px;
    border-radius: 12px;
    font-family: inherit;
    font-size: 16px;
    /* ZENITH: 16px stops iOS auto-zoom */
    transition: all 0.2s;
    appearance: none;
    -webkit-appearance: none;
    box-sizing: border-box;
    /* Ensure padding doesn't break width */
}

.textarea {
    min-height: 160px;
    /* Big place to write */
    resize: vertical;
}

.input:focus,
.select:focus,
.textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
    background: var(--bg);
}

/* Premium Buttons */
.btn {
    display: block;
    text-align: center;
    width: 100%;
    background: var(--gold);
    color: var(--primary-text);
    padding: var(--btn-padding);
    border: none;
    border-radius: var(--btn-radius);
    font-weight: 700;
    font-size: var(--btn-font-size);
    cursor: pointer;
    transition: all var(--dur) var(--ease);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    /* Mobile bounce feedback */
    -webkit-tap-highlight-color: transparent;
    position: relative;
    overflow: hidden;
}

/* Mobile button bounce effect */
@media (max-width: 768px) {
    .btn:active {
        transform: scale(0.95);
        transition: transform 0.1s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    /* PACT Design Tokens - Elite Suite */

    .input:focus,
    .textarea:focus,
    .select:focus {
        /* PACT: Removed scale on focus to prevent "long press" feel on mobile */
        transform: none;
        transition: border-color 0.2s;
    }
}

@media (hover: hover) {
    .btn:hover {
        transform: translateY(-2px);
        filter: brightness(1.1);
        box-shadow: 0 10px 20px -5px rgba(212, 175, 55, 0.4);
    }
}

.btn:active {
    transform: translateY(0);
}

.btn.secondary {
    background: transparent;
    border: 1px solid var(--stroke);
    color: var(--text);
}

.btn.secondary:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(212, 175, 55, 0.05);
}

.btn:disabled,
.btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
    filter: grayscale(0.5);
    transform: none;
}

/* Loading Spinner */
.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Shield Animation */
.shield-container {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    position: relative;
    display: grid;
    place-items: center;
}

.shield-path {
    fill: none;
    stroke: var(--gold);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: drawShield 1.5s ease forwards;
}

.check-path {
    fill: none;
    stroke: var(--gold);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: drawCheck 0.8s 1.5s ease forwards;
    opacity: 0;
}

@keyframes drawShield {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes drawCheck {
    from {
        opacity: 1;
    }

    to {
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

/* Fade In */
.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(10px);
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RTL support */
[dir="rtl"] {
    direction: rtl;
}

[dir="rtl"] .brand {
    flex-direction: row-reverse;
}

/* Typography improvements */
h1,
.h1 {
    font-family: var(--font-heading);
    font-size: 28px;
    letter-spacing: -0.03em;
    color: var(--text);
}

h2,
.h2 {
    font-size: 22px;
    color: var(--text);
}

.p,
p {
    line-height: 1.6;
    color: var(--muted);
}

/* --- Utility Classes --- */
.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 100%;
}

/* Fix for Grid Blowout */
.grid>*,
.dashboard-grid>* {
    min-width: 0;
}

@media (max-width: 768px) {

    /* FORCE SINGLE COLUMN & ADD VERTICAL GAPS */
    .grid,
    .dashboard-grid,
    [dir="rtl"] .dashboard-grid {
        grid-template-columns: 1fr !important;
        display: flex;
        flex-direction: column;
        width: 100% !important;
        gap: 24px !important;
        /* ZENITH: Stop the squashing */
    }

    .container {
        padding: 16px 12px;
    }

    .card,
    .bento-card {
        padding: 20px 16px;
        margin-bottom: 16px;
    }

    .h1,
    h1 {
        font-size: 24px;
    }

    .h2,
    h2 {
        font-size: 20px;
    }

    .topbar-inner {
        padding: 12px;
    }

    /* ELITE MOBILE INPUTS */
    .input,
    .select,
    .textarea,
    .btn {
        padding: 16px;
        font-size: 16px !important;
    }

    /* Prevent mobile keyboard from squashing the logo */
    .logo {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    #whatsapp-widget {
        transform: scale(0.85);
        bottom: 15px !important;
        right: 15px !important;
    }

    .broadcast-banner {
        font-size: 12px;
        padding: 8px 16px;
    }
}

/* Screen < 400px (iPhone SE/Small) */
@media (max-width: 400px) {

    .h1,
    h1 {
        font-size: 20px;
    }

    .card {
        padding: 16px 12px;
    }

    .btn {
        padding: 14px;
        font-size: 14px !important;
    }
}

/* Status Badges */
.badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid currentColor;
}

.badge.success {
    color: var(--good);
    background: rgba(16, 185, 129, 0.1);
}

.badge.bad {
    color: var(--bad);
    background: rgba(239, 68, 68, 0.1);
}

.notice.ok {
    border-left: 4px solid var(--good);
    background: rgba(16, 185, 129, 0.05);
}

.notice.bad {
    border-left: 4px solid var(--bad);
    background: rgba(239, 68, 68, 0.05);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--surface2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--stroke);
}

/* --- Custom Flag Selector --- */
.flag-select-container {
    position: relative;
    display: inline-block;
}

.flag-btn {
    appearance: none;
    background: transparent;
    border: 1px solid var(--stroke);
    border-radius: 12px;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.flag-btn:hover {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.05);
}

.flag-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: var(--surface);
    border: 1px solid var(--stroke);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 8px;
    display: none;
    flex-direction: column;
    gap: 4px;
    z-index: 200;
    min-width: 140px;
    animation: fadeIn 0.2s ease-out;
}

.flag-dropdown.show {
    display: flex;
}

.flag-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s;
}

.flag-option:hover {
    background: var(--surface2);
    color: var(--gold);
}

.flag-option svg {
    width: 24px;
    height: 16px;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* --- Progress Bar Steps --- */
.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--stroke);
    z-index: 0;
    transform: translateY(-50%);
}

/* ZENITH PROTOCOL PROGRESS BAR (DETERMINISTIC) */
.protocol-progress-wrapper {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    margin: 24px 0;
    width: 100%;
}

.protocol-segment {
    display: flex;
    flex-direction: column;
    gap: 6px;
    opacity: 0.4;
    transition: all 0.4s var(--spring);
}

.protocol-segment.active {
    opacity: 1;
}

.protocol-segment.completed {
    opacity: 0.8;
}

.segment-pill {
    height: 4px;
    background: var(--stroke);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.protocol-segment.active .segment-pill {
    background: var(--gold);
}

.protocol-segment.completed .segment-pill {
    background: var(--gold);
}

.protocol-segment.active .segment-pill::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmy 2s infinite;
}

.segment-label {
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--muted);
}

.protocol-segment.active .segment-label {
    color: var(--gold);
}

.protocol-segment.completed .segment-label {
    color: var(--text);
}

@keyframes shimmy {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* COLD THEME OVERRIDES */
.badge.success {
    background: var(--navy);
    color: var(--gold);
    border: 1px solid var(--gold);
    font-weight: 800;
}

.badge {
    text-transform: uppercase;
    letter-spacing: 1px;
}

.h1,
.h2 {
    letter-spacing: -0.5px;
}

.step-item {
    position: relative;
    z-index: 1;
    background: var(--surface);
    border: 2px solid var(--stroke);
    color: var(--muted);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.4s ease;
}

.step-item.active {
    border-color: var(--gold);
    color: var(--gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
    background: var(--bg);
}

.step-item.completed {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--primary-text);
}

/* Zenith Motion Engine & Extras */
@keyframes zenithReveal {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.1);
    }

    50% {
        box-shadow: 0 0 40px rgba(212, 175, 55, 0.3);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.animate-entrance {
    animation: zenithReveal 1s var(--animation-spring) both;
}

.pulse-primary {
    animation: pulseGlow 3s infinite ease-in-out;
}

/* Staggered Delay Utilities */
.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

/* Elite Buttons */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s var(--animation-spring) !important;
}

.btn:active {
    transform: scale(0.95);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: width 0.6s, height 0.6s;
    transform: translate(-50%, -50%);
}

.btn:hover::before {
    width: 300%;
    height: 300%;
}

/* Broadcast Banner */
.broadcast-banner {
    background: linear-gradient(135deg, #FF6B6B, #EE5253);
    color: white;
    text-align: center;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 700;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(238, 82, 83, 0.3);
    display: none;
}

/* MOBILE FIX: Disable all hover animations on touch devices to prevent bouncing */
@media (max-width: 768px),
(hover: none) {

    .btn:hover,
    .card:hover,
    a:hover,
    .nav-item:hover {
        transform: none !important;
        filter: none !important;
    }

    .btn:hover::before {
        width: 0 !important;
        height: 0 !important;
    }
}

/* --- Toast Notifications --- */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 10000;
}

.toast {
    background: var(--surface);
    color: var(--text);
    padding: 16px 24px;
    border-radius: 12px;
    border: 1px solid var(--stroke);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    font-size: 14px;
    font-weight: 600;
    min-width: 300px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: bottom right;
}

.toast.error {
    border-color: var(--bad);
    color: var(--bad);
    background: rgba(255, 69, 58, 0.05);
}

.toast.success {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(212, 175, 55, 0.05);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: scale(0.95);
    }
}

/* --- Skeleton Loader --- */
.skeleton {
    background: linear-gradient(90deg, var(--surface2) 25%, var(--stroke) 50%, var(--surface2) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
    display: inline-block;
    color: transparent !important;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* --- Theme Toggle & UI Controls --- */
.toggle {
    background: transparent;
    border: 1px solid var(--stroke);
    color: var(--muted);
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.2s;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(212, 175, 55, 0.05);
}

/* --- Language Selector --- */
.flag-select-container {
    position: relative;
    z-index: 1000;
}

.flag-btn {
    background: transparent;
    border: 1px solid var(--stroke);
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    color: var(--text);
    height: 36px;
}

.flag-btn:hover {
    border-color: var(--gold);
    background: var(--surface2);
}

.flag-btn svg {
    width: 20px;
    height: auto;
    border-radius: 2px;
}

.flag-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: var(--surface);
    border: 1px solid var(--stroke);
    border-radius: 12px;
    padding: 6px;
    width: 160px;
    box-shadow: var(--shadow-elite);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.flag-dropdown.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.flag-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text);
    transition: background 0.2s;
}

.flag-option:hover {
    background: var(--surface2);
}

.flag-option svg {
    width: 20px;
    height: auto;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}