.cookie-widget {
    position: fixed;
    right: 24px;
    bottom: 24px;
    left: 24px;
    z-index: 1000;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

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

.cookie-widget__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    max-width: 920px;
    padding: 20px 24px;
    border-radius: 20px;
    background: rgba(20, 24, 31, 0.96);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.24);
    color: #ffffff;
    pointer-events: auto;
}

.cookie-widget__text {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
}

.cookie-widget__button {
    flex-shrink: 0;
    min-width: 128px;
    padding: 12px 20px;
    border: 0;
    border-radius: 999px;
    background: #ffffff;
    color: #14181f;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.cookie-widget__button:hover,
.cookie-widget__button:focus-visible {
    opacity: 0.88;
}

@media (max-width: 767px) {
    .cookie-widget {
        right: 16px;
        bottom: 16px;
        left: 16px;
    }

    .cookie-widget__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 18px;
    }

    .cookie-widget__button {
        width: 100%;
    }
}
