/* ================================================================
   Cookie Policy — cookies.css
   ================================================================ */

.cookies-wrapper {
    max-width: 860px;
    margin: 0 auto;
    padding: 0.5rem 1rem 4rem;
}

/* ── Hero ─────────────────────────────────────────────────────── */
.cookies-hero {
    display: flex; align-items: center; gap: 1.25rem;
    background: linear-gradient(135deg, #065f46 0%, #059669 100%);
    border-radius: 18px; padding: 2rem 2rem 1.75rem;
    color: #fff; margin-bottom: 1.5rem;
    position: relative; overflow: hidden;
}

.cookies-hero::before {
    content: ''; position: absolute; top: -50px; right: -50px;
    width: 180px; height: 180px; border-radius: 50%;
    background: rgba(255,255,255,0.06); pointer-events: none;
}

.cookies-hero-icon {
    width: 64px; height: 64px; border-radius: 16px;
    background: rgba(255,255,255,0.18);
    border: 2px solid rgba(255,255,255,0.3);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.75rem; color: #fff; flex-shrink: 0;
}

.cookies-hero-title {
    font-size: 1.6rem; font-weight: 900;
    margin: 0 0 0.2rem; letter-spacing: -0.5px;
}

.cookies-hero-sub  { font-size: 0.875rem; opacity: 0.85; margin: 0 0 0.2rem; }
.cookies-hero-date { font-size: 0.78rem;  opacity: 0.65; margin: 0; }

/* ── Summary ──────────────────────────────────────────────────── */
.cookies-summary-card {
    display: flex; align-items: flex-start; gap: 0.85rem;
    background: #d1fae5; border: 1.5px solid #6ee7b7;
    border-radius: 12px; padding: 1rem 1.25rem;
    margin-bottom: 1.5rem; font-size: 0.875rem;
    color: #064e3b; line-height: 1.6;
}

.cookies-summary-icon {
    font-size: 1.1rem; color: #059669; flex-shrink: 0; margin-top: 2px;
}

/* ── Sections ─────────────────────────────────────────────────── */
.cookies-section {
    border-bottom: 1.5px solid #f3f4f6;
    padding: 2rem 0; scroll-margin-top: 80px;
}

.cookies-section:last-of-type { border-bottom: none; }

.cookies-section-header {
    display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1.1rem;
}

.cookies-section-num {
    font-size: 0.7rem; font-weight: 800; color: #6ee7b7;
    background: #d1fae5; border-radius: 8px;
    padding: 0.25rem 0.55rem; letter-spacing: 0.05em; flex-shrink: 0;
}

.cookies-section-header h2 {
    font-size: 1.05rem; font-weight: 800;
    color: #111827; margin: 0; letter-spacing: -0.2px;
}

.cookies-section-body p {
    font-size: 0.875rem; color: #4b5563;
    line-height: 1.7; margin-bottom: 1rem;
}

.cookies-section-body a { color: #059669; text-decoration: none; font-weight: 500; }
.cookies-section-body a:hover { text-decoration: underline; }

/* ── Cookie table ─────────────────────────────────────────────── */
.cookies-table-wrap {
    overflow-x: auto; border-radius: 10px;
    border: 1.5px solid #f3f4f6; margin-top: 0.75rem;
}

.cookies-table {
    width: 100%; border-collapse: collapse;
    font-size: 0.82rem;
}

.cookies-table thead tr {
    background: #f9fafb;
}

.cookies-table th {
    padding: 0.75rem 1rem; text-align: left;
    font-size: 0.72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.05em;
    color: #9ca3af; border-bottom: 1.5px solid #f3f4f6;
    white-space: nowrap;
}

.cookies-table td {
    padding: 0.85rem 1rem; color: #374151;
    border-bottom: 1px solid #f9fafb;
    vertical-align: top; line-height: 1.5;
}

.cookies-table tbody tr:last-child td { border-bottom: none; }
.cookies-table tbody tr:hover td { background: #f9fafb; }

.cookies-table code {
    font-size: 0.75rem; background: #f3f4f6;
    padding: 0.15rem 0.4rem; border-radius: 4px;
    color: #374151; word-break: break-all;
}

.cookie-type {
    display: inline-flex; align-items: center;
    padding: 0.15rem 0.55rem; border-radius: 20px;
    font-size: 0.68rem; font-weight: 700;
    white-space: nowrap;
}

.cookie-type.essential { background: #d1fae5; color: #065f46; }

/* ── No-tracking grid ─────────────────────────────────────────── */
.cookies-no-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 0.85rem; margin: 0.75rem 0;
}

.cookies-no-item {
    display: flex; align-items: flex-start; gap: 0.75rem;
    background: #fff5f5; border: 1.5px solid #fecaca;
    border-radius: 10px; padding: 0.85rem 1rem;
}

.cookies-no-icon {
    width: 36px; height: 36px; border-radius: 9px;
    background: #fee2e2; color: #dc2626;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.95rem; flex-shrink: 0;
}

.cookies-no-title {
    font-size: 0.82rem; font-weight: 700;
    color: #991b1b; margin-bottom: 0.2rem;
}

.cookies-no-desc { font-size: 0.78rem; color: #b91c1c; line-height: 1.5; }

/* ── Highlight boxes ──────────────────────────────────────────── */
.cookies-highlight {
    display: flex; align-items: flex-start; gap: 0.65rem;
    border-radius: 10px; padding: 0.85rem 1rem;
    font-size: 0.82rem; line-height: 1.55; margin-top: 0.75rem;
}

.cookies-highlight i { font-size: 0.9rem; flex-shrink: 0; margin-top: 2px; }

.cookies-highlight.green {
    background: #f0fdf4; border: 1.5px solid #a7f3d0; color: #065f46;
}
.cookies-highlight.green i { color: #059669; }

.cookies-highlight.amber {
    background: #fffbeb; border: 1.5px solid #fde68a; color: #92400e;
}
.cookies-highlight.amber i { color: #d97706; }

/* ── Browser list ─────────────────────────────────────────────── */
.cookies-browser-list {
    display: flex; flex-direction: column;
    gap: 0.5rem; margin: 0.75rem 0;
}

.cookies-browser-item {
    display: flex; align-items: center; gap: 0.75rem;
    background: #f9fafb; border: 1.5px solid #f3f4f6;
    border-radius: 9px; padding: 0.65rem 1rem;
    text-decoration: none; font-size: 0.875rem;
    font-weight: 500; color: #374151;
    transition: border-color 0.15s, background 0.15s;
}

.cookies-browser-item:hover {
    border-color: #059669; background: #f0fdf4; color: #065f46;
}

.cookies-browser-item > i:first-child { font-size: 1.1rem; color: #059669; }

/* ── Contact row ──────────────────────────────────────────────── */
.cookies-contact-row {
    display: flex; gap: 0.85rem; flex-wrap: wrap; margin-top: 0.5rem;
}

.cookies-contact-item {
    display: flex; align-items: center; gap: 0.65rem;
    background: #f9fafb; border: 1.5px solid #f3f4f6;
    border-radius: 10px; padding: 0.75rem 1rem;
    text-decoration: none; flex: 1; min-width: 180px;
    transition: border-color 0.15s;
}

.cookies-contact-item:hover { border-color: #059669; }
.cookies-contact-item > i { font-size: 1.1rem; color: #059669; flex-shrink: 0; }

.cookies-contact-label {
    font-size: 0.68rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.05em; color: #9ca3af;
}

.cookies-contact-value { font-size: 0.82rem; font-weight: 600; color: #111827; }

/* ── Footer note ──────────────────────────────────────────────── */
.cookies-footer-note {
    margin-top: 2.5rem; padding: 1rem 1.25rem;
    background: #f9fafb; border: 1.5px solid #f3f4f6;
    border-radius: 10px; font-size: 0.78rem;
    color: #9ca3af; text-align: center; line-height: 1.6;
}

.cookies-footer-note i { color: #059669; }
.cookies-footer-note a { color: #059669; text-decoration: none; font-weight: 500; }
.cookies-footer-note a:hover { text-decoration: underline; }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 640px) {
    .cookies-hero    { flex-direction: column; text-align: center; padding: 1.5rem 1.25rem; }
    .cookies-no-grid { grid-template-columns: 1fr; }
    .cookies-contact-row { flex-direction: column; }
}
