/* ==========================================================================
   BANKSTALLY — Professional Financial UI
   Theme: Light / Trust-first — Navy, Green, Gold on White
   Fonts: Playfair Display (brand) + Source Sans 3 (body — max readability)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

/* ---------- CSS VARIABLES ---------- */
:root {
    /* Backgrounds */
    --bg-page:       #F0F4F8;
    --bg-card:       #FFFFFF;
    --bg-input:      #F7FAFC;
    --bg-input-focus:#FFFFFF;
    --bg-header:     #0D2B52;
    --bg-footer:     #0D2B52;
    --bg-strip:      #F0F7F2;

    /* Brand Colors */
    --navy:          #0D2B52;
    --navy-light:    #163D72;
    --green:         #1A6B45;
    --green-light:   #228B57;
    --green-pale:    #EBF5EF;
    --gold:          #B8860B;
    --gold-light:    #D4A017;
    --gold-pale:     #FDF6E3;

    /* Text */
    --text-primary:   #1A2332;
    --text-secondary: #4A5568;
    --text-muted:     #718096;
    --text-white:     #FFFFFF;
    --text-white-dim: rgba(255,255,255,0.7);

    /* Borders */
    --border:         #D1D9E6;
    --border-focus:   #1A6B45;

    /* Status */
    --success:        #1A6B45;
    --success-bg:     #EBF5EF;
    --success-border: #A3D9B8;
    --warning:        #B45309;
    --warning-bg:     #FEF3C7;
    --warning-border: #FCD34D;
    --danger:         #C0392B;
    --danger-bg:      #FEE8E6;
    --danger-border:  #F5A49E;

    /* Sizing */
    --radius-sm:  8px;
    --radius-md:  12px;
    --radius-lg:  18px;

    /* Shadow */
    --shadow-sm:  0 1px 4px rgba(13,43,82,0.08);
    --shadow-md:  0 4px 16px rgba(13,43,82,0.10);
    --shadow-lg:  0 8px 32px rgba(13,43,82,0.12);

    --transition: 0.18s ease;
}

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

html { font-size: 16px; }

body {
    font-family: 'Source Sans 3', sans-serif;
    background: var(--bg-page);
    color: var(--text-primary);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

/* ---------- HEADER ---------- */
.header {
    background: var(--bg-header);
    padding: 0 40px;
    height: 68px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

/* Left side stripe accent */
.header::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--gold-light), var(--green-light));
}

.brand {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.tagline {
    font-size: 12px;
    color: var(--text-white-dim);
    font-weight: 300;
    margin-top: 2px;
    letter-spacing: 0.2px;
}

.user-section {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    color: var(--text-white-dim);
}

.user-section strong {
    color: #FFFFFF;
    font-weight: 600;
}

.logout-btn {
    padding: 8px 18px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.25);
    color: #FFFFFF;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: var(--transition);
}

.logout-btn:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.4);
}

/* ---------- MAIN LAYOUT ---------- */
.main-container {
    max-width: 706px;
    margin: 0 auto;
    padding: 44px 24px 110px;
    animation: fadeUp 0.35s ease both;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---------- CARD ---------- */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 44px;
    box-shadow: var(--shadow-md);
}

.card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 2px solid var(--bg-page);
    display: flex;
    align-items: center;
    gap: 12px;
}

.card h2::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 26px;
    background: linear-gradient(to bottom, var(--green), var(--navy));
    border-radius: 3px;
    flex-shrink: 0;
}

/* ---------- FORM ELEMENTS ---------- */
label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-top: 22px;
    margin-bottom: 7px;
}

