.cookie-banner {
    position: fixed;
    z-index: 1000;
    left: 16px;
    right: 16px;
    bottom: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    max-width: 880px;
    margin: 0 auto;
    padding: 16px 18px;
    border: 1px solid rgb(232 238 246 / 16%);
    border-radius: 16px;
    background: #181f29;
    color: #e8eef6;
    box-shadow: 0 16px 40px rgb(0 0 0 / 28%);
    font-family: Inter, system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.45;
}

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

.cookie-banner__text {
    flex: 1 1 280px;
    margin: 0;
}

.cookie-banner__policy {
    color: #8ec8ff;
    text-underline-offset: 3px;
}

.cookie-banner__actions {
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
}

.cookie-banner__button {
    min-width: 128px;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid rgb(232 238 246 / 28%);
    border-radius: 999px;
    background: transparent;
    color: #e8eef6;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.cookie-banner__button--accept {
    border-color: #3b9eff;
    background: #3b9eff;
    color: #0c1218;
}

.cookie-banner__button:focus-visible {
    outline: 2px solid #8ec8ff;
    outline-offset: 2px;
}

@media (max-width: 640px) {
    .cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }

    .cookie-banner__actions {
        width: 100%;
    }

    .cookie-banner__button {
        flex: 1 1 0;
    }
}
