.consent-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(10, 12, 18, 0.85);
    z-index: 999;
}

.consent-overlay__dialog {
    background-color: #1c2230;
    color: var(--heading-color);
    padding: 32px;
    width: 480px;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    text-align: center;
}

.consent-overlay__title {
    margin: 0 0 12px;
    font-size: 1.6rem;
}

.consent-overlay__text {
    margin: 0 0 28px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.86);
}

.consent-overlay__actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.button {
    min-width: 140px;
    padding: 12px 18px;
    font-size: 0.95rem;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button--primary {
    background-color: var(--button-bg);
    color: var(--button-text);
    box-shadow: 0 12px 18px rgba(43, 100, 255, 0.25);
}

.button--primary:hover,
.button--primary:focus {
    transform: translateY(-1px);
}

.button--ghost {
    background-color: var(--button-bg-alt);
    color: var(--button-text-alt);
}

.button--ghost:hover,
.button--ghost:focus {
    transform: translateY(-1px);
}

body.is-consent-required .page-wrapper {
    filter: blur(var(--blur-amount));
    opacity: 0.5;
    pointer-events: none;
}


