.analyticsConsent[hidden],
[data-analytics-settings-item][hidden] {
    display: none !important;
}

.analyticsConsent {
    position: fixed;
    z-index: 1000;
    left: 50%;
    bottom: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    width: calc(100% - 32px);
    max-width: 960px;
    box-sizing: border-box;
    transform: translateX(-50%);
    padding: 22px 28px;
    border: 1px solid #e4edff;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 38px rgba(19, 28, 77, .2);
    color: #131c4d;
    font-family: inherit;
}

.analyticsConsent__text {
    margin: 0 0 16px;
    font-size: 16px;
    line-height: 1.5;
}

.analyticsConsent__actions {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}

.analyticsConsent__button {
    border: 2px solid #b80505;
    border-radius: 34px;
    padding: 10px 20px;
    background: #fff;
    color: #b80505;
    font: inherit;
    font-size: 15px;
    line-height: 1.3;
    cursor: pointer;
}

.analyticsConsent__button--all,
.analyticsConsent__button--necessary:hover {
    background: #b80505;
    color: #fff;
}

.analyticsConsent__button--all:hover {
    background: #fff;
    color: #b80505;
}

.analyticsConsent__button:focus-visible,
[data-analytics-settings]:focus-visible {
    outline: 3px solid #131c4d;
    outline-offset: 3px;
}

@media (max-width: 600px) {
    .analyticsConsent {
        bottom: 12px;
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        width: calc(100% - 24px);
        padding: 18px;
    }

    .analyticsConsent__text {
        font-size: 14px;
    }

    .analyticsConsent__button {
        padding: 9px 14px;
        font-size: 14px;
    }
}
