/* ═══════════════════════════════════════════
   АПЭК Инфоцентр — style.css v5
   MD3 Expressive · Manrope · #0056b3
   ═══════════════════════════════════════════ */

:root {
    --accent:           #0056b3;
    --accent-light:     #e8f0fe;
    --accent-dark:      #003d80;
    --accent-tint:      rgba(0, 86, 179, 0.08);
    --bg:               #f3f4f8;
    --surface:          #ffffff;
    --surface-2:        #f8f9fc;
    --border:           #e4e6ea;
    --border-strong:    #c8cdd5;
    --text:             #1a1a2e;
    --text-secondary:   #6c757d;
    --text-tertiary:    #9ea5af;
    --shadow-sm:        0 1px 3px rgba(0,0,0,0.06), 0 1px 6px rgba(0,0,0,0.04);
    --shadow-md:        0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
    --shadow-lg:        0 8px 32px rgba(0,86,179,0.13), 0 2px 10px rgba(0,0,0,0.06);
    --shadow-card-hover:0 6px 24px rgba(0,86,179,0.10), 0 2px 8px rgba(0,0,0,0.05);
    --radius:           20px;
    --radius-sm:        12px;
    --radius-xs:        8px;
    --transition:       all 0.25s cubic-bezier(0.4, 0, 0.2, 1);

    /* Sidebar */
    --sidebar-width:    280px;
    --sidebar-gap:      28px;
    --content-max:      680px;
    --layout-breakpoint:900px;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.material-symbols-rounded {
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    user-select: none;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════ */
.header {
    background: var(--accent);
    color: #fff;
    padding: 20px 24px 26px;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.header::before {
    content: '';
    position: absolute;
    top: -50px; right: -50px;
    width: 220px; height: 220px;
    background: rgba(255,255,255,0.07);
    border-radius: 50%;
    pointer-events: none;
}
.header::after {
    content: '';
    position: absolute;
    bottom: -70px; right: 60px;
    width: 160px; height: 160px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
    pointer-events: none;
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
    margin-bottom: 18px;
    /* Не задаём padding здесь — он на .header */
}

/* ── Кнопка назад — единственное определение ── */
.back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex-shrink: 0;          /* не сжимается */
    border-radius: 50%;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    background: rgba(255,255,255,0.14);
    transition: var(--transition);
}
.back-btn:hover {
    background: rgba(255,255,255,0.24);
}
.back-btn .material-symbols-rounded {
    font-size: 22px;
}

/* ── Контент хедера (иконка + текст) ── */
.header-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;            /* разрешаем сжатие текста, но не иконки */
    position: relative;
    z-index: 1;
}

/* ── Иконка — фиксированный квадрат, никогда не сжимается ── */
.header-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;          /* ← ключевой фикс сплющивания */
    background: rgba(255,255,255,0.16);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}
.header-icon .material-symbols-rounded {
    font-size: 26px;
    color: #fff;
}

