/* ── OneLayer consent banner ──────────────────────────── */
#ol-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: #1a1a1a;
    border-top: 3px solid #e8461b;
    padding: 20px 24px;
    font-family: Inter, system-ui, sans-serif;
}

.ol-consent-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.ol-consent-text {
    flex: 1;
    font-size: 14px;
    color: #cccccc;
    margin: 0;
    line-height: 1.5;
}

.ol-consent-text a {
    color: #e8461b;
    text-decoration: none;
}

.ol-consent-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    flex-shrink: 0;
}

/* ── Preferences modal ────────────────────────────────── */
#ol-consent-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
    padding: 24px;
    font-family: Inter, system-ui, sans-serif;
}

.ol-modal-inner {
    background: #1a1a1a;
    border: 1px solid #333;
    border-top: 3px solid #e8461b;
    border-radius: 4px;
    padding: 32px;
    max-width: 560px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.ol-modal-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 24px;
}

.ol-category {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #2a2a2a;
}

.ol-category:last-of-type { border-bottom: none; }

.ol-category-label strong {
    display: block;
    font-size: 14px;
    color: #ffffff;
    margin-bottom: 4px;
}

.ol-category-label span {
    font-size: 13px;
    color: #888;
    line-height: 1.4;
}

.ol-modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

/* ── Buttons ──────────────────────────────────────────── */
.ol-btn {
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    padding: 9px 18px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.15s;
}

.ol-btn:hover { opacity: 0.85; }

.ol-btn-primary {
    background: #e8461b;
    color: #fff;
}

.ol-btn-secondary {
    background: #2a2a2a;
    color: #ccc;
    border: 1px solid #444;
}

.ol-btn-ghost {
    background: transparent;
    color: #888;
    border: 1px solid #333;
}

/* ── Re-open link (footer) ────────────────────────────── */
#ol-consent-reopen {
    color: rgb(255, 255, 255, 0.9);
    text-decoration: none;
    cursor: pointer;
}

#ol-consent-reopen:hover { color: #e8461b; }

@media (max-width: 768px) {
    .ol-consent-actions {
        flex-shrink: 1;
    }
}
