.cookie-notice {
    position: fixed;
    left: 50%;
    bottom: 20px;
    z-index: 99999;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: min(760px, calc(100% - 40px));
    padding: 14px 18px;
    transform: translateX(-50%);
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.16);
}

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

.cookie-notice__text {
    color: #1b3355;
    font-size: 14px;
    line-height: 1.45;
}

.cookie-notice__text a {
    color: #1b3355;
    text-decoration: underline;
}

.cookie-notice__button {
    flex: 0 0 auto;
    min-width: 84px;
    padding: 10px 22px;
    border: 0;
    border-radius: 8px;
    background: #1b3355;
    color: #fff;
    font-size: 15px;
    line-height: 1.2;
    cursor: pointer;
}

.cookie-notice__button:hover {
    background: #284a78;
}

@media (max-width: 600px) {
    .cookie-notice {
        left: 12px;
        right: 12px;
        bottom: 12px;
        width: auto;
        transform: none;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 16px;
    }

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