/* ==============================================
   dFaktura - EDITOR ZDARMA (Sharp Enterprise Style)
   ============================================== */

:root {
    /* Design Tokens - Enterprise Palette */
    --c-primary: #0f172a;    /* Navy Blue */
    --c-primary-dark: #020617;
    --c-accent: #0052cc;     /* Corporate Blue */
    --c-accent-hover: #0747a6;
    --c-bg: #f4f5f7;         /* Light Gray */
    --c-surface: #ffffff;
    --c-text: #172b4d;
    --c-muted: #5e6c84;
    --c-border: #dfe1e6;
    --c-border-strong: #c1c7d0;
    
    --font-main: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Sharp Design - 0px radius */
    --radius: 0px; 
    
    /* Layout */
    --container-w: 1280px;

    /* Footer Colors matching Index */
    --footer-bg: #020617;
    --footer-text: #94a3b8;

    /* dFirma Ekosystém barvy */
    --dfirma-orange: #f97316;
    --dfirma-orange-dark: #ea580c;
    --dfirma-bg: #0a0502;
    --dfirma-surface: #140a05;
}

html { 
    scroll-behavior: smooth; 
    font-size: 14px; 
    scroll-padding-top: 80px;
}

* { box-sizing: border-box; margin: 0; padding: 0; outline: none; }

body { 
    background-color: var(--c-bg); 
    color: var(--c-text); 
    font-family: var(--font-main); 
    font-size: 14px; 
    line-height: 1.5;
    overflow-x: hidden; /* Zabrání vodorovnému posuvníku celé stránky */
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: 0.2s; }
ul { list-style: none; }
img { max-width: 100%; display: block; height: auto; }

/* Typography */
h1, h2, h3 { color: var(--c-primary); font-weight: 800; letter-spacing: -0.02em; }
.text-accent { color: var(--c-accent); }
.text-muted { color: var(--c-muted); }

/* Layout Utilities */
.container { max-width: var(--container-w); margin: 0 auto; padding: 0 24px; width: 100%; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.gap-4 { gap: 16px; }
.w-full { width: 100%; }
.text-right { text-align: right; }
.hidden { display: none !important; }

/* --- BUTTONS (SHARP STYLE) --- */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 24px; font-weight: 700; font-size: 14px;
    border-radius: var(--radius); cursor: pointer; transition: all 0.2s;
    border: 1px solid transparent; text-transform: uppercase; letter-spacing: 0.5px;
    text-align: center;
}
.btn-primary { background: var(--c-accent); color: white; border-color: var(--c-accent); }
.btn-primary:hover { background: var(--c-accent-hover); }

.btn-outline { background: white; border-color: var(--c-border-strong); color: var(--c-primary); }
.btn-outline:hover { background: #f4f5f7; border-color: var(--c-primary); }

.btn-link { background: none; color: var(--c-accent); border: none; padding: 0; cursor: pointer; font-weight: 600; }
.btn-link:hover { text-decoration: underline; }

/* --- INPUTS & FORMS --- */
.form-group { margin-bottom: 15px; width: 100%; }
.label { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--c-muted); margin-bottom: 6px; }
.input {
    width: 100%; padding: 10px 12px; background: white;
    border: 1px solid var(--c-border-strong); border-radius: var(--radius);
    font-family: var(--font-main); font-size: 14px; color: var(--c-text);
    transition: border-color 0.2s;
    max-width: 100%; /* Klíčové pro responzivitu */
}
.input:focus { border-color: var(--c-accent); }
textarea.input { resize: vertical; min-height: 80px; }

