@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;600&family=Zen+Dots&display=swap');
:root {
    --cursor-x: 50%;
    --cursor-y: 50%;

    --font-title: 'Zen Dots', sans-serif;
    --font-text: 'Quicksand', sans-serif;
    --font-form: 'Quicksand', sans-serif;

    /* ===== NEON PALETTE 2026 ===== */
    --neon-pink: #ED519F;
    --neon-pink-dark: #AA33AC;
    --neon-orange: #FA9D4C;
    --neon-purple: #1E0728;

    /* Reemplazos semánticos (no toques el resto del CSS) */
    --lima: #FA9D4C;          /* ahora naranja neon */
    --rosa: #ED519F;
    --rosa2: #AA33AC;

    --panel-bg: #12061a;
    --panel-border: #3a145a;
    --panel-bg-soft: #2a0f3f;


    --bg-main: #0b0611;
    --border-color: rgba(237, 81, 159, 0.25);

    --radius: 20px;
}


/* RESET SUAVE */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
}

/* FONDO GENERAL */
body {
    background: var(--bg-main);
    color: #f5f5f5;
    font-family: var(--font-text);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 30px 15px;
    padding-top: 70px !important;
}

/* CONTENEDOR PRINCIPAL */
.wl-container {
    width: 100%;
    max-width: 1200px;
    background: rgba(12, 4, 18, 0.95);
    border-radius: 24px;
    border: 1px solid rgba(56, 60, 64, 0.9);
    padding: 28px 32px 32px;
    backdrop-filter: blur(12px);
}

/* ====== MENÚ SUPERIOR ====== */
.wl-topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 54px;
    padding: 0 20px;

    background: rgba(18, 6, 26, 0.90);
    border-bottom: 1px solid rgba(56, 60, 64, 0.9);
    backdrop-filter: blur(10px);

    display: flex;
    align-items: center;
    justify-content: space-between;

    z-index: 999;
}

.wl-topbar a {
    color: var(--lima);
    font-family: var(--font-title);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 6px 10px;
}

.wl-topbar a:hover {
    color: white;
}

#logo {
    max-width: 40px;
    margin-right: 12px;
}

/* Responsive */
@media (max-width: 600px) {
    .wl-topbar {
        justify-content: center;
        gap: 20px;
        padding: 0 10px;
    }

    .wl-topbar a {
        font-size: 0.8rem;
    }
}


/* CABECERA */
h2 {
    font-family: var(--font-title);
    font-size: 1.9rem;
    margin: 0 0 8px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--neon-orange);
    text-shadow:
        0 0 12px rgba(250,157,76,.45),
        0 0 22px rgba(237,81,159,.25);
}

h3 {
    font-family: var(--font-title);
    font-size: 1.2rem;
    margin: 24px 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--rosa);
}

p {
    margin: 0 0 10px;
    line-height: 1.5;
    font-size: 0.98rem;
    color: #e0e0e0;
}

/* INFO DE USUARIO */
.wl-user-info {
    font-size: 0.9rem;
    color: #c2c2c2;
    margin-bottom: 18px;
}

/* MENSAJE DE ÉXITO / ERROR */
.wl-message-success {
    padding: 10px 12px;
    margin-bottom: 18px;
    border-radius: 12px;
    border: 1px solid rgba(237,81,159,.45);
    background: rgba(170,51,172,.25);
    color: #ffe6f2;
    font-size: 0.9rem;
    box-shadow: 0 0 18px rgba(237,81,159,.22);
}

/* FORMULARIO GENERAL */
form {
    margin-top: 10px;
}

/* FIELDSETS */
fieldset {
    border-radius: 18px;
    padding: 16px 18px 14px;
    margin: 0 0 20px;
    background:
        radial-gradient(circle at 0 0, rgba(237, 81, 159, 0.08), transparent 60%),
        rgba(18, 6, 26, 0.95);
    border: 1px solid rgba(237, 81, 159, 0.28);
}

legend {
    font-family: var(--font-title);
    font-size: 0.95rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 0 6px;
    color: var(--lima);
    text-shadow: 0 0 8px rgba(237, 81, 159, 0.35);
}

/* GRUPOS DE CAMPOS */
.wl-field-group {
    margin-bottom: 16px;
}

/* LABELS */
label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #f1f1f1;
}

/* INPUTS Y TEXTAREAS */
textarea,
input[type="text"] {
    width: 100%;
    padding: 10px 12px;
    margin-top: 6px;
    background: var(--panel-bg);
    border-radius: 14px;
    border: 1px solid var(--panel-border);
    color: #ffffff;
    font-family: var(--font-form);
    font-size: 0.95rem;
    resize: vertical;
    min-height: 42px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

textarea {
    min-height: 120px;
}

textarea:focus,
input[type="text"]:focus {
    outline: none;
    border-color: var(--neon-pink);
    box-shadow: 0 0 0 1px rgba(237,81,159,.35);
    background: #0b0611;
}

/* PLACEHOLDERS */
::placeholder {
    color: #b6a9c6;
    font-size: 0.88rem;
}

/* RADIO / CHECKBOX */
input[type="radio"],
input[type="checkbox"] {
    accent-color: var(--rosa);
    margin-right: 8px;
}

.wl-option-row {
    margin: 3px 0;
    font-size: 0.9rem;
}

/* TEXTO AUXILIAR */
small {
    display: inline-block;
    margin-top: 4px;
    color: #cbb6dd;
    font-size: 0.78rem;
}

/* SEPARADOR */
hr {
    border: none;
    border-top: 1px dashed rgba(56, 60, 64, 0.9);
    margin: 22px 0;
}

/* BOTÓN ENVIAR */
button[type="submit"] {
    background: linear-gradient(135deg, var(--rosa), var(--rosa2));
    border: none;
    padding: 12px 28px;
    color: white;
    border-radius: 999px;
    font-family: var(--font-title);
    cursor: pointer;
    font-size: 0.95rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
    box-shadow:
        0 0 12px rgba(204, 0, 83, 0.5),
        0 0 22px rgba(204, 0, 83, 0.35);
}

button[type="submit"]:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
    box-shadow:
        0 0 18px rgba(204, 0, 83, 0.7),
        0 0 32px rgba(237, 81, 159, 0.25);
}

