/* =======================
   Banner de cookies
   ======================= */
#cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    font-family: Arial, sans-serif;
    display: none;
    z-index: 9999;
    text-align: center;
}

#cookie-banner h3 {
    margin: 0 0 10px;
    font-size: 18px;
    color: #222;
}

#cookie-banner p {
    margin: 0 0 10px;
    font-size: 14px;
    color: #555;
}

#cookie-banner a {
    color: #0d6efd;
    text-decoration: none;
}

#cookie-banner a:hover {
    text-decoration: underline;
}

.cookie-btn {
    padding: 10px 14px;
    margin: 5px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.accept-btn {
    background-color: #0d6efd;
    color: white;
}

.reject-btn {
    background-color: #f44336;
    color: white;
}

.config-btn {
    background-color: #6c757d;
    color: white;
}

/* =======================
   Modal de configuración
   ======================= */
#cookie-modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.45);
    z-index: 10000;
}

#cookie-modal .content {
    background: #fff;
    width: 90%;
    max-width: 460px;
    margin: 8% auto;
    padding: 25px;
    border-radius: 12px;
    font-family: Arial, sans-serif;
    text-align: left;
}

#cookie-modal h3 {
    margin-top: 0;
    font-size: 20px;
    color: #222;
}

.cookie-option {
    margin: 12px 0;
}

.save-btn {
    background-color: #0d6efd;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

/* =======================
   Botón flotante "Hablemos de las Cookies"
   ======================= */
#cookie-floating {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #fd0060;
    color: white;
    padding: 10px 18px;
    border-radius: 25px;
    font-family: Arial, sans-serif;
    cursor: pointer;
    display: none;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: background-color 0.2s ease;
}

#cookie-floating:hover {
    background-color: #ffffff;
    color: #232323;
}

/* =======================
   Animaciones opcionales
   ======================= */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

#cookie-banner, #cookie-modal {
    animation: fadeIn 0.4s ease;
}
