.cpb-consent[hidden] {
    display: none !important;
}

.cpb-consent {
    position: fixed;
    z-index: 10020;
    left: max(16px, env(safe-area-inset-left));
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    max-width: 920px;
    margin: 0 auto;
    padding: 18px 20px;
    color: #172033;
    background: #fff;
    border: 1px solid rgba(20, 34, 68, .16);
    border-radius: 14px;
    box-shadow: 0 18px 55px rgba(13, 25, 53, .22);
}

.cpb-consent__copy {
    min-width: 0;
}

.cpb-consent__copy strong {
    display: block;
    margin-bottom: 4px;
    color: #111a2d;
    font-size: 16px;
}

.cpb-consent__copy p {
    margin: 0;
    color: #4d586e;
    font-size: 13.5px;
    line-height: 1.55;
}

.cpb-consent__copy a {
    white-space: nowrap;
}

.cpb-consent__actions {
    display: flex;
    align-items: center;
    gap: 9px;
    flex: 0 0 auto;
}

.cpb-consent__button {
    min-height: 42px;
    padding: 9px 16px;
    border-radius: 8px;
    border: 1px solid #17245f;
    background: #17245f;
    color: #fff;
    font: inherit;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
}

.cpb-consent__button--secondary {
    border-color: #c8cddd;
    background: #fff;
    color: #303a50;
}

.cpb-consent__button:focus-visible,
.cpb-analytics-settings:focus-visible {
    outline: 3px solid #8ea2ff;
    outline-offset: 2px;
}

.cpb-analytics-settings {
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

@media (max-width: 680px) {
    .cpb-consent {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
        padding: 17px;
    }
    .cpb-consent__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .cpb-consent__button {
        width: 100%;
    }
}

html[data-cpb-theme="dark"] .cpb-consent {
    color: #f0f3ff;
    background: #151b2a;
    border-color: rgba(255, 255, 255, .15);
    box-shadow: 0 18px 55px rgba(0, 0, 0, .48);
}

html[data-cpb-theme="dark"] .cpb-consent__copy strong {
    color: #fff;
}

html[data-cpb-theme="dark"] .cpb-consent__copy p {
    color: #c6cede;
}

html[data-cpb-theme="dark"] .cpb-consent__button--secondary {
    border-color: #4b556d;
    background: #222a3b;
    color: #fff;
}