button[type="submit"]:active {
    transform: translateY(1px) scale(0.99);
}

/* ENLACE CERRAR SESIÓN */
a {
    color: var(--lima);
    text-decoration: none;
    font-size: 0.9rem;
}

a:hover {
    text-decoration: underline;
}

/* CONTENEDOR PARA EL ENLACE DE LOGOUT */
.wl-footer {
    margin-top: 18px;
    text-align: right;
    font-size: 0.85rem;
}

/* --------- RESPONSIVE --------- */

/* Tablets y móviles grandes */
@media (max-width: 900px) {
    body {
        padding: 20px 10px;
    }

    .wl-container {
        padding: 22px 18px 22px;
        border-radius: 18px;
    }

    h2 {
        font-size: 1.6rem;
        text-align: center;
    }
}

/* Móviles */
@media (max-width: 600px) {
    .wl-container {
        padding: 18px 14px 20px;
        box-shadow:
            0 0 16px rgba(0, 0, 0, 0.9),
            0 0 28px rgba(204, 0, 83, 0.25);
    }

    h2 {
        font-size: 1.4rem;
    }

    h3 {
        font-size: 1rem;
    }

    fieldset {
        padding: 12px 12px 10px;
        margin-bottom: 16px;
    }

    textarea {
        min-height: 100px;
    }

    button[type="submit"] {
        width: 100%;
        text-align: center;
        padding: 12px 0;
        font-size: 0.9rem;
    }

    .wl-footer {
        text-align: center;
        margin-top: 14px;
    }
}
.wl-message-error {
    padding: 10px 12px;    
    margin-top: 18px;
    margin-bottom: 18px;
    border-radius: 12px;
    border: 1px solid rgba(252, 96, 96, 0.5);
    background: rgba(81, 15, 15, 0.4);
    color: #ffd4d4;
    font-size: 0.9rem;
}

.wl-buttons-center {
    margin-top: 18px;
    display: flex;
    justify-content: center;
}

/* BOTÓN ESPECIAL NEON */
.btn-neon {
    background: linear-gradient(135deg, var(--rosa), var(--rosa2));
    border: none;
    padding: 14px 34px;
    color: white;
    border-radius: 18px;
    font-family: var(--font-title);
    cursor: pointer;
    font-size: 1.05rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-align: center;
    transition: 0.18s ease-in-out;

    display: inline-block;

    box-shadow:
        0 0 12px rgba(204, 0, 83, 0.6),
        0 0 22px rgba(204, 0, 83, 0.35),
        inset 0 0 8px rgba(255, 255, 255, 0.08);
}

.btn-neon:hover {
    transform: translateY(-2px) scale(1.03);
    filter: brightness(1.12);
    box-shadow:
        0 0 18px rgba(204, 0, 83, 0.8),
        0 0 32px rgba(250,157,76, 0.25);
}

.btn-neon:active {
    transform: translateY(1px) scale(0.98);
    box-shadow:
        0 0 12px rgba(204, 0, 83, 0.65),
        0 0 18px rgba(250,157,76, 0.2);
}

.normativa-indice h3 span{
  display:flex;
  gap:10px;
  align-items:center;
  font-size: 1rem;
  color: #fff;
}
/* =========================
   AVISO NO USAR IA
========================= */
.wl-warning-ai {
    margin: 25px 0 15px;
    padding: 16px 20px;

    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-align: center;
    text-transform: uppercase;

    color: #ff3b3b;
    background: linear-gradient(
        135deg,
        rgba(255, 59, 59, 0.15),
        rgba(255, 0, 0, 0.05)
    );

    border: 2px solid #ff3b3b;
    border-radius: 12px;

    box-shadow:
        0 0 10px rgba(255, 59, 59, 0.4),
        inset 0 0 8px rgba(255, 59, 59, 0.2);

    animation: wlPulse 1.8s infinite;
}

/* Animación suave tipo alerta */
@keyframes wlPulse {
    0% {
        box-shadow:
            0 0 8px rgba(255, 59, 59, 0.4),
            inset 0 0 6px rgba(255, 59, 59, 0.2);
    }
    50% {
        box-shadow:
            0 0 18px rgba(255, 59, 59, 0.8),
            inset 0 0 10px rgba(255, 59, 59, 0.35);
    }
    100% {
        box-shadow:
            0 0 8px rgba(255, 59, 59, 0.4),
            inset 0 0 6px rgba(255, 59, 59, 0.2);
    }
}
