/* Outbox · banner și setări cookie-uri (folosește tokenii din outbox.css) */
.ck-banner {
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 300;
    max-width: 1080px; margin: 0 auto;
    background: #09132A; color: #fff;
    border: 1px solid rgba(255,255,255,.14); border-radius: 22px;
    box-shadow: 0 24px 60px rgba(5,12,30,.45);
    opacity: 0; transform: translateY(16px);
    transition: opacity .35s var(--out, ease), transform .45s var(--out, ease);
}
.ck-banner.is-open { opacity: 1; transform: none; }
.ck-banner-in { display: flex; align-items: center; gap: 24px; padding: 20px 24px; }
.ck-text { flex: 1; min-width: 0; }
.ck-text p { font-size: 13.5px; line-height: 1.6; color: rgba(255,255,255,.78); }
.ck-text .ck-title { font-family: var(--font-d, inherit); font-size: 15.5px; font-weight: 800; color: #fff; margin-bottom: 4px; }
.ck-text a, .ck-intro a { color: #93B4FF; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.ck-actions { display: flex; flex-wrap: wrap; gap: 10px; flex-shrink: 0; }

/* acceptarea si refuzul au exact acelasi aspect */
.ck-btn {
    min-height: 44px; padding: 10px 20px; border-radius: 9999px; cursor: pointer;
    font-family: var(--font-b, inherit); font-size: 14px; font-weight: 700;
    background: #2563EB; color: #fff; border: 1.5px solid #2563EB;
    transition: background .2s, border-color .2s, transform .2s;
}
.ck-btn:hover { background: #1D4ED8; border-color: #1D4ED8; }
.ck-btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.ck-btn-ghost:hover { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.6); }
.ck-btn:focus-visible, .ck-close:focus-visible, .ck-switch input:focus-visible + .ck-slider {
    outline: 3px solid #93B4FF; outline-offset: 3px;
}

.ck-overlay {
    position: fixed; inset: 0; z-index: 310; display: flex; align-items: center; justify-content: center;
    padding: 16px; background: rgba(5,12,30,.62);
}
.ck-overlay[hidden] { display: none; }
html.ck-lock, html.ck-lock body { overflow: hidden; }
.ck-dialog {
    position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 32px); overflow-y: auto;
    background: #fff; color: var(--text-1, #0F172A); border-radius: 24px; padding: 30px 28px 26px;
    box-shadow: 0 30px 80px rgba(5,12,30,.4);
}
.ck-dialog h2 { font-family: var(--font-d, inherit); font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 8px; }
.ck-intro { font-size: 14px; line-height: 1.6; color: var(--text-2, #475569); margin-bottom: 18px; }
.ck-intro a { color: #1D4ED8; }
.ck-close {
    position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid var(--border, #E2E8F0); background: #fff; font-size: 22px; line-height: 1; cursor: pointer; color: #0F172A;
}
.ck-cats { display: grid; gap: 10px; }
.ck-cat { border: 1px solid var(--border, #E2E8F0); border-radius: 16px; padding: 14px 16px; background: var(--bg2, #F4F7FE); }
.ck-cat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ck-cat-title { font-size: 15px; font-weight: 800; }
.ck-cat p { margin-top: 6px; font-size: 13px; line-height: 1.55; color: var(--text-2, #475569); }
.ck-switch { position: relative; width: 46px; height: 26px; flex-shrink: 0; }
.ck-switch input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.ck-switch input:disabled { cursor: not-allowed; }
.ck-slider { position: absolute; inset: 0; border-radius: 9999px; background: #CBD5E1; transition: background .2s; }
.ck-slider::after {
    content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%;
    background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s;
}
.ck-switch input:checked + .ck-slider { background: #2563EB; }
.ck-switch input:checked + .ck-slider::after { transform: translateX(20px); }
.ck-switch input:disabled + .ck-slider { opacity: .6; }
.ck-dialog-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.ck-dialog-actions .ck-btn { flex: 1 1 150px; white-space: nowrap; }
.ck-dialog .ck-btn-ghost { color: #0F172A; border-color: #CBD5E1; }
.ck-dialog .ck-btn-ghost:hover { background: var(--bg2, #F4F7FE); border-color: #94A3B8; }

.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-legal a, .footer-legal button {
    font: inherit; font-size: 13px; color: rgba(255,255,255,.62); background: none; border: 0; padding: 8px 0; cursor: pointer;
    transition: color .2s;
}
.footer-legal a:hover, .footer-legal button:hover { color: #fff; }

@media (max-width: 760px) {
    .ck-banner { left: 10px; right: 10px; bottom: 10px; border-radius: 18px; }
    .ck-banner-in { flex-direction: column; align-items: stretch; gap: 14px; padding: 16px; }
    .ck-actions { display: grid; grid-template-columns: 1fr 1fr; }
    .ck-actions [data-ck="settings"] { grid-column: 1 / -1; order: 3; }
    .ck-dialog { padding: 24px 18px 18px; border-radius: 20px; }
}
@media (prefers-reduced-motion: reduce) {
    .ck-banner { transition: none; }
}
