.cookie-consent {
    position: fixed;
    inset: auto 24px 24px 24px;
    z-index: 10000000;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

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

.cookie-consent__panel {
    width: min(960px, 100%);
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
    background: rgba(14, 15, 17, .96);
    color: #fff;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .36);
    backdrop-filter: blur(16px);
    pointer-events: auto;
}

.cookie-consent__content {
    max-width: 760px;
}

.cookie-consent__eyebrow {
    margin: 0 0 8px;
    color: #279fdb;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.cookie-consent h2 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: 0;
}

.cookie-consent p,
.cookie-consent span {
    color: #cfd3d7;
    font-size: 14px;
    line-height: 1.55;
}

.cookie-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 18px;
}

.cookie-consent__button {
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid #279fdb;
    border-radius: 6px;
    background: #279fdb;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
}

.cookie-consent__button--ghost {
    border-color: rgba(255, 255, 255, .22);
    background: transparent;
}

.cookie-consent__preferences {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.cookie-consent__preferences[hidden] {
    display: none;
}

.cookie-consent__option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
    background: rgba(255, 255, 255, .04);
}

.cookie-consent__option strong {
    display: block;
    margin-bottom: 4px;
    color: #fff;
    font-size: 15px;
}

.cookie-consent__option input {
    width: 22px;
    min-width: 22px;
    height: 22px;
    accent-color: #279fdb;
}

.cookie-consent__required {
    white-space: nowrap;
    color: #fff;
    font-weight: 700;
}

@media (max-width: 640px) {
    .cookie-consent {
        inset: auto 12px 12px 12px;
    }

    .cookie-consent__panel {
        padding: 18px;
    }

    .cookie-consent__actions,
    .cookie-consent__actions--preferences {
        justify-content: stretch;
    }

    .cookie-consent__button {
        flex: 1 1 100%;
    }

    .cookie-consent__option {
        align-items: flex-start;
    }

    .cookie-consent__required {
        white-space: normal;
        text-align: right;
    }
}
