.consent-banner {
    position: fixed;
    z-index: 3000;
    right: 20px;
    bottom: 20px;
    left: 20px;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    color: #f8fafc;
    background: #0f172a;
    border: 1px solid rgba(148, 163, 184, .45);
    border-radius: 14px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, .42);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.consent-banner__content, .consent-banner__actions, .consent-dialog__actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.consent-banner__content { justify-content: space-between; }
.consent-banner h2, .consent-dialog h2 { margin: 0 0 5px; font-size: 1.15rem; }
.consent-banner p, .consent-dialog p { margin: 0; font-size: .92rem; line-height: 1.5; }
.consent-banner a { color: #bfdbfe; }
.consent-banner__actions, .consent-dialog__actions { flex-wrap: wrap; justify-content: flex-end; }

.consent-button, .footer-link-button {
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.consent-button {
    padding: 9px 12px;
    border: 1px solid transparent;
    border-radius: 7px;
    font-size: .85rem;
}

.consent-button--primary { color: #fff; background: #2c57c5; border-color: #5276d5; }
.consent-button--secondary { color: #e2e8f0; background: transparent; border-color: #64748b; }
.consent-button:hover, .consent-button:focus-visible { filter: brightness(1.14); outline: 2px solid #93c5fd; outline-offset: 2px; }

.consent-dialog {
    width: min(560px, calc(100% - 32px));
    padding: 0;
    color: #1e293b;
    background: #fff;
    border: 0;
    border-radius: 14px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .38);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.consent-dialog::backdrop { background: rgba(15, 23, 42, .62); }
.consent-dialog__content { position: relative; padding: 28px; }
.consent-dialog__close { position: absolute; top: 10px; right: 14px; border: 0; background: transparent; color: #475569; font-size: 1.8rem; cursor: pointer; }
.consent-option { display: flex; gap: 12px; align-items: flex-start; margin: 22px 0; padding: 15px; background: #f8fafc; border: 1px solid #cbd5e1; border-radius: 8px; cursor: pointer; }
.consent-option input { width: 18px; height: 18px; margin-top: 3px; }
.consent-option strong, .consent-option small { display: block; }
.consent-option small { margin-top: 3px; color: #475569; line-height: 1.4; }
.consent-dialog__actions { justify-content: flex-end; }

.footer-link-button {
    padding: 0;
    color: inherit;
    text-align: left;
    background: transparent;
    border: 0;
}
.footer-link-button:hover, .footer-link-button:focus-visible { color: #fff; text-decoration: underline; outline: none; }
.consent-settings-fallback { position: fixed; z-index: 2000; right: 12px; bottom: 12px; padding: 7px 10px; color: #fff; background: #1e3a8a; border: 1px solid #93c5fd; border-radius: 6px; font: 600 12px/1.2 Inter, sans-serif; cursor: pointer; }

@media (max-width: 720px) {
    .consent-banner { right: 12px; bottom: 12px; left: 12px; padding: 16px; }
    .consent-banner__content { align-items: stretch; flex-direction: column; }
    .consent-banner__actions, .consent-dialog__actions { justify-content: stretch; }
    .consent-button { flex: 1 1 160px; }
}