/**
 * Estilos del Banner de Consentimiento de Cookies
 * Diseño minimalista y moderno
 */

/* Banner principal */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1b2758 0%, #0e134a 100%);
    color: #ffffff;
    padding: 0;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

/* Banner visible */
.cookie-consent-banner.show {
    transform: translateY(0);
}

/* Contenedor del contenido */
.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Texto del banner */
.cookie-consent-text {
    flex: 1;
    font-family: 'Poppins', sans-serif;
}

.cookie-consent-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 400;
}

.cookie-consent-text strong {
    font-weight: 600;
    color: #459ea2;
}

.cookie-consent-text a {
    color: #459ea2;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.cookie-consent-text a:hover {
    color: #6db5b8;
    text-decoration: underline;
}

/* Botones de acción */
.cookie-consent-actions {
    flex-shrink: 0;
}

.cookie-accept-btn {
    background: linear-gradient(135deg, #459ea2 0%, #3a8a8e 100%);
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    min-width: 100px;
    box-shadow: 0 2px 10px rgba(69, 158, 162, 0.3);
}

.cookie-accept-btn:hover {
    background: linear-gradient(135deg, #3a8a8e 0%, #2f7a7e 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(69, 158, 162, 0.4);
}

.cookie-accept-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(69, 158, 162, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        text-align: center;
        padding: 15px;
        gap: 15px;
    }
    
    .cookie-consent-text p {
        font-size: 13px;
    }
    
    .cookie-accept-btn {
        width: 100%;
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .cookie-consent-content {
        padding: 12px;
    }
    
    .cookie-consent-text p {
        font-size: 12px;
    }
    
    .cookie-accept-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}

/* Animación de entrada */
@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Aplicar animación cuando se muestra */
.cookie-consent-banner.show {
    animation: slideInUp 0.4s ease-out;
}

/* Estados para accesibilidad */
.cookie-accept-btn:focus {
    outline: 2px solid #459ea2;
    outline-offset: 2px;
}

/* Modo oscuro adicional (si el sitio lo necesita) */
@media (prefers-color-scheme: dark) {
    .cookie-consent-banner {
        background: linear-gradient(135deg, #0a0e2e 0%, #050818 100%);
    }
}

/* Soporte para reducción de movimiento */
@media (prefers-reduced-motion: reduce) {
    .cookie-consent-banner {
        transition: none;
    }
    
    .cookie-accept-btn {
        transition: none;
    }
    
    .cookie-consent-banner.show {
        animation: none;
    }
}
