/* cookie */
.cookie-dialog-fixed {
    display: none;
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1068px;
    background: #ffffff;
    border-radius: 16px;
    padding: 15px 36px;
    box-shadow: 0 0 24px rgba(0, 0, 0, 0.5);
    border: 1px solid #e2e8f0;
    z-index: 50; /* выше контента, но ниже модалок */
    animation: fadeIn 0.4s ease;
    /* Анимация как в регистрации */
    opacity: 0;
    transform: translate(-50%, 40px);
    animation: cookieFadeIn 0.7s cubic-bezier(0.645, 0.045, 0.355, 1) forwards;
}

.cookie-dialog-fixed__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.cookie-dialog-fixed__text {
    font-size: 16px;
    line-height: 1.4;
    margin: 0;
}

    .cookie-dialog-fixed__text a {
        color: #3B82F6;
        text-decoration: none;
    }

.cookie-dialog-fixed-btn {
    margin-top: 0;
    background: #0258b9;
    color: #fff;
    border: none;
    padding: 13px 26px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    white-space: nowrap;
    font-family: "Roboto", sans-serif;
}

    .cookie-dialog-fixed-btn:hover {
        background: #3b7cc5;
    }

@media (max-width: 600px) {
    .cookie-dialog-fixed__content {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-dialog-fixed-btn {
        width: 100%;
        text-align: center;
    }
}

@keyframes cookieFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, 40px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}
