.cookie-consent__banner {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 1100;
    display: block;
    width: min(760px, calc(100% - 48px));
    max-width: 760px;
    padding: 24px;
    border: 1px solid #d4e0ec;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 48px rgba(15, 38, 59, 0.24);
    transform: translateX(-50%);
}

.cookie-consent__banner h2,
.cookie-consent__panel h2 {
    margin: 0;
    color: #0f263b;
    font-size: 24px;
    line-height: 1.25;
}

.cookie-consent__banner p,
.cookie-consent__panel p {
    margin: 8px 0 0;
    color: #37506e;
    font-size: 15px;
    line-height: 1.5;
}

.cookie-consent__banner-actions,
.cookie-consent__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.cookie-consent__banner-actions {
    margin-top: 16px;
}

.cookie-consent[hidden],
.cookie-consent__banner[hidden] {
    display: none;
}

.cookie-consent__modal {
    z-index: 1200;
}

.cookie-consent__categories {
    display: grid;
    gap: 12px;
    padding: 0 32px 24px;
}

.cookie-consent__category {
    margin: 0;
    padding: 18px;
    border: 1px solid #d4e0ec;
    border-radius: 8px;
}

.cookie-consent__category legend {
    padding: 0 8px;
    color: #0f263b;
    font-size: 17px;
    font-weight: 700;
}

.cookie-consent__category p {
    margin-bottom: 0;
}

.cookie-consent__status {
    display: inline-block;
    margin-top: 4px;
    color: #00539b;
    font-size: 14px;
    font-weight: 700;
}

.cookie-consent__option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 12px;
    color: #0f263b;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
}

.cookie-consent__option input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: #00539b;
}

.cookie-consent__cookie-list {
    display: grid;
    gap: 6px;
    margin: 14px 0 0;
    padding-left: 20px;
    color: #37506e;
    font-size: 14px;
    line-height: 1.45;
}

.cookie-consent__cookie-list code {
    color: #0f263b;
    font-family: "Nunito Sans", "Segoe UI", sans-serif;
    font-weight: 700;
}

.cookie-consent__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 32px 28px;
    border-top: 1px solid #e6edf4;
}

.cookie-consent__modal .modal__content {
    overflow: auto;
}

.cookie-consent__footer > a {
    color: #00539b;
    font-weight: 700;
}

.cookie-consent__footer > a:focus-visible {
    outline: 3px solid #f2b84b;
    outline-offset: 3px;
}

.cookie-consent .ui-button--ghost:hover,
.cookie-consent .ui-button--ghost:active {
    background: transparent;
}

@media (max-width: 760px) {
    .cookie-consent__banner {
        right: 12px;
        left: 12px;
        bottom: 12px;
        width: auto;
        transform: none;
    }

    .cookie-consent__banner-actions {
        justify-content: flex-start;
    }

    .cookie-consent__categories,
    .cookie-consent__footer {
        padding-right: 20px;
        padding-left: 20px;
    }

    .cookie-consent__footer {
        align-items: flex-start;
        flex-direction: column;
    }
}
