.cookie-notice {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 9999;

    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    width: 50%;
    max-width: 760px;
    min-width: 520px;
    padding: 18px 20px;

    background: #ffffff;
    border: 1px solid rgba(31, 94, 255, 0.22);
    border-radius: 16px;
    box-shadow:
            0 10px 32px rgba(0, 0, 0, 0.14),
            0 0 0 1px rgba(255, 255, 255, 0.7) inset;

    color: #222222;
    font-family: inherit;

    transform: translateX(-50%);
}

.cookie-notice.is-visible {
    display: flex;
}

.cookie-notice__text {
    font-size: 14px;
    line-height: 1.5;
}

.cookie-notice__text a {
    color: #1f5eff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookie-notice__button {
    flex-shrink: 0;
    min-height: 40px;
    padding: 10px 18px;

    border: 1px solid #1f5eff;
    border-radius: 10px;
    background: #1f5eff;
    color: #ffffff;

    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.2;
}

.cookie-notice__button:hover {
    opacity: 0.86;
}

@media (max-width: 1024px) {
    .cookie-notice {
        width: calc(100% - 48px);
        min-width: 0;
        max-width: none;
    }
}

@media (max-width: 768px) {
    .cookie-notice {
        left: 12px;
        right: 12px;
        bottom: 12px;

        width: auto;
        min-width: 0;
        max-width: none;
        padding: 16px;

        flex-direction: column;
        align-items: stretch;

        transform: none;
    }

    .cookie-notice__button {
        width: 100%;
    }
}