/* Speciální třídy pro vstupy */
.input-inv-no { width: 140px; text-align: right; font-weight: 700; }
.input-readonly-bg { background: #f4f5f7; }

/* --- NAVBAR --- */
.navbar { 
    background: rgba(255, 255, 255, 0.95); 
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--c-border); 
    height: 70px; 
    position: fixed; 
    top: 0; 
    width: 100%;
    z-index: 1000; 
}
.nav-content { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.logo img { height: 38px; width: auto; }

/* Desktop Nav */
.nav-links { display: flex; gap: 30px; font-weight: 600; font-size: 13px; text-transform: uppercase; }
.nav-links a { color: var(--c-primary); }
.nav-links a:hover { color: var(--c-accent); }

.nav-auth { display: flex; align-items: center; }
.login-link { font-weight: 700; color: var(--c-primary); text-transform: uppercase; font-size: 13px; margin-right: 20px; }

/* Mobile Menu Elements */
.mobile-menu-icon { display: none; font-size: 1.5rem; cursor: pointer; color: var(--c-primary); padding: 5px; }
.mobile-menu { 
    display: none; 
    flex-direction: column; 
    position: absolute; 
    top: 70px; 
    left: 0; 
    width: 100%; 
    background: white; 
    border-bottom: 1px solid var(--c-border); 
    padding: 10px 0; 
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
    z-index: 999;
}
.mobile-menu.active { display: flex; }
.mobile-menu a { padding: 12px 24px; color: var(--c-primary); font-weight: 600; border-bottom: 1px solid #f1f5f9; display: block; text-transform: uppercase; font-size: 13px; }
.mobile-menu a:last-child { border-bottom: none; }


/* --- HERO & EDITOR SECTION --- */
.hero { padding: 100px 0 80px 0; }
.hero-grid { 
    display: grid; 
    /* minmax(0, 1fr) zabrání roztažení gridu obsahem */
    grid-template-columns: 350px minmax(0, 1fr); 
    gap: 50px; 
    align-items: start; 
}

/* Sales Pitch */
.pitch-box h1 { font-size: 38px; line-height: 1.1; margin-bottom: 20px; word-wrap: break-word; }
.pitch-box p { font-size: 16px; color: var(--c-muted); margin-bottom: 30px; }

/* PROMO BOXES */
.promo-box {
    background: var(--c-primary); color: white;
    padding: 25px; border: 1px solid var(--c-primary-dark);
    margin-bottom: 30px;
}
.promo-box-alt {
    background: var(--c-accent); color: white;
    padding: 25px; border: 1px solid var(--c-accent-hover);
    margin-top: 30px;
}
.promo-header { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: #94a3b8; margin-bottom: 5px; }
.promo-box-alt .promo-header { color: #bfdbfe; }
.promo-price { font-size: 36px; font-weight: 800; color: #ffffff; line-height: 1; }
.promo-period { font-size: 14px; color: #cbd5e1; font-weight: 400; }
.promo-desc { margin-top: 10px; font-size: 14px; color: #e2e8f0; line-height: 1.4; }

/* Warning Box */
.warning-box {
    background: white; border: 1px solid var(--c-border-strong);
    padding: 25px;
}
.warning-title { font-weight: 800; color: var(--c-primary); margin-bottom: 15px; display: flex; align-items: center; gap: 10px; }
.warning-list li { margin-bottom: 12px; display: flex; gap: 10px; font-size: 13px; color: var(--c-muted); line-height: 1.4; }
.warning-list i { color: #dc2626; margin-top: 3px; flex-shrink: 0; }

/* --- EDITOR PAPER --- */
.paper {
    background: white; border: 1px solid var(--c-border); 
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); padding: 50px; position: relative;
    width: 100%; 
    max-width: 100%; /* Pojistka proti přetečení */
}
.doc-header { display: flex; justify-content: space-between; border-bottom: 2px solid var(--c-primary); padding-bottom: 25px; margin-bottom: 35px; flex-wrap: wrap; gap: 20px; }
.doc-title { font-size: 24px; font-weight: 800; text-transform: uppercase; color: var(--c-primary); }

.party-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 30px; }
.party-h { font-size: 11px; text-transform: uppercase; font-weight: 700; color: var(--c-muted); border-bottom: 1px solid var(--c-border); padding-bottom: 5px; margin-bottom: 15px; }

/* Flex row pro IČ/DIČ */
.party-row { display: flex; gap: 16px; }

.meta-box { background: #f8fafc; border: 1px solid var(--c-border); padding: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 30px; }

/* Table responsiveness */
.table-responsive { 
    width: 100%; 
    /* overflow-x: auto; - Na mobilu už nebudeme scrollovat, použijeme karty */
    margin-bottom: 20px;
    border: none;
}

.items-table { width: 100%; border-collapse: collapse; } 
.items-table th { text-align: left; font-size: 11px; text-transform: uppercase; padding: 10px 8px; border-bottom: 2px solid var(--c-border); white-space: nowrap; }
.items-table td { padding: 5px; border-bottom: 1px solid #f1f5f9; vertical-align: middle; }

/* --- UPRAVENO: Jasné ohraničení inputů v tabulce --- */
.items-table input { 
    background: #ffffff; /* Bílé pozadí pro jasnou viditelnost */
    border: 1px solid #e5e5e5; /* Viditelný rámeček */
    border-radius: var(--radius);
    padding: 8px; 
    width: 100%; 
    transition: border-color 0.2s, box-shadow 0.2s;
}
.items-table input:hover { background: #ffffff; border-color: var(--c-muted); }
.items-table input:focus { border-color: var(--c-accent); box-shadow: 0 0 0 2px rgba(0, 82, 204, 0.1); }
.items-table .qty { width: 80px; } /* Fix pro úzké sloupce */

.totals-area { text-align: right; padding-top: 20px; border-top: 2px solid var(--c-primary); margin-top: 20px; }
.total-val { font-size: 32px; font-weight: 800; color: var(--c-primary); font-family: var(--font-mono); line-height: 1.2; word-break: break-all; }

.bank-grid {
    display: flex; gap: 16px; align-items: flex-end;
}
.bank-input-group { flex: 1; }
.vs-input-group { width: 150px; }

.action-bar { margin-top: 40px; background: #f1f5f9; border: 1px solid var(--c-border); padding: 20px; display: flex; justify-content: space-between; align-items: center; gap: 15px; flex-wrap: wrap; }


/* --- SEO & BENEFITS --- */
.seo-section { background: white; border-top: 1px solid var(--c-border); padding: 80px 0; }
.seo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.seo-text h2 { font-size: 28px; margin-bottom: 20px; }
.seo-text h3 { font-size: 18px; margin-top: 25px; margin-bottom: 10px; }
.seo-text p { color: var(--c-muted); line-height: 1.7; margin-bottom: 15px; font-size: 15px; }
.seo-features { list-style: none; margin-top: 20px; }
.seo-features li { display: flex; gap: 15px; margin-bottom: 15px; color: var(--c-text); font-weight: 500; }
.seo-features i { color: #16a34a; margin-top: 3px; flex-shrink: 0; }

.benefits-section { background: #f8fafc; padding: 80px 0; border-top: 1px solid var(--c-border); }
.benefits-title { text-align: center; margin-bottom: 50px; }
.benefits-title h2 { font-size: 32px; margin-bottom: 15px; }
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.benefit-card { background: white; padding: 30px 20px; border: 1px solid var(--c-border); text-align: center; transition: 0.3s; }
.benefit-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); border-color: var(--c-accent); }
.benefit-icon { width: 60px; height: 60px; margin: 0 auto 20px auto; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #eff6ff; color: var(--c-accent); font-size: 24px; }
.benefit-card h4 { font-size: 16px; margin-bottom: 10px; color: var(--c-primary); }


/* --- PLOVOUCÍ KARTA (BANNER) dFIRMA.CZ S FOTKAMI --- */
.section-dfirma-ad {
    background-color: var(--c-bg); /* Sladeno s pozadím editoru faktur */
    padding: 90px 0 90px 0;
}

.dfirma-floating-card {
    background-color: var(--dfirma-bg);
    background-image: linear-gradient(135deg, rgba(10, 5, 2, 0.98) 0%, rgba(20, 10, 5, 0.85) 100%), url('/assets/pozadi.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    padding: 60px;
    position: relative;
    overflow: hidden;
    color: #f8fafc;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(249, 115, 22, 0.25);
}

.dfirma-floating-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--dfirma-orange), transparent);
    z-index: 10;
}

.dfirma-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.dfirma-badge {
    display: inline-block;
    background: rgba(249, 115, 22, 0.1);
    color: var(--dfirma-orange);
    border: 1px solid rgba(249, 115, 22, 0.3);
    padding: 6px 16px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.dfirma-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: white;
}
.dfirma-content h2 .text-orange {
    color: var(--dfirma-orange);
}

.dfirma-content p {
    font-size: 1.1rem;
    color: #cbd5e1;
    margin-bottom: 30px;
    line-height: 1.6;
}
.dfirma-content p strong {
    color: white;
}

.dfirma-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.dfirma-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--dfirma-surface);
    border: 1px solid rgba(249, 115, 22, 0.2);
    padding: 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
}
.dfirma-feature:hover {
    border-color: var(--dfirma-orange);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.1);
}
.dfirma-feature i {
    color: var(--dfirma-orange);
    font-size: 1.2rem;
}
.dfirma-feature span {
    font-size: 0.95rem;
    font-weight: 600;
    color: #f1f5f9;
}

.dfirma-cta-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-dfirma-primary {
    background: var(--dfirma-orange);
    color: white;
    padding: 16px 32px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
    border: 1px solid var(--dfirma-orange);
    transition: all 0.3s ease;
}
.btn-dfirma-primary:hover {
    background: var(--dfirma-orange-dark);
    border-color: var(--dfirma-orange-dark);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.5);
    transform: translateY(-2px);
    color: white;
}
.btn-dfirma-primary i {
    transition: transform 0.3s ease;
}
.btn-dfirma-primary:hover i {
    transform: translateX(4px);
}

.dfirma-note {
    font-size: 0.9rem;
    color: #94a3b8;
    font-style: italic;
}

.dfirma-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.glass-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
}
.orb-1 {
    width: 250px;
    height: 250px;
    background: rgba(249, 115, 22, 0.25);
    top: 10%;
    right: 10%;
}
.orb-2 {
    width: 200px;
    height: 200px;
    background: rgba(59, 130, 246, 0.15); 
    bottom: 0;
    left: 10%;
}

.dfirma-image-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
}

.dfirma-image-right {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.dfirma-floating-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--dfirma-orange);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.4);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 2;
}


/* --- FOOTER --- */
footer { background: var(--footer-bg); color: white; padding: 60px 0 30px 0; border-top: 1px solid #1e293b; font-size: 14px; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
.footer-col h4 { margin-bottom: 20px; font-size: 16px; color: white; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; }
.footer-col p, .footer-col a { color: var(--footer-text); margin-bottom: 8px; font-size: 14px; display: block; text-decoration: none; transition: 0.2s; }
.footer-col a:hover { color: white; }
.footer-mail { color: white !important; font-weight: 600; margin-top: 10px; }


/* --- COOKIE BAR --- */
#cookie-bar { 
    position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%) translateY(200%);
    width: calc(100% - 40px); max-width: 800px;
    background: white; color: var(--c-primary);
    padding: 16px; border-radius: 0px; box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: flex; flex-direction: column; gap: 15px;
    z-index: 9999; transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--c-border);
}
@media (min-width: 768px) {
    #cookie-bar { flex-direction: row; align-items: center; justify-content: space-between;  }
    .cookie-actions { margin-top: 0; }
}
#cookie-bar.show { transform: translateX(-50%) translateY(0); }
.cookie-text p { margin: 0; font-size: 13px; line-height: 1.4; color: var(--c-muted); }
.cookie-actions { display: flex; gap: 10px; justify-content: flex-end; }
.cookie-btn { background: var(--c-primary); color: white; border: none; padding: 6px 16px; cursor: pointer; font-weight: 600; font-size: 13px; transition: 0.2s; }
.cookie-btn:hover { background: var(--c-primary-dark); }
.cookie-btn-no { background: transparent; color: var(--c-muted); border: none; cursor: pointer; font-weight: 500; font-size: 13px; }
.cookie-btn-no:hover { color: var(--c-text); }


