/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    min-height: 100px; /* Минимальная высота вместо фиксированной */
    background: #206CB5;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.cookie-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    padding: 20px 30px; /* Увеличиваем вертикальные отступы */
}

.cookie-content {
    flex: 1;
    margin-right: 30px;
}

.cookie-content p {
    color: #FFFFFF;
    font-family: "Raleway", sans-serif;
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
    max-width: 700px;
}

.cookie-link {
    color: #FFFFFF;
    text-decoration: underline;
    text-decoration-color: #FFFFFF;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.cookie-link:hover {
    opacity: 0.8;
}

.cookie-actions {
    display: flex;
    flex-shrink: 0;
}

.cookie-accept {
    text-align: center;
    width: 120px;
    height: 21px;
    background: linear-gradient(var(--accent-orange), var(--accent-red));
    border-radius: 10px;
    border: 0px;
    padding: 20px 0;
    transition: transform 0.3s ease;
    opacity: 1;
    
    font-family: Raleway;
    font-weight: 700;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--text-white);
    cursor: pointer;
    
    outline: none;
    box-shadow: none;
    
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Анимация появления */
.cookie-notice {
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Скрытое состояние */
.cookie-notice.hidden {
    display: none;
}

/* Мобильная версия (меньше 768px) */
@media (max-width: 767px) {
    .cookie-notice {
        min-height: auto;
        height: auto;
    }
    
    .cookie-container {
        flex-direction: column;
        align-items: center; /* Меняем с flex-start на center */
        padding: 20px 15px;
    }
    
    .cookie-content {
        margin-right: 0;
        margin-bottom: 20px;
        width: 100%;
        text-align: center; /* Центрируем текст */
    }
    
    .cookie-content p {
        font-size: 13px;
        line-height: 1.5;
        max-width: 100%;
    }
    
    .cookie-actions {
        width: 100%;
        justify-content: center; /* Центрируем кнопку */
        display: flex; /* Добавляем flex для центрирования */
    }
    
    .cookie-accept {
        width: 100%;
        max-width: 200px;
        height: auto;
        min-height: 50px;
        padding: 15px 0;
        font-size: 16px;
    }
}

/* Маленькие мобильные (до 480px) */
@media (max-width: 480px) {
    .cookie-container {
        padding: 15px 12px;
    }
    
    .cookie-content p {
        font-size: 12px;
        line-height: 1.6;
    }
    
    .cookie-accept {
        max-width: 180px;
        min-height: 45px;
        padding: 12px 0;
        font-size: 15px;
    }
}

/* Очень маленькие экраны (до 360px) */
@media (max-width: 360px) {
    .cookie-content p {
        font-size: 11px;
    }
    
    .cookie-accept {
        max-width: 160px;
        min-height: 40px;
        font-size: 14px;
    }
}