.form-input {
    width: 100%;
    padding: 13px 16px;
    background: var(--bg-input);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: 'Source Sans 3', sans-serif;
    font-size: 15px;
    font-weight: 400;
    transition: var(--transition);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.form-input:focus {
    border-color: var(--border-focus);
    background: var(--bg-input-focus);
    box-shadow: 0 0 0 3px rgba(26,107,69,0.1);
}

.form-input::placeholder {
    color: var(--text-muted);
    font-weight: 300;
}

select.form-input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234A5568' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

select.form-input option {
    background: #FFFFFF;
    color: var(--text-primary);
    font-size: 15px;
}

input[type="file"].form-input {
    padding: 11px 16px;
    cursor: pointer;
    color: var(--text-secondary);
}

input[type="file"].form-input::-webkit-file-upload-button {
    background: var(--green-pale);
    border: 1.5px solid var(--success-border);
    color: var(--green);
    padding: 6px 14px;
    border-radius: 6px;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    margin-right: 14px;
    transition: var(--transition);
}

input[type="file"].form-input::-webkit-file-upload-button:hover {
    background: #D4EDDA;
    border-color: var(--green);
}

/* ---------- BANK INFO STRIP ---------- */
.bank-info-strip {
    display: none;
    margin-top: 14px;
    padding: 14px 18px;
    background: var(--bg-strip);
    border: 1.5px solid var(--success-border);
    border-radius: var(--radius-sm);
    gap: 16px;
    align-items: center;
}

.bank-info-strip.visible {
    display: flex;
    animation: fadeUp 0.25s ease both;
}

.bank-info-strip img {
    height: 34px;
    width: auto;
    object-fit: contain;
}

.bank-info-text .format-hint {
    font-size: 13px;
    color: var(--green);
    font-weight: 600;
}

.bank-info-text .instruction-hint {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 3px;
}

/* ---------- BUTTONS ---------- */
.primary-btn {
    display: block;
    width: 100%;
    margin-top: 28px;
    padding: 15px;
    background: linear-gradient(135deg, var(--green), var(--navy));
    color: #FFFFFF;
    border: none;
    border-radius: var(--radius-sm);
    font-family: 'Source Sans 3', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.4px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    text-decoration: none;
}

.primary-btn:hover {
    background: linear-gradient(135deg, var(--green-light), var(--navy-light));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13,43,82,0.25);
}

.primary-btn:active { transform: translateY(0); }

.primary-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.secondary-btn {
    margin-top: 14px;
    background: transparent;
    color: var(--text-secondary);
    border: 1.5px solid var(--border);
    font-weight: 600;
}

.secondary-btn:hover {
    background: var(--bg-page);
    color: var(--navy);
    border-color: var(--navy);
    box-shadow: none;
    transform: none;
}

/* ---------- LICENSE BOX ---------- */
.license-box {
    padding: 13px 18px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1.5px solid;
    border-left-width: 4px;
}

.license-active  { background: var(--success-bg); border-color: var(--success-border); border-left-color: var(--success); color: var(--success); }
.license-warning { background: var(--warning-bg); border-color: var(--warning-border); border-left-color: var(--warning); color: var(--warning); }
.license-expired { background: var(--danger-bg);  border-color: var(--danger-border);  border-left-color: var(--danger);  color: var(--danger);  }

/* ---------- MESSAGES ---------- */
.error-text {
    font-size: 14px;
    color: var(--danger);
    background: var(--danger-bg);
    border: 1.5px solid var(--danger-border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    margin-top: 12px;
    font-weight: 500;
}

.timeout-text {
    font-size: 14px;
    color: var(--warning);
    background: var(--warning-bg);
    border: 1.5px solid var(--warning-border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    margin-bottom: 16px;
    font-weight: 500;
}

/* ---------- RESULT PAGE ---------- */
.result-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    margin: 26px 0;
}

.metric-box {
    background: var(--bg-page);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px 16px;
    text-align: center;
    transition: var(--transition);
}

.metric-box:hover {
    border-color: var(--green);
    box-shadow: var(--shadow-sm);
}

.metric-box .metric-value {
    font-family: 'Cambria', serif;
    font-size: 34px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 7px;
}

.metric-box .metric-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 600;
}

.success-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: var(--success-bg);
    border: 1.5px solid var(--success-border);
    color: var(--success);
    font-size: 14px;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 24px;
    margin-bottom: 20px;
}

.success-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.4; transform: scale(1.5); }
}

/* ---------- BACK LINK ---------- */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 20px;
    transition: var(--transition);
}

.back-link:hover { color: var(--navy); }

/* ---------- FOOTER ---------- */
.footer {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--bg-footer);
    border-top: 3px solid var(--green);
    padding: 13px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-white-dim);
    z-index: 50;
}

.footer-brand {
    font-family: 'Playfair Display', serif;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
}

