/* ======================================================= */
/* ====== ESTILOS PARA BANNER Y MODAL DE COOKIES (AVANZADO) ====== */
/* ======================================================= */

/* --- Estilos del Banner (igual que antes) --- */
#cookie-consent-banner {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
background-color: #222;
color: #f1f1f1;
padding: 20px;
z-index: 1050;
display: none; /* Oculto por defecto */
box-shadow: 0 -2px 10px rgba(0,0,0,0.5);
}
#cookie-consent-banner .container-fluid {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
}
#cookie-consent-banner p {
margin: 0;
flex-grow: 1;
padding-right: 20px;
}
#cookie-consent-banner .botones {
white-space: nowrap;
}
@media (max-width: 992px) { /* Ajuste para tablets y móviles */
    #cookie-consent-banner .container-fluid {
    flex-direction: column;
    text-align: center;
    }
    #cookie-consent-banner p {
    margin-bottom: 15px;
    padding-right: 0;
    }
}

/* --- Estilos del Modal de Configuración --- */
#cookie-settings-modal .modal-body {
padding: 20px 30px;
}
.cookie-category {
    margin-bottom: 15px;
}
.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}
.cookie-category-header label {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 0;
}
.cookie-category-description {
    font-size: 14px;
    color: #555;
    margin-bottom: 0;
}

/* --- Estilos para los Interruptores (Toggle Switch) --- */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}
.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}
input:checked + .slider {
    background-color: #28a745; /* Verde de éxito de Bootstrap */
}
input:disabled + .slider {
    background-color: #777;
    cursor: not-allowed;
}
input:focus + .slider {
    box-shadow: 0 0 1px #28a745;
}
input:checked + .slider:before {
    transform: translateX(26px);
}
.slider.round {
    border-radius: 34px;
}
.slider.round:before {
    border-radius: 50%;
}
