[data-cookie-open-settings] {
    appearance: none;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.cookie-banner[hidden],
.cookie-banner [hidden] {
    display: none !important;
}

.cookie-banner {
    position: fixed;
    z-index: 2147483647;
    left: 24px;
    bottom: 24px;
    width: min(660px, calc(100% - 48px));
    max-height: calc(100dvh - 48px);
    overflow-y: auto;
    box-sizing: border-box;
    padding: 22px 24px;
    border: 1px solid #e2e6e7;
    border-top: 3px solid #f4821f;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 6px 32px rgba(35, 44, 51, .18);
    color: #232c33;
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
}

.cookie-banner-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.cookie-banner-heading h2 {
    margin: 0;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
}

.cookie-banner-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #edf5f5;
    color: #168e98;
    font-weight: 700;
    flex-shrink: 0;
}

.cookie-banner-copy {
    margin: 0;
}

.cookie-banner-copy a {
    color: #177d86;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.cookie-button {
    min-height: 40px;
    padding: 9px 20px;
    border: 1px solid transparent;
    border-radius: 4px;
    font: inherit;
    font-weight: 600;
    line-height: 20px;
    cursor: pointer;
}

.cookie-button-accept {
    background: #f4821f;
    color: #fff;
}

.cookie-button-accept:hover {
    background: #de6c0c;
}

.cookie-button-reject {
    border-color: #168e98;
    background: #fff;
    color: #177d86;
}

.cookie-button-reject:hover {
    background: #edf5f5;
}

.cookie-button-settings {
    padding-right: 8px;
    padding-left: 8px;
    background: transparent;
    color: #232c33;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookie-button:focus-visible,
.cookie-banner a:focus-visible,
.cookie-option input:focus-visible {
    outline: 2px solid #168e98;
    outline-offset: 3px;
}

.cookie-banner-settings {
    margin-top: 16px;
    border-top: 1px solid #e2e6e7;
}

.cookie-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 0;
    border-bottom: 1px solid #e2e6e7;
    cursor: pointer;
}

.cookie-option strong,
.cookie-option small {
    display: block;
}

.cookie-option small {
    margin-top: 3px;
    color: #68747c;
    font-size: 12px;
    line-height: 1.5;
}

.cookie-option input {
    position: static;
    display: block;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin: 0;
    opacity: 1;
    appearance: auto;
    accent-color: #168e98;
}

@media (max-width: 767px) {
    .cookie-banner {
        left: 12px;
        bottom: 72px;
        width: calc(100% - 24px);
        max-height: calc(100dvh - 96px);
        padding: 16px;
        font-size: 13px;
    }

    .cookie-banner-actions {
        gap: 8px;
        margin-top: 14px;
    }

    .cookie-button {
        flex: 1 1 auto;
        min-height: 44px;
        padding: 10px 12px;
    }

}
