.cookie-consent-banner {
    position: fixed;
    right: 16px;
    bottom: 16px;
    left: 16px;
    z-index: 10000;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    max-width: 1080px;
    margin: 0 auto;
    padding: 16px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 12px;
    background: #0f172a;
    color: #f8fafc;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.cookie-consent-banner[hidden],
.cookie-consent-modal[hidden] {
    display: none;
}

.cookie-consent-content h2,
.cookie-consent-dialog h2 {
    margin: 0 0 8px;
    font-size: 18px;
}

.cookie-consent-content p,
.cookie-consent-dialog p {
    margin: 0;
    color: #cbd5e1;
    line-height: 1.45;
}

.cookie-consent-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
}

.cookie-consent-links a {
    color: #93c5fd;
}

.cookie-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.cookie-consent-modal {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: grid;
    place-items: center;
    padding: 16px;
    background: rgba(2, 6, 23, 0.72);
}

.cookie-consent-dialog {
    width: min(100%, 520px);
    padding: 20px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 12px;
    background: #0f172a;
    color: #f8fafc;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.cookie-consent-option {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 14px;
    color: #e2e8f0;
}

.cookie-consent-option.disabled {
    color: #94a3b8;
}

.cookie-consent-option input {
    width: 18px;
    height: 18px;
}

.cookie-consent-dialog .cookie-consent-actions {
    margin-top: 18px;
}

@media (max-width: 720px) {
    .cookie-consent-banner {
        grid-template-columns: 1fr;
    }

    .cookie-consent-actions {
        justify-content: stretch;
    }

    .cookie-consent-actions .btn,
    .cookie-consent-actions .btn.secondary {
        flex: 1 1 100%;
    }
}
