/* V87: pantallas de ingreso (panel, recuperar contraseña, bloqueo): montañas de fondo,
   tarjeta de vidrio con bordes bien redondeados, letra grande y colores vivos. */
* { box-sizing: border-box; }
body {
    margin: 0; min-height: 100vh; padding: 20px 16px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    font-family: 'Inter', 'Segoe UI', Roboto, Arial, 'Noto Color Emoji', sans-serif; color: #1e293b;
    background-color: #312e81; background-size: cover; background-position: center bottom; background-attachment: fixed;
}
.ingreso-caja, .caja {
    width: 100%; max-width: 460px; padding: 34px 32px 28px;
    background: rgba(255, 255, 255, 0.90); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-radius: 28px; border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.45);
}
.ingreso-marca { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.ingreso-logo {
    width: 64px; height: 64px; flex-shrink: 0; border-radius: 20px; font-size: 34px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #7c3aed, #ec4899 55%, #f59e0b); box-shadow: 0 10px 22px rgba(124, 58, 237, 0.45);
}
.ingreso-marca h1 {
    margin: 0; font-size: 34px; font-weight: 900; letter-spacing: -0.02em; line-height: 1.05;
    background: linear-gradient(90deg, #6d28d9, #db2777, #ea580c); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ingreso-marca p { margin: 4px 0 0; font-size: 15.5px; color: #64748b; font-weight: 600; }
label { display: block; margin: 16px 0 7px; font-size: 16.5px; font-weight: 800; color: #334155; }
.ingreso-campo {
    display: flex; align-items: center; gap: 8px; padding: 0 8px 0 16px;
    background: #fff; border: 2px solid #e2e8f0; border-radius: 16px; transition: border-color .15s, box-shadow .15s;
}
.ingreso-campo:focus-within { border-color: #8b5cf6; box-shadow: 0 0 0 5px rgba(139, 92, 246, 0.18); }
.ingreso-campo span { font-size: 20px; }
.ingreso-campo input { flex: 1; border: 0; outline: none; background: transparent; font-size: 18px; padding: 14px 4px; color: #0f172a; min-width: 0; }
.ingreso-ver { border: 0; background: #f1f5f9; border-radius: 12px; font-size: 18px; padding: 7px 10px; cursor: pointer; }
.ingreso-ver:hover { background: #ede9fe; }
.ingreso-boton, .caja button {
    width: 100%; margin-top: 26px; padding: 16px; border: 0; border-radius: 18px; cursor: pointer;
    font-size: 20px; font-weight: 900; letter-spacing: .01em; color: #fff;
    background: linear-gradient(90deg, #7c3aed, #db2777 55%, #f97316);
    box-shadow: 0 12px 26px rgba(219, 39, 119, 0.40); transition: transform .12s ease, box-shadow .12s ease;
}
.ingreso-boton:hover, .caja button:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(219, 39, 119, 0.5); }
.ingreso-olvide, .volver {
    display: block; text-align: center; margin-top: 20px; font-size: 16.5px; font-weight: 800;
    color: #6d28d9; text-decoration: none;
}
.ingreso-olvide:hover, .volver:hover { text-decoration: underline; }
.ingreso-error, .ingreso-aviso { border-radius: 16px; padding: 12px 16px; font-size: 15.5px; line-height: 1.45; margin-bottom: 6px; }
.ingreso-error { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.ingreso-aviso { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
.ingreso-pie { margin: 22px 0 0; color: rgba(255, 255, 255, 0.92); font-size: 14.5px; font-weight: 600; text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45); text-align: center; }
@media (max-width: 480px) {
    .ingreso-caja, .caja { padding: 26px 20px 22px; border-radius: 24px; }
    .ingreso-marca h1 { font-size: 29px; }
}
.ingreso-credito { position: fixed; right: 12px; bottom: 8px; margin: 0; font-size: 11.5px; color: rgba(255,255,255,.75); text-shadow: 0 1px 3px rgba(0,0,0,.6); }
