/* Estilos para el Popup */
.data-consent-popup {
    display: none; /* Inicialmente oculto */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Fondo con sombra más suave */
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.popup-content {
    background-color: #F9F9F9; /* Fondo claro neutro */
    padding: 25px;
    border-radius: 12px;
    max-width: 580px;
    width: 90%;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.18);
}

/* Título */
.popup-content h2 {
    margin-bottom: 18px;
    color: #333333; /* Texto oscuro serio */
    font-size: 26px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Inputs de texto */
.popup-content input[type="text"] {
    padding: 10px 12px;
    margin-top: 6px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    width: calc(100% - 26px);
    max-width: 100%;
}

/* Checkbox corregido */
.popup-content input[type="checkbox"] {
    width: auto;
    margin: 0;
    padding: 0;
}

/* Contenedor del checkbox + texto */
.checkbox-consent {
    display: flex;
    align-items: center;
    justify-content: center; /* centrado en el popup */
    gap: 6px;
    margin-top: 12px;
    font-size: 15px;
}


/* Botón principal con colores de marca */
.popup-content button {
    padding: 13px 22px;
    background-color: #C5A25D; /* Ocre/Dorado corporativo */
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
    font-weight: 500;
    text-transform: uppercase;
}

.popup-content button:hover {
    background-color: #A88844; /* Tono más oscuro al pasar cursor */
}

/* Foco accesible */
.popup-content input[type="text"]:focus,
.popup-content input[type="checkbox"]:focus,
.popup-content button:focus {
    outline: none;
    border: 2px solid #C5A25D;
}

.inline-form {
    display: inline-block;
    margin-right: 10px;
}

/* Responsividad */
@media (max-width: 600px) {
    .popup-content {
        max-width: 90%;
        padding: 18px;
    }

    .popup-content h2 {
        font-size: 22px;
    }

    .popup-content button {
        font-size: 15px;
        padding: 12px 18px;
    }
}