/* ── Текст — занимает остаток, обрезается если не влезает ── */
.header-content > div:last-child {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.header-title {
    font-size: 21px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.header-subtitle {
    font-size: 12.5px;
    opacity: 0.75;
    margin-top: 2px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ═══════════════════════════════════════════
   MOBILE  ≤ 480px (ФИНАЛЬНЫЙ ВЫЖИГ ПУЗЫРЕЙ)
   ═══════════════════════════════════════════ */
@media (max-width: 480px) {
    html {
        overflow-x: visible; 
    }

    /* Настройки липкой шапки */
    .header { 
        padding: 16px 16px 20px; 
        position: sticky;
        top: 0;
        z-index: 100;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15); 
        overflow: hidden; /* Закрываем оверфлоу самой шапки на всякий случай */
    }
    
    /* ХАРДКОРНОЕ УНИЧТОЖЕНИЕ ПУЗЫРЕЙ */
    .header::before,
    .header::after {
        content: none !important;
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        background: none !important;
        background-color: transparent !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }

    /* Фикс сплющивания иконки */
    .header-icon {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        flex-shrink: 0 !important;
    }
    
    .header-icon .material-symbols-rounded {
        font-size: 22px;
    }

    /* Шрифты и размеры текста */
    .header-title { 
        font-size: 18px; 
    }
    .header-subtitle { 
        font-size: 12px; 
    }

    /* Настройки основного контента */
    .main {
        padding: 14px 12px 48px;
        gap: 10px;
    }
    .card-header { 
        padding: 16px; 
    }

    .contacts-grid { 
        grid-template-columns: 1fr; 
    }

    .card-body > * { 
        margin: 0 14px; 
    }
    .info-note { 
        margin: 10px 14px 0 !important; 
    }
    .action-btn { 
        margin-top: 10px !important; 
    }
}

/* ═══════════════════════════════════════════
   HEADER — ДЕСКТОП  ≥ 900px
   ═══════════════════════════════════════════ */
@media (min-width: 900px) {
    .header {
        padding: 24px 40px 28px;
    }
    .header-inner {
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 0;
    }
    .header-search {
        display: none;
    }
    .back-btn {
        width: auto;
        padding: 0 16px 0 10px;
        border-radius: 20px;
        gap: 6px;
    }
    .back-btn::after {
        content: 'На портал';
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 0.2px;
    }

}

/* ── Search (shared) ── */
.search-wrapper {
    position: relative;
    z-index: 1;
}

.search-icon {
    position: absolute;
    left: 13px; top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 20px;
    pointer-events: none;
}

.search-input {
    width: 100%;
    height: 46px;
    background: var(--surface);
    border: none;
    border-radius: var(--radius-sm);
    padding: 0 44px 0 44px;
    font-family: 'Manrope', sans-serif;
    font-size: 14.5px;
    color: var(--text);
    outline: none;
    box-shadow: 0 2px 12px rgba(0,0,0,0.13);
    transition: var(--transition);
}
.search-input::placeholder { color: var(--text-secondary); }
.search-input:focus { box-shadow: 0 2px 18px rgba(0,0,0,0.17); }

.search-clear {
    position: absolute;
    right: 10px; top: 50%;
    transform: translateY(-50%);
    background: none; border: none;
    cursor: pointer;
    color: var(--text-secondary);
    display: none;
    align-items: center; justify-content: center;
    width: 28px; height: 28px;
    border-radius: 50%;
    transition: var(--transition);
}
.search-clear:hover { background: #f1f3f5; }
.search-clear.visible { display: flex; }

/* ── Mobile: поиск в header ── */
.header-search { /* видим только на мобилке */ }

/* ═══════════════════════════════════════════
   PAGE LAYOUT  (sidebar + main)
   ═══════════════════════════════════════════ */
.page-layout {
    display: flex;
    align-items: flex-start;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

/* ═══════════════════════════════════════════
   SIDEBAR
   ═══════════════════════════════════════════ */
.sidebar {
    display: none; /* скрыт на мобилке */
}

/* ── Main content (мобилка) ── */
.main {
    flex: 1;
    padding: 20px 16px 48px;
    max-width: 700px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ═══════════════════════════════════════════
   DESKTOP LAYOUT  ≥ 900px
   ═══════════════════════════════════════════ */
@media (min-width: 900px) {

    /* Прячем мобильный поиск в header */
    .header-search {
        display: none;
    }

    /* Перестраиваем header для широких экранов */
    .header {
        padding: 24px 40px 28px;
    }
    .header-inner {
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 0; /* убираем отступ — поиска здесь нет */
    }

    /* Layout */
    .page-layout {
        padding: 32px 40px 60px;
        gap: var(--sidebar-gap);
        align-items: flex-start;
    }

    /* SIDEBAR */
    .sidebar {
        display: block;
        width: var(--sidebar-width);
        flex-shrink: 0;
        position: sticky;
        top: 24px;
    }

    .sidebar-inner {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .sidebar-section {
        background: var(--surface);
        border-radius: var(--radius);
        border: 1px solid var(--border);
        padding: 18px 16px;
        box-shadow: var(--shadow-sm);
    }

    .sidebar-label {
        font-size: 10.5px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.8px;
        color: var(--text-tertiary);
        margin-bottom: 12px;
    }

    /* Поиск в сайдбаре */
    .sidebar-search-wrapper .search-input {
        height: 42px;
        font-size: 14px;
        border-radius: var(--radius-sm);
        box-shadow: 0 1px 6px rgba(0,0,0,0.08);
        border: 1px solid var(--border);
    }
    .sidebar-search-wrapper .search-input:focus {
        border-color: var(--accent);
        box-shadow: 0 0 0 3px rgba(0,86,179,0.12);
    }

    /* Nav items */
    .sidebar-nav {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .sidebar-nav-item {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 9px 10px;
        border-radius: var(--radius-xs);
        text-decoration: none;
        color: var(--text);
        font-size: 13.5px;
        font-weight: 600;
        transition: var(--transition);
    }
    .sidebar-nav-item:hover {
        background: var(--accent-tint);
        color: var(--accent);
    }
    .sidebar-nav-item.active {
        background: var(--accent-light);
        color: var(--accent);
    }

    .nav-icon-wrap {
        width: 30px; height: 30px;
        border-radius: 8px;
        display: flex; align-items: center; justify-content: center;
        flex-shrink: 0;
    }
    .nav-icon-wrap .material-symbols-rounded { font-size: 16px; }

    /* Быстрые контакты */
    .sidebar-contacts {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    .sidebar-contacts .sidebar-label { margin-bottom: 14px; }

    .quick-contact {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        padding: 8px 0;
        border-bottom: 1px solid var(--border);
    }
    .quick-contact:last-of-type { border-bottom: none; margin-bottom: 12px; }
    .quick-contact .material-symbols-rounded {
        font-size: 18px;
        color: var(--accent);
        margin-top: 2px;
    }

    .qc-label {
        font-size: 10.5px;
        color: var(--text-tertiary);
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 2px;
    }
    .qc-value {
        font-size: 13px;
        font-weight: 700;
        color: var(--text);
    }
    .qc-value a {
        color: var(--accent);
        text-decoration: none;
        font-weight: 700;
    }
    .qc-value a:hover { text-decoration: underline; }

    .sidebar-help-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        background: var(--accent);
        color: #fff;
        text-decoration: none;
        border-radius: var(--radius-xs);
        padding: 10px 14px;
        font-size: 13px;
        font-weight: 700;
        transition: var(--transition);
        letter-spacing: 0.2px;
    }
    .sidebar-help-btn:hover {
        background: var(--accent-dark);
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0,86,179,0.3);
    }
    .sidebar-help-btn .material-symbols-rounded { font-size: 17px; }

    /* Бейдж-подсказка */
    .sidebar-badge {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        background: #fffbf0;
        border: 1px solid #ffe082;
        border-radius: var(--radius-sm);
        padding: 12px 14px;
        font-size: 12px;
        line-height: 1.5;
        color: #6d4c00;
        font-weight: 500;
    }
    .sidebar-badge .material-symbols-rounded {
        font-size: 16px;
        color: #f9a825;
        flex-shrink: 0;
        margin-top: 1px;
    }

    /* MAIN на десктопе */
    .main {
        flex: 1;
        min-width: 0;
        padding: 0;
        margin: 0;
        max-width: var(--content-max);
        gap: 14px;
    }
}

/* ═══════════════════════════════════════════
   EMPTY STATE
   ═══════════════════════════════════════════ */
.empty-state {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: var(--text-secondary);
    text-align: center;
    gap: 8px;
}
.empty-state .material-symbols-rounded { font-size: 48px; opacity: 0.35; }
.empty-state p { font-size: 16px; font-weight: 700; color: var(--text); }
.empty-state span { font-size: 14px; }
.empty-state.visible { display: flex; }

/* ═══════════════════════════════════════════
   CARDS
   ═══════════════════════════════════════════ */
.card {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
    animation: fadeUp 0.35s ease both;
}

.card:nth-child(1) { animation-delay: 0.04s; }
.card:nth-child(2) { animation-delay: 0.08s; }
.card:nth-child(3) { animation-delay: 0.12s; }
.card:nth-child(4) { animation-delay: 0.16s; }
.card:nth-child(5) { animation-delay: 0.20s; }

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

.card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-2px);
}
.card.open {
    box-shadow: var(--shadow-lg);
    border-color: rgba(0,86,179,0.18);
}
.card.hidden { display: none; }

/* Card header */
.card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s ease;
}
.card-header:hover { background: rgba(0,86,179,0.03); }

.card-icon {
    width: 46px; height: 46px;
    border-radius: 13px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.card-icon .material-symbols-rounded { font-size: 22px; }

.card-title-wrap { flex: 1; min-width: 0; }
.card-title {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
}
.card-desc {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 2px;
    font-weight: 500;
}

.chevron {
    color: var(--text-tertiary);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 22px;
    flex-shrink: 0;
}
.card.open .chevron { transform: rotate(180deg); }

/* Card body */
.card-body {
    max-height: 0;
    overflow: hidden;
    border-top: 0px solid var(--border);
}
.card.open .card-body { border-top-width: 1px; }
.card.open .card-body { padding-bottom: 20px; }

.card-body > * { margin: 0 20px; }
.card-body > *:first-child { margin-top: 16px; }
.card-body > *:last-child { margin-bottom: 20px; }

/* ═══════════════════════════════════════════
   ACCORDION
   ═══════════════════════════════════════════ */
.accordion-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}
.accordion-item:last-of-type { margin-bottom: 0; }
.accordion-item:hover { border-color: var(--accent); background: rgba(0,86,179,0.015); }
.accordion-item.open { border-color: rgba(0,86,179,0.3); }

.accordion-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 14px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text);
    user-select: none;
}

.acc-icon { font-size: 18px; color: var(--accent); }

.acc-chevron {
    margin-left: auto;
    font-size: 18px;
    color: var(--text-tertiary);
    transition: transform 0.25s ease;
}
.accordion-item.open .acc-chevron { transform: rotate(90deg); }

.accordion-body {
    max-height: 0;
    overflow: hidden;
    padding: 0 14px;
}
.accordion-item.open .accordion-body { padding: 0 14px 14px; }

/* ═══════════════════════════════════════════
   STEPS / LISTS
   ═══════════════════════════════════════════ */
.steps {
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.steps li {
    font-size: 13.5px;
    color: var(--text);
    line-height: 1.55;
}
.steps a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}
.steps a:hover { text-decoration: underline; }

code {
    background: #f1f3f5;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 2px 7px;
    font-family: 'Courier New', monospace;
    font-size: 12.5px;
    color: var(--accent-dark);
    font-weight: 600;
}

/* ═══════════════════════════════════════════
   INFO NOTE
   ═══════════════════════════════════════════ */
.info-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: #fff8e1;
    border: 1px solid #ffe082;
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    font-size: 13px;
    color: #5d4037;
    margin: 12px 20px 0 !important;
}
.info-note .material-symbols-rounded {
    font-size: 18px;
    color: #f9ab00;
    margin-top: 1px;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   ACTION BUTTON
   ═══════════════════════════════════════════ */
.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    border-radius: var(--radius-sm);
    padding: 12px 20px;
    font-size: 13.5px;
    font-weight: 700;
    margin-top: 12px !important;
    transition: var(--transition);
    letter-spacing: 0.2px;
}
.action-btn:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,86,179,0.3);
}
.action-btn .material-symbols-rounded { font-size: 17px; }

