.modal-overlay {
    display: none; /* ✅ Solo esta */
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    isolation: isolate;
}


.modal-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    max-width: 800px;
    width: 80%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.3s ease-in-out;
}



.modal-content h2 {
    margin-top: 0;
    color: #d9534f;
}

.modal-content p {
    margin-bottom: 20px;
}

.modal-content button {
    background-color: #d9534f;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.modal-content button:hover {
    background-color: #c9302c;
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

/* Estilo personalizado para el botón "No aceptar" */
.cookie-consent__decline {
    background-color: #dc3545; /* rojo */
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    margin-left: 20px;
    transition: background-color 0.3s ease;
}

.cookie-consent__decline:hover {
    background-color: #c82333; /* rojo más oscuro al pasar el mouse */
}

.cookie-consent__agree,
.cookie-consent__decline {
    margin-top: 0px; /* Espacio entre el texto y los botones */
}
