.cookie-consent[hidden] {
    display: none;
}

.cookie-consent {
    position: fixed;
    inset: auto 24px 24px;
    z-index: 1040;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    color: #17324f;
    background: #fff;
    border: 1px solid #dce7ef;
    border-radius: 20px;
    box-shadow: 0 12px 48px rgba(13, 35, 65, .18);
    font-family: inherit;
}

.cookie-consent__icon {
    display: grid;
    place-items: center;
    flex: 0 0 52px;
    height: 52px;
    border-radius: 16px;
    background: #edf5fa;
    color: #23668c;
    font-size: 26px;
}

.cookie-consent__content {
    flex: 1;
}

.cookie-consent__content h2 {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.cookie-consent__content p {
    margin: 0;
    color: #586b7e;
    font-size: 14px;
    line-height: 1.6;
}

.cookie-consent__accept {
    flex-shrink: 0;
    padding: 13px 24px;
    border: 0;
    border-radius: 12px;
    background: #163d65;
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s;
}

.cookie-consent__accept:hover {
    background: #235783;
}

.cookie-consent__accept:focus-visible {
    outline: 3px solid #72b5dd;
    outline-offset: 3px;
}

@media (max-width: 575px) {
    .cookie-consent {
        inset: auto 12px 12px;
        padding: 20px;
        gap: 14px;
        flex-wrap: wrap;
        border-radius: 16px;
    }

    .cookie-consent__content {
        flex-basis: calc(100% - 66px);
    }

    .cookie-consent__accept {
        width: 100%;
    }
}