.footer-center { text-align: center; flex: 1; }
.footer-version { color: rgba(255,255,255,0.4); font-size: 11px; }

/* ---------- LOGIN PAGE ---------- */
.login-body {
    background: linear-gradient(145deg, #0D2B52 0%, #1A4A2E 60%, #0D2B52 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 40px 20px;
}

/* Subtle geometric overlay */
.login-body::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 56px 56px;
    pointer-events: none;
}

/* Gold glow orb */
.login-body::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212,160,23,0.12) 0%, transparent 65%);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    pointer-events: none;
}

.login-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 440px;
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    padding: 52px 48px 44px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.3);
    animation: fadeUp 0.5s ease both;
}

/* Top accent bar */
.login-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--green), var(--gold-light), var(--navy));
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.login-logo {
    text-align: center;
    margin-bottom: 34px;
}

.login-logo .brand {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    font-weight: 700;
    color: var(--navy);
    display: block;
    margin-bottom: 6px;
}

.login-logo .tagline {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 400;
}

.login-divider {
    height: 1.5px;
    background: var(--bg-page);
    margin: 6px 0 24px;
}

.login-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--bg-page);
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ---------- HEADER — 3-column grid for centered brand ---------- */
.header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.header-spacer {
    /* fills left/right columns so the center stays truly centered */
}

/* Clickable logo + brand link */
.header-home-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: opacity 0.2s ease;
    justify-content: center;
}
.header-home-link:hover { opacity: 0.82; }

.header-brand-text {
    display: flex;
    flex-direction: column;
}

/* Override brand/tagline colors — white on dark header */
.header-home-link .brand {
    color: #FFFFFF;
    font-size: 24px;
}

.header-home-link .tagline {
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.92);   /* much brighter than before */
    margin-top: 1px;
    letter-spacing: 0.2px;
}

/* User section right-aligned */
.user-section {
    justify-content: flex-end;
}

/* ---------- DISMISSIBLE ERROR BANNER ---------- */
.error-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: var(--danger-bg);
    border: 1.5px solid var(--danger-border);
    border-left: 4px solid var(--danger);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    margin-bottom: 20px;
    max-height: 80px;
    overflow: hidden;
    font-weight: 500;
}

.error-banner-text {
    font-size: 14px;
    color: var(--danger);
    flex: 1;
    line-height: 1.4;
}

.error-banner-close {
    background: none;
    border: none;
    color: var(--danger);
    font-size: 16px;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    opacity: 0.7;
    flex-shrink: 0;
    line-height: 1;
    transition: opacity 0.2s ease, background 0.2s ease;
}
.error-banner-close:hover {
    opacity: 1;
    background: rgba(192,57,43,0.1);
}

/* ---------- PRIVACY NOTICE (result page) ---------- */
.privacy-notice {
    display: none;                          /* hidden until download clicked */
    align-items: flex-start;
    gap: 14px;
    margin-top: 14px;
    padding: 16px 18px;
    background: var(--success-bg);
    border: 1.5px solid var(--success-border);
    border-left: 4px solid var(--success);
    border-radius: var(--radius-sm);
    animation: fadeUp 0.4s ease both;
}

.privacy-notice.visible {
    display: flex;
}

.privacy-icon {
    font-size: 22px;
    flex-shrink: 0;
    margin-top: 2px;
}

.privacy-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--success);
    margin-bottom: 5px;
}

.privacy-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ---------- HEADER LAYOUT (3-col: logo | center | right) ---------- */
.header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
}

.header-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.2s ease;
    flex-shrink: 0;
}
.header-logo-link:hover { opacity: 0.8; }

.header-center-link {
    text-decoration: none;
    text-align: center;
    transition: opacity 0.2s ease;
}
.header-center-link:hover { opacity: 0.82; }
.header-center-link .brand  { color: #FFFFFF; }
.header-center-link .tagline {
    font-size: 13px;
    font-weight: 400;
    color: rgba(255,255,255,0.92);
    margin-top: 1px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: flex-end;
    flex-shrink: 0;
}

/* ---------- HELP BUTTON ---------- */
.help-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.22);
    color: rgba(255,255,255,0.88);
    border-radius: var(--radius-sm);
    font-family: 'Source Sans 3', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    letter-spacing: 0.2px;
}
.help-btn:hover {
    background: rgba(212,160,23,0.15);
    border-color: rgba(212,160,23,0.55);
    color: #D4A017;
}

