/* ===================================
   COOKIE CONSENT
=================================== */

.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 99999;

    display: none;

    animation: cookieFadeIn .5s ease;
}

.cookie-consent__content {
    max-width: 1200px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    gap: 25px;

    padding: 24px 30px;

    background: rgba(17, 24, 39, 0.96);
    backdrop-filter: blur(18px);

    border: 1px solid rgba(255,255,255,0.12);

    border-radius: 20px;

    box-shadow:
        0 15px 40px rgba(0,0,0,0.35),
        0 0 0 1px rgba(255,255,255,0.05);

    color: #ffffff;
}

.cookie-consent__icon {
    font-size: 40px;
    flex-shrink: 0;
}

.cookie-consent__text {
    flex: 1;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255,255,255,0.92);
}

.cookie-consent__text a {
    color: #7dd3fc;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.cookie-consent__text a:hover {
    color: #38bdf8;
    text-decoration: underline;
}

.cookie-consent__buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.btn-cookie {
    border: none;
    cursor: pointer;

    padding: 14px 28px;

    border-radius: 12px;

    font-size: 15px;
    font-weight: 600;

    transition: all .3s ease;
}

.btn-cookie--accept {
    background: linear-gradient(
        135deg,
        #2563eb,
        #3b82f6
    );

    color: #fff;

    box-shadow:
        0 8px 20px rgba(37,99,235,0.35);
}

.btn-cookie--accept:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 25px rgba(37,99,235,0.45);
}

.btn-cookie--decline {
    background: rgba(255,255,255,0.08);
    color: #fff;

    border: 1px solid rgba(255,255,255,0.15);
}

.btn-cookie--decline:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

/* Анимация */

@keyframes cookieFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Планшеты */

@media (max-width: 992px) {

    .cookie-consent__content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-consent__buttons {
        width: 100%;
        justify-content: center;
    }
}

/* Телефоны */

@media (max-width: 576px) {

    .cookie-consent {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }

    .cookie-consent__content {
        padding: 20px;
        gap: 18px;
    }

    .cookie-consent__icon {
        font-size: 32px;
    }

    .cookie-consent__text {
        font-size: 14px;
    }

    .cookie-consent__buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-cookie {
        width: 100%;
    }
}