/* ==============================================
   RESPONSIVE & MOBILE FIXES
   ============================================== */

/* Tablet & Smaller Laptops (Break point increased from 900 to 1024) */
@media (max-width: 1024px) {
    .nav-links, .nav-auth { display: none; }
    .mobile-menu-icon { display: block; }
    .nav-content { flex-direction: row; justify-content: space-between; align-items: center; }
    
    /* Layout Adjustments */
    .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    
    /* Seo Grid na 1 sloupec */
    .seo-grid { grid-template-columns: 1fr; gap: 40px; }
    
    /* Benefits Grid - 2 sloupce místo 4 */
    .benefits-grid { grid-template-columns: 1fr 1fr; }

    /* dFirma Ad úpravy pro tablet */
    .dfirma-grid { grid-template-columns: 1fr; }
    .dfirma-floating-card { padding: 40px; }
    .dfirma-visual { margin-top: 20px; }
}

/* Mobile (Phones) */
@media (max-width: 600px) {
    .container { padding: 0 16px; }
    
    /* Typography Sizing */
    .pitch-box h1 { font-size: 30px; }
    .promo-price { font-size: 28px; }
    .hero { padding-top: 80px; padding-bottom: 40px; }
    
    /* Paper Padding Optimization */
    .paper { padding: 20px 15px; max-width: 100%; }
    
    /* Header Stack */
    .doc-header { flex-direction: column; gap: 15px; align-items: flex-start; }
    .doc-header .text-right { text-align: left; width: 100%; margin-top: 0; }
    .input-inv-no { width: 100%; max-width: 100%; text-align: left; }
    
    /* Grid Resets - Everything to 1 column */
    .party-grid, .benefits-grid { grid-template-columns: 1fr; }
    
    /* --- UPRAVENO: Fix pro datumy na mobilu (aby nepřetékaly) --- */
    .meta-box { 
        grid-template-columns: 1fr; 
        /* Přidáme pojištění, aby grid itemy nepřetékaly */
    }
    .meta-box .input {
        min-width: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Input Stacking */
    .party-row { flex-direction: column; gap: 10px; }
    
    /* Bank/VS inputs stacking */
    .bank-grid { flex-direction: column; gap: 15px; }
    .bank-input-group, .vs-input-group { width: 100%; }
    
    .action-bar { flex-direction: column; text-align: center; }
    .action-bar .btn { width: 100%; }

    /* --- TRANSFORM TABLE TO CARDS (CARD VIEW) --- */
    .items-table { min-width: 0 !important; display: block; }
    .items-table thead { display: none; } /* Skrýt záhlaví tabulky */
    
    .items-table tbody { display: block; }
    
    .items-table tr {
        display: flex;
        flex-direction: column;
        background: #fff;
        border: 1px solid var(--c-border);
        margin-bottom: 15px;
        padding: 15px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.03);
    }
    
    .items-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #f1f5f9;
        padding: 10px 0;
        width: 100%;
    }
    
    .items-table td:last-child {
        border-bottom: none;
        justify-content: flex-end; /* Koš zarovnat doprava */
    }
    
    .items-table td::before {
        content: attr(data-label); /* Zobrazit popisek z data-atributu */
        font-weight: 700;
        text-transform: uppercase;
        font-size: 11px;
        color: var(--c-muted);
        margin-right: 15px;
        min-width: 60px;
    }
    
    /* U inputů na mobilu zachováme border (dědí se z hlavní třídy), jen zarovnáme text */
    .items-table input {
        text-align: right; 
    }
    
    /* Specifická úprava pro popis položky (první řádek karty) */
    .items-table td:first-child {
        flex-direction: column;
        align-items: flex-start;
    }
    .items-table td:first-child::before {
        margin-bottom: 5px;
    }
    .items-table td:first-child input {
        text-align: left;
        font-weight: 600;
        padding-left: 8px; /* Ujistíme se, že padding je i tady */
    }
    
    .items-table .qty { width: 100%; }

    /* dFirma Ad úpravy pro mobil */
    .section-dfirma-ad { padding: 0 0 60px 0; }
    .dfirma-floating-card { padding: 30px 20px; border-radius: 16px; }
    .dfirma-content h2 { font-size: 2rem; }
    .dfirma-features { grid-template-columns: 1fr; gap: 10px; }
    .dfirma-cta-wrapper { flex-direction: column; align-items: stretch; text-align: center; }
    .btn-dfirma-primary { justify-content: center; }
    .dfirma-floating-badge { font-size: 0.85rem; padding: 10px 16px; left: 0; bottom: -15px; }
}

