/* Diseño Base (Para móviles sigue siendo ancho completo) */
#lf-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #1a202c;
    color: #fff;
    padding: 20px;
    z-index: 99999;
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 13px;
    box-sizing: border-box;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.1);
    display: flex; 
    flex-direction: column;
    gap: 15px;
    border-top: 3px solid #f6b500;
    opacity: 0;
    transform: translateY(15px);
}

/* La clase que lanza la animación cuando el JS la añade */
#lf-cookie-banner.show-banner {
    animation: lfBannerFadeIn 0.4s ease-out forwards;
}

@keyframes lfBannerFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Diseño Tarjeta Flotante (Para Ordenadores y Tablets) */
@media (min-width: 768px) {
    #lf-cookie-banner {
        bottom: 20px;
        left: 20px;
        width: 400px;
        border-radius: 8px;
        border-top: none;
        border-left: 4px solid #f6b500;
        box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    }
}

.lf-cookie-text p { margin: 0 0 10px 0; line-height: 1.4; color: #cbd5e0; }
.lf-cookie-text strong { color: #fff; font-size: 14px; }
.lf-cookie-buttons { display: flex; gap: 10px; }
.lf-cookie-buttons button {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s;
}
#lf-btn-accept { background: #f6b500; color: #000; }
#lf-btn-accept:hover { background: #dca300; }
#lf-btn-reject { background: #4a5568; color: #fff; }
#lf-btn-reject:hover { background: #2d3748; }

/* Color del enlace de la política de cookies para Accesibilidad 100/100 */
.lf-cookie-text a {
    color: #f6b500;
    text-decoration: underline;
    font-weight: bold;
}
.lf-cookie-text a:hover {
    color: #dca300;
}

/* IDs sincronizados con tu cookies.php */
#lf-cookie-accept { 
    background: #f6b500; 
    color: #000; 
}
#lf-cookie-accept:hover { 
    background: #dca300; 
}

#lf-cookie-reject { 
    background: #4a5568; 
    color: #fff; 
}
#lf-cookie-reject:hover { 
    background: #2d3748; 
}