.back-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Приводим иконку в порядок */
.back-btn .material-symbols-rounded {
    font-size: 24px;
}

/* ═══════════════════════════════════════════
   CONTACTS GRID
   ═══════════════════════════════════════════ */
.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    border: 1px solid var(--border);
}
.contact-item .material-symbols-rounded { font-size: 20px; color: var(--accent); }
.contact-label {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 2px;
}
.contact-value { font-size: 13.5px; font-weight: 700; color: var(--text); }
.contact-value a { color: var(--accent); text-decoration: none; }
.contact-value a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════
   COPY BADGE
   ═══════════════════════════════════════════ */
.copy-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-light);
    color: var(--accent-dark);
    padding: 6px 12px;
    border-radius: var(--radius-xs);
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 13px;
    border: 1px solid rgba(0,86,179,0.15);
    margin-top: 8px;
    cursor: pointer;
    transition: var(--transition);
    user-select: all;
}
.copy-badge:hover { background: #d0e1fd; }
.copy-badge .material-symbols-rounded {
    font-size: 17px;
    color: var(--accent);
    font-variation-settings: 'FILL' 0, 'wght' 400;
}

/* ═══════════════════════════════════════════
   CERT BUTTONS (Wi-Fi section)
   ═══════════════════════════════════════════ */
.cert-instruction-text {
    font-size: 0.85em;
    color: #666;
    margin-bottom: 12px;
}
.cert-buttons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
}
.cert-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 9px 10px;
    font-size: 13px;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    color: var(--accent);
    background: var(--accent-light);
    border: 1px solid rgba(0,86,179,0.15);
    border-radius: var(--radius-xs);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    user-select: none;
}
.cert-btn:hover {
    background: #d0e1fd;
    border-color: var(--accent);
}