/* ---------- HELP MODAL OVERLAY ---------- */
.help-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(13,43,82,0.65);
    z-index: 500;
    align-items: center;
    justify-content: center;
    padding: 24px;
    backdrop-filter: blur(4px);
}
.help-overlay.active { display: flex; animation: fadeIn 0.2s ease; }

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.help-modal {
    background: white;
    border-radius: 20px;
    width: 100%;
    max-width: 640px;
    max-height: 88vh;
    overflow-y: auto;
    box-shadow: 0 24px 64px rgba(0,0,0,0.25);
    animation: slideUp 0.25s ease;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.help-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 28px 32px 20px;
    border-bottom: 2px solid var(--bg-page);
    position: sticky;
    top: 0;
    background: white;
    border-radius: 20px 20px 0 0;
    z-index: 1;
}

.help-title {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--navy);
    margin-bottom: 4px;
}
.help-subtitle { font-size: 14px; color: var(--text-secondary); }

.help-close {
    background: var(--bg-page);
    border: none;
    color: var(--text-secondary);
    font-size: 22px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
    margin-left: 16px;
    line-height: 1;
}
.help-close:hover { background: var(--danger-bg); color: var(--danger); }

/* Video box */
.help-video-box {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 20px 32px;
    padding: 16px 20px;
    background: #FFF8F8;
    border: 1.5px solid #FFD5D5;
    border-radius: var(--radius-md);
}
.help-video-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.help-video-link {
    font-size: 14px;
    font-weight: 600;
    color: #CC0000;
    text-decoration: none;
    transition: var(--transition);
}
.help-video-link:hover { color: #990000; text-decoration: underline; }

/* Steps */
.help-steps {
    padding: 4px 32px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.help-step {
    display: flex;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--bg-page);
}
.help-step:last-child { border-bottom: none; }

.step-number {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green), var(--navy));
    color: white;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}
.step-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
}
.step-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* Supported banks */
.help-banks {
    margin: 0 32px 20px;
    padding: 16px 20px;
    background: var(--green-pale);
    border: 1.5px solid var(--success-border);
    border-radius: var(--radius-md);
}
.help-banks-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--green);
    margin-bottom: 10px;
}
.help-banks-list { display: flex; flex-wrap: wrap; gap: 8px; }
.bank-chip {
    background: white;
    border: 1.5px solid var(--success-border);
    color: var(--green);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
}

/* Tip note */
.help-note {
    margin: 0 32px 28px;
    padding: 14px 18px;
    background: var(--gold-pale);
    border: 1.5px solid #F0D080;
    border-radius: var(--radius-md);
    font-size: 13.5px;
    color: #7A5A00;
    line-height: 1.6;
}

/* ---------- DISMISSIBLE ERROR BANNER ---------- */
.error-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: var(--danger-bg);
    border: 1.5px solid var(--danger-border);
    border-left: 4px solid var(--danger);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    margin-bottom: 20px;
    max-height: 80px;
    overflow: hidden;
    font-weight: 500;
}
.error-banner-text { font-size: 14px; color: var(--danger); flex: 1; line-height: 1.4; }
.error-banner-close {
    background: none;
    border: none;
    color: var(--danger);
    font-size: 16px;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    opacity: 0.7;
    flex-shrink: 0;
    line-height: 1;
    transition: opacity 0.2s ease, background 0.2s ease;
}
.error-banner-close:hover { opacity: 1; background: rgba(192,57,43,0.1); }

/* ---------- PRIVACY NOTICE ---------- */
.privacy-notice {
    display: none;
    align-items: flex-start;
    gap: 14px;
    margin-top: 14px;
    padding: 16px 18px;
    background: var(--success-bg);
    border: 1.5px solid var(--success-border);
    border-left: 4px solid var(--success);
    border-radius: var(--radius-sm);
    animation: fadeUp 0.4s ease both;
}
.privacy-notice.visible { display: flex; }
.privacy-icon  { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.privacy-title { font-size: 14px; font-weight: 700; color: var(--success); margin-bottom: 5px; }
.privacy-desc  { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }