.adz-consent-banner {
    position: fixed;
    z-index: 999999;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.25rem;
    align-items: center;
    max-width: 70rem;
    margin: 0 auto;
    padding: 1.25rem;
    color: #f7f3ea;
    background: #0b1f33;
    border: 1px solid rgba(247, 243, 234, 0.22);
    border-radius: 1rem;
    box-shadow: 0 1.25rem 3.5rem rgba(4, 17, 29, 0.28);
}

.adz-consent-banner h2,
.adz-consent-banner p {
    margin: 0;
}

.adz-consent-banner h2 {
    margin-bottom: 0.35rem;
    color: #fffdf8;
    font-size: 1.125rem;
}

.adz-consent-banner p,
.adz-consent-banner__policy {
    font-size: 0.9375rem;
    line-height: 1.55;
}

.adz-consent-banner__policy {
    display: inline-block;
    margin-top: 0.45rem;
    color: #8fe3df;
}

.adz-consent-banner__actions {
    position: relative;
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.adz-consent-banner button {
    min-height: 2.75rem;
    padding: 0.65rem 1rem;
    color: #f7f3ea;
    font: inherit;
    font-weight: 700;
    background: transparent;
    border: 1px solid rgba(247, 243, 234, 0.7);
    border-radius: 0.6rem;
    cursor: pointer;
}

.adz-consent-banner button:hover,
.adz-consent-banner button:focus-visible {
    border-color: #8fe3df;
    outline: 3px solid rgba(143, 227, 223, 0.35);
    outline-offset: 2px;
}

.adz-consent-banner button:disabled {
    opacity: 0.6;
    cursor: wait;
}

.adz-consent-banner .adz-consent-banner__accept {
    color: #fffdf8;
    background: #007c83;
    border-color: #007c83;
}

.adz-consent-banner__close {
    position: absolute;
    top: -2.35rem;
    right: -0.65rem;
    min-width: 2rem;
    min-height: 2rem !important;
    padding: 0 !important;
    border: 0 !important;
    font-size: 1.5rem !important;
}

.adz-consent-banner__error {
    display: none;
    margin-top: 0.5rem !important;
    color: #ffd3c8;
}

.adz-consent-banner[data-error=true] .adz-consent-banner__error {
    display: block;
}

.adz-consent-preferences {
    padding: 0;
    color: inherit;
    font: inherit;
    background: transparent;
    border: 0;
    text-decoration: underline;
    text-underline-offset: 0.2em;
    cursor: pointer;
}

@media (max-width: 48rem) {
    .adz-consent-banner {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .adz-consent-banner__actions {
        flex-wrap: wrap;
    }

    .adz-consent-banner__actions > button:not(.adz-consent-banner__close) {
        flex: 1 1 12rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .adz-consent-banner,
    .adz-consent-banner * {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
