/* entrar.html (pedido del usuario 2026-10-26): la raiz de sistema.dualpos.net. mismo diseño de la 404: fondo azul noche,
   tarjeta de vidrio, el logo de dual pos y dupi con la tablet; un solo azul de la marca (#3b82f6 -> #6366f1) */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
.body_entrar { position: relative; min-height: 100vh; overflow-x: hidden; font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; color: #e2e8f0;
    background:
        radial-gradient(120% 70% at 0% 0%, rgba(59, 130, 246, 0.25) 0%, rgba(59, 130, 246, 0) 60%),
        radial-gradient(120% 70% at 100% 100%, rgba(99, 102, 241, 0.22) 0%, rgba(99, 102, 241, 0) 60%),
        linear-gradient(180deg, #0b1230 0%, #111a44 50%, #0a1026 100%); }
.span_brillo_entrar { position: fixed; z-index: 0; width: 420px; height: 420px; border-radius: 999px; filter: blur(70px); opacity: 0.35; pointer-events: none; animation: kf_flotar_entrar 9s ease-in-out infinite alternate; }
.span_brillo_entrar[data-lado="uno"] { top: -120px; left: -100px; background: #3b82f6; }
.span_brillo_entrar[data-lado="dos"] { right: -120px; bottom: -140px; background: #6366f1; animation-delay: -4s; }
@keyframes kf_flotar_entrar { from { transform: translate(0, 0) scale(1); } to { transform: translate(40px, 30px) scale(1.12); } }

.main_entrar { position: relative; z-index: 1; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.25rem; padding: 2rem 1rem; }
.div_tarjeta_entrar { width: 100%; max-width: 920px; padding: 1.75rem 2rem 2rem; border-radius: 1.75rem; background: rgba(255, 255, 255, 0.06); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
    border: 1px solid rgba(129, 140, 248, 0.22); box-shadow: 0 30px 70px -30px rgba(2, 6, 23, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.08); animation: kf_aparecer_entrar 600ms cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes kf_aparecer_entrar { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: none; } }
.div_marco_logo_entrar { width: fit-content; margin: 0 auto 1.25rem; padding: 0.5rem 1.25rem; border-radius: 1rem; background: rgba(255, 255, 255, 0.95); box-shadow: 0 10px 25px -12px rgba(59, 130, 246, 0.7); }
.img_logo_entrar { display: block; height: 64px; width: auto; }
.div_cuerpo_entrar { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; gap: 1.5rem; }

/* dupi con su globo */
.div_dupi_entrar { position: relative; display: flex; flex-direction: column; align-items: center; }
.span_aura_entrar { position: absolute; bottom: 8%; width: 70%; aspect-ratio: 1; border-radius: 999px; background: radial-gradient(circle, rgba(59, 130, 246, 0.45) 0%, rgba(99, 102, 241, 0.15) 45%, rgba(99, 102, 241, 0) 70%); filter: blur(6px); }
.video_dupi_entrar { position: relative; width: 100%; max-width: 330px; aspect-ratio: 1; object-fit: contain; object-position: center bottom; background: transparent; filter: drop-shadow(0 22px 30px rgba(2, 6, 23, 0.55)); }
.span_globo_entrar { position: relative; z-index: 2; max-width: 280px; margin-bottom: -0.5rem; padding: 0.7rem 0.95rem; border-radius: 1rem 1rem 1rem 0.3rem; font-size: 0.85rem; font-weight: 800; line-height: 1.35; color: #1e293b;
    background: #ffffff; box-shadow: 0 14px 28px -14px rgba(2, 6, 23, 0.8); animation: kf_globo_entrar 3.2s ease-in-out infinite; }
.span_globo_entrar::after { content: ''; position: absolute; left: 22px; bottom: -8px; border: 8px solid transparent; border-top-color: #ffffff; border-bottom: 0; }
@keyframes kf_globo_entrar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

/* formulario */
.form_entrar { display: flex; flex-direction: column; }
.h1_entrar { margin: 0 0 0.5rem; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 900; letter-spacing: -0.01em; color: #ffffff; }
.p_texto_entrar { margin: 0 0 1.2rem; font-size: 0.98rem; line-height: 1.55; color: #cbd5e1; }
.label_negocio_entrar { margin-bottom: 0.4rem; font-size: 0.75rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; color: #a5b4fc; }
.div_campo_entrar { position: relative; display: flex; align-items: center; }
.i_campo_entrar { position: absolute; left: 1rem; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-style: normal; color: #818cf8; pointer-events: none; }
.i_campo_entrar::before { content: '\f54e'; }
.input_negocio_entrar { width: 100%; padding: 0.95rem 1rem 0.95rem 2.75rem; border-radius: 0.95rem; font: inherit; font-size: 1.05rem; font-weight: 700; color: #ffffff;
    background: rgba(15, 23, 42, 0.6); border: 1px solid rgba(129, 140, 248, 0.3); outline: none; transition: border-color 150ms ease, box-shadow 150ms ease; }
.input_negocio_entrar::placeholder { color: #64748b; font-weight: 600; }
.input_negocio_entrar:focus { border-color: #6366f1; box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.25); }
.p_error_entrar { min-height: 1.2rem; margin: 0.55rem 0 0.4rem; font-size: 0.85rem; font-weight: 700; line-height: 1.4; color: #fca5a5; }
.button_entrar { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; padding: 0.95rem 1.3rem; border-radius: 0.95rem; font: inherit; font-size: 1rem; font-weight: 900; color: #ffffff; cursor: pointer;
    background: linear-gradient(135deg, #3b82f6, #6366f1); border: 0; box-shadow: 0 14px 26px -12px #4f46e5; transition: transform 200ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 200ms ease, opacity 150ms ease; }
.button_entrar:hover { transform: translateY(-2px); box-shadow: 0 18px 30px -12px #4f46e5; }
.button_entrar:disabled { opacity: 0.7; cursor: wait; transform: none; }
.i_entrar, .i_web_entrar { font-family: 'Font Awesome 6 Free'; font-weight: 900; font-style: normal; }
.i_entrar::before { content: '\f2f6'; }
.i_web_entrar::before { content: '\f05a'; }
.p_ayuda_entrar { margin: 1rem 0 0.4rem; font-size: 0.82rem; line-height: 1.45; color: #94a3b8; }
.a_web_entrar { display: inline-flex; align-items: center; gap: 0.45rem; width: fit-content; font-size: 0.85rem; font-weight: 800; color: #a5b4fc; text-decoration: none; }
.a_web_entrar:hover { color: #c7d2fe; text-decoration: underline; }
.p_pie_entrar { margin: 0; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; color: #64748b; }

/* celular: dupi arriba (mas pequeño) y el formulario debajo */
@media (max-width: 720px) {
    .div_tarjeta_entrar { padding: 1.25rem 1.1rem 1.5rem; border-radius: 1.4rem; }
    .img_logo_entrar { height: 52px; }
    .div_cuerpo_entrar { grid-template-columns: 1fr; gap: 0.5rem; }
    .video_dupi_entrar { max-width: 180px; }
    .span_globo_entrar { font-size: 0.8rem; }
    .h1_entrar, .p_texto_entrar, .p_ayuda_entrar { text-align: center; }
    .a_web_entrar { align-self: center; }
}
@media (prefers-reduced-motion: reduce) { .span_brillo_entrar, .div_tarjeta_entrar, .span_globo_entrar { animation: none; } }

/* superadmin_entrar.html: tarjeta corta mientras abre el negocio del superadmin (control.dualpos.net -> sistema) */
.div_tarjeta_superadmin_entrar { max-width: 520px; text-align: center; }