.domestic-trigger {
    cursor: pointer;
    gap: 4px;
    user-select: none;
    text-decoration: none !important;
}
.domestic-trigger .drop-icon {
    font-size: 18px;
    transition: transform 0.2s ease;
}
.domestic-trigger.is-active {
    background-color: var(--accent-light) !important;
    border-color: var(--accent) !important;
    color: var(--accent) !important;
}

.domestic-os-expanded {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 8px;
    animation: fadeInSubMenu 0.2s ease-out;
}
.btn-linux-sub {
    background-color: #f5f5f5 !important;
    border-color: var(--border) !important;
    color: #444b52 !important;
    text-decoration: none !important;
}
.btn-linux-sub:hover {
    background-color: #eee !important;
    border-color: #bbb !important;
}

@keyframes fadeInSubMenu {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════
   MISC FIXES
   ═══════════════════════════════════════════ */
.accordion-body > *:last-child { margin-bottom: 6px; }

.cookie-banner {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid var(--border, #dee2e6);
    border-radius: 14px;
    padding: 14px 18px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
    z-index: 9998;
    max-width: 560px;
    width: calc(100% - 40px);
    align-items: center;
    gap: 12px;
    font-family: 'Manrope', -apple-system, sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: #212529;
}

.cookie-banner.visible {
    display: flex;
}

.cookie-content {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex: 1;
}

.cookie-icon {
    font-size: 20px;
    color: #0056b3;
    flex-shrink: 0;
    margin-top: 1px;
}

.cookie-content p {
    margin: 0;
}

.cookie-content a {
    color: #0056b3;
    font-weight: 600;
    text-decoration: none;
}

.cookie-content a:hover {
    text-decoration: underline;
}

.cookie-btn {
    flex-shrink: 0;
    background: #0056b3;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.cookie-btn:hover {
    background: #003d80;
}

@media (max-width: 600px) {
    .cookie-banner {
        flex-direction: column;
        bottom: 12px;
        padding: 14px 16px;
        gap: 10px;
    }
    .cookie-btn {
        width: 100%;
        padding: 10px;
        text-align: center;
    }
}