[hidden] {
    display: none !important;
}

.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 9999;
    display: flex;
    justify-content: center;
    font-family: inherit;
}

.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(0, 0, 0, 0.6);
    font-family: inherit;
}


.cookie-banner {
    left: 16px;
    right: 16px;
    bottom: 16px;
    display: flex;
    justify-content: center;
}

.cookie-banner__content {
    width: min(920px, 100%);
    padding: 20px;
    border-radius: 18px;
    background: #111;
    color: #fff;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-banner__content h2 {
    margin: 0 0 8px;
    font-size: 20px;
}

.cookie-banner__content p {
    margin: 0 0 16px;
    line-height: 1.5;
    opacity: 0.9;
}

.cookie-banner__actions,
.cookie-modal__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.cookie-btn {
    border: 0;
    border-radius: 999px;
    padding: 10px 16px;
    cursor: pointer;
    font-weight: 700;
}

.cookie-btn-primary {
    background: #ffffff;
    color: #111111;
}

.cookie-btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}


.cookie-modal__box {
    width: min(720px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    padding: 24px;
    border-radius: 20px;
    background: #111;
    color: #fff;
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-modal__box h2 {
    margin-top: 0;
}

.cookie-option {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.cookie-option p {
    margin: 6px 0 0;
    opacity: 0.8;
    line-height: 1.4;
}

.cookie-settings-link {
    border: 0;
    border-radius: 999px;
    padding: 10px 16px;
    cursor: pointer;
    font-weight: 700;
    background: #111;
    color: #fff;
}

@media (max-width: 600px) {

    .cookie-banner__actions,
    .cookie-modal__actions {
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }

    .cookie-option {
        flex-direction: column;
    }
}