/* =========================
   COOKIE BANNER MODERN UI
========================= */

.legacy-cookie {
    position: fixed;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 9999;
}

/* карточка */
.legacy-cookie > div {
    max-width: 900px;
    width: calc(100% - 40px);
    padding: 16px 18px;
    background: rgba(20, 20, 24, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;

    color: #f1f1f1;
    font-size: 14px;
    line-height: 1.4;
}

/* текст */
.legacy-cookie__text {
    flex: 1;
    color: #eaeaea;
    font-size: 14px;
}

.legacy-cookie__text a {
    color: #4da3ff;
    text-decoration: underline;
}

/* кнопка принять */
.legacy-cookie__btn {
    background: linear-gradient(135deg, #4da3ff, #2f7cff);
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.legacy-cookie__btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(77,163,255,0.35);
}

.legacy-cookie__btn:active {
    transform: scale(0.98);
}

/* мобильная версия */
@media (max-width: 600px) {
    .legacy-cookie > div {
        flex-direction: column;
        align-items: stretch;
        text-align: left;
    }

    .legacy-cookie__btn {
        width: 100%;
    }
}


.legacy-cookie__buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.legacy-cookie__btn--reject {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
}

.legacy-cookie__btn--reject:hover {
    background: rgba(255,255,255,0.08);
}