/* Styly pro modální okno (GDPR/Podmínky) */
#gdprModal .modal-content { background-color: #fff; margin: auto; padding: 0; border-radius: 8px; width: 90%; max-width: 800px; box-shadow: 0 4px 6px rgba(0,0,0,0.1); position: relative; animation: fadeIn 0.3s; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
#gdprModal .modal-header { padding: 15px 20px; border-bottom: 1px solid #e2e8f0; display: flex; justify-content: space-between; align-items: center; }
#gdprModal .modal-header h3 { margin: 0; font-size: 1.2rem; }
#gdprModal .modal-close { font-size: 28px; cursor: pointer; color: #aaa; }
#gdprModal .modal-close:hover { color: #333; }
#gdprModal .modal-body { padding: 20px; line-height: 1.6; max-height: 70vh; overflow-y: auto; color: #333; text-align: left; }
#gdprModal .modal-body h3 { font-size: 1.1rem; margin-top: 15px; margin-bottom: 10px; color: #1e293b; font-weight: 600; border-bottom: 1px solid #eee; padding-bottom: 5px; }
#gdprModal .modal-body ul { padding-left: 20px; margin-bottom: 10px; }
#gdprModal .modal-body li { margin-bottom: 5px; }
#gdprModal .modal-body p { margin-bottom: 10px; }
#gdprModal .modal-body .warning-box, #gdprModal .modal-body .info-box { padding: 10px; background: #f0f9ff; margin: 10px 0; font-size: 0.9em; }
#gdprModal .modal-body .warning-box { background: #fff7ed; color: #9a3412; }