/* ===== Login SaaS: neutral por defecto; toma el logo y los colores de la empresa al reconocer el correo ===== */
:root { --primary-color: #243b53; } /* color neutral de la plataforma */
body.login-saas { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); background: #f4f6fa; font-family: 'Inter', 'Segoe UI', system-ui, sans-serif; color: #1e293b; }
.ls-marca { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 56px 64px; color: #fff;
  background: linear-gradient(140deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-2) 100%); transition: background .6s ease; }
.ls-brillo { position: absolute; inset: auto -20% -35% auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .16), transparent 65%); pointer-events: none; }
.ls-marca::before { content: ''; position: absolute; left: -12%; top: -18%; width: 46%; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .05); }
.ls-centro { position: relative; z-index: 1; max-width: 460px; }
.ls-logo { display: flex; align-items: center; min-height: 92px; margin-bottom: 26px; }
.ls-empresa-logo { max-height: 92px; max-width: 280px; object-fit: contain; padding: 12px 18px; border-radius: 20px; background: #fff; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .5); }
.ls-monograma { width: 88px; height: 88px; display: grid; place-items: center; border-radius: 24px; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .35); font-size: 2.6rem; font-weight: 800; }
.ls-marca h1 { font-size: 2.2rem; letter-spacing: -.03em; margin: 0 0 12px; line-height: 1.15; }
.ls-marca p { line-height: 1.65; opacity: .85; max-width: 420px; margin: 0 0 22px; }
.ls-puntos { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-weight: 500; opacity: .92; }
.ls-pie { position: absolute; left: 64px; bottom: 26px; opacity: .6; }
.ls-marca.con-empresa .ls-puntos, .ls-marca.con-empresa .ls-pie { opacity: .0; pointer-events: none; }
.ls-marca.con-empresa .ls-puntos { display: none; }
.ls-marca.entra .ls-centro { animation: lsEntra .5s ease; }
@keyframes lsEntra { from { opacity: .2; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.login-saas .login-panel { display: flex; align-items: center; justify-content: center; padding: 32px; background: #fff; }
.login-saas .login-form { width: 100%; max-width: 380px; }
.login-saas .login-form h2 { font-size: 1.7rem; letter-spacing: -.02em; margin: 0 0 6px; }
.login-saas .login-form .sub { color: #64748b; margin-bottom: 26px; }
.login-saas .campo input { background: #fff; transition: border-color .15s, box-shadow .15s; }
.login-saas .campo input:focus { outline: none; border-color: var(--navy-2); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary-color) 18%, transparent); }
.login-saas .btn { background: var(--grad); box-shadow: 0 12px 24px -12px color-mix(in srgb, var(--primary-color) 80%, black); transition: transform .12s, filter .12s; }
.login-saas .btn:hover:not(:disabled) { filter: brightness(1.08); transform: translateY(-1px); }
.ls-detecta { display: block; min-height: 1.2em; margin-top: 6px; color: #64748b; }
.ls-detecta.ok { color: var(--navy-2); font-weight: 600; }
@media (max-width: 900px) { body.login-saas { grid-template-columns: minmax(0, 1fr); } .ls-marca { padding: 28px 24px; } .ls-marca h1 { font-size: 1.6rem; } .ls-marca p, .ls-puntos, .ls-pie { display: none; } .ls-logo { min-height: 0; margin-bottom: 12px; } }
