/* Уведомление о cookies */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 0;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.3s ease-in-out;
}

.cookie-notice-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.cookie-notice-text {
    flex: 1;
    min-width: 300px;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-notice-text i {
    color: #ffd700;
}

.cookie-notice-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-notice-buttons .btn {
    white-space: nowrap;
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.cookie-notice-buttons .btn-outline-secondary {
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    background: transparent;
}

.cookie-notice-buttons .btn-outline-secondary:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.cookie-notice-buttons .btn-primary {
    background: #28a745;
    border-color: #28a745;
    color: white;
}

.cookie-notice-buttons .btn-primary:hover {
    background: #218838;
    border-color: #1e7e34;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .cookie-notice {
        padding: 12px 0;
    }
    
    .cookie-notice-content {
        padding: 0 15px;
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .cookie-notice-text {
        min-width: auto;
        margin-bottom: 10px;
        font-size: 13px;
    }
    
    .cookie-notice-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .cookie-notice-buttons .btn {
        flex: 1;
        min-width: 120px;
        margin: 2px;
    }
}

@media (max-width: 480px) {
    .cookie-notice {
        padding: 10px 0;
    }
    
    .cookie-notice-content {
        padding: 0 10px;
    }
    
    .cookie-notice-text {
        font-size: 12px;
    }
    
    .cookie-notice-buttons .btn {
        font-size: 12px;
        padding: 5px 10px;
        min-width: 100px;
    }
}

/* Анимация появления */
@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideOutToBottom {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(100%);
    }
}

/* Дополнительные стили для лучшей видимости */
.cookie-notice::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

/* Эффект при наведении на кнопки */
.cookie-notice-buttons .btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
} 