/* Fondo oscuro con gradiente suave y estilo neón */
body.neon-bg {
    margin: 0;
    padding: 0;
    background: linear-gradient(145deg, #0a0a0f, #111118);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #fefefe;
}

/* Contenedor del formulario */
.form-container {
    background: rgba(5, 5, 15, 0.9);
    border: 2px solid #00f0ff;
    border-radius: 12px;
    padding: 30px 40px;
    max-width: 420px;
    margin: 80px auto;
    box-shadow: 0 0 30px #00f0ff;
    text-align: center;
}

/* Título principal */
.form-container h2 {
    font-size: 26px;
    margin-bottom: 25px;
    font-weight: bold;
    background: linear-gradient(90deg, #ffe600, #00f0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Campos de entrada */
input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 12px;
    margin: 12px 0;
    border: none;
    border-radius: 6px;
    background-color: #0e0e15;
    color: #00f0ff;
    box-shadow: inset 0 0 8px #00f0ff;
    font-size: 15px;
}

/* Botón de enviar */
button {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    background: linear-gradient(90deg, #00c3ff, #00f0ff);
    color: #000;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 0 15px #00f0ff;
    font-size: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button:hover {
    transform: scale(1.02);
    box-shadow: 0 0 25px #00f0ff;
}

/* Texto inferior */
.alt-text {
    margin-top: 20px;
    font-size: 14px;
    color: #ffffff;
}

.alt-text span {
    color: #00ffff;
}

.alt-text a {
    text-decoration: none;
    font-weight: bold;
    background: linear-gradient(to right, #00f0ff, #ff00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.alt-text a:hover {
    text-decoration: underline;
}

/* Estilos para mensajes flash */
.alert {
    padding: 12px;
    margin: 15px 0;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
}

.alert.success {
    background-color: #003c3c;
    color: #00f0ff;
    border: 1px solid #00f0ff;
    box-shadow: 0 0 10px #00f0ff;
}

.alert.error {
    background-color: #3c0000;
    color: #ff6666;
    border: 1px solid #ff0033;
    box-shadow: 0 0 10px #ff0033;
}