:root{--auth-bg:#15192b;--auth-surface:#23273b;--auth-surface-2:#1d2235;--auth-border:#39415f;--auth-text:#f5f7ff;--auth-muted:#9eabc8;--auth-primary:#3978f6;--auth-primary-rgb:57,120,246}
*{box-sizing:border-box}html,body{min-height:100%;margin:0}body.rs-auth{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--auth-bg);color:var(--auth-text);-webkit-font-smoothing:antialiased}
.rs-auth-shell{min-height:100vh;display:grid;grid-template-columns:minmax(0,1.12fr) minmax(400px,.88fr)}
.rs-auth-visual{position:relative;overflow:hidden;padding:58px clamp(36px,5vw,76px);display:flex;flex-direction:column;justify-content:space-between;background:linear-gradient(145deg,rgba(15,32,63,.98),rgba(37,55,94,.92));border-right:1px solid var(--auth-border)}
.rs-auth-visual:before{content:none}
.rs-auth-brand{position:relative;display:flex;align-items:center;gap:13px;font-size:1.32rem;font-weight:800}.rs-auth-brand-icon{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;background:rgba(57,120,246,.22);color:#79a8ff;font-size:1.8rem}
.rs-auth-copy{position:relative;max-width:610px}.rs-auth-copy h1{margin:0 0 18px;font-size:clamp(2.2rem,4vw,4rem);line-height:1.04;font-weight:850;letter-spacing:-.045em}.rs-auth-copy p{margin:0;color:#bfcae3;font-size:1.06rem;line-height:1.75;max-width:560px}
.rs-auth-features{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:30px}.rs-auth-feature{display:flex;align-items:center;gap:10px;padding:13px 15px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.055);border-radius:12px;color:#e1e9fb;font-size:.87rem}.rs-auth-feature i{font-size:1.25rem;color:#79a8ff}
.rs-auth-foot{position:relative;color:#8292b5;font-size:.78rem}
.rs-auth-panel{display:grid;place-items:center;padding:32px;background:linear-gradient(180deg,#181d31,#15192b)}
.rs-auth-card{width:min(470px,100%);background:var(--auth-surface);border:1px solid var(--auth-border);border-radius:20px;padding:34px;box-shadow:0 28px 70px rgba(0,0,0,.35)}
.rs-auth-card-brand{display:flex;align-items:center;gap:12px;margin-bottom:25px}.rs-auth-card-brand .icon{width:46px;height:46px;border-radius:13px;display:grid;place-items:center;background:rgba(var(--auth-primary-rgb),.16);color:#74a3ff;font-size:1.55rem}.rs-auth-card-brand strong{display:block;font-size:1.05rem}.rs-auth-card-brand small{display:block;color:var(--auth-muted);margin-top:2px}
.rs-auth-card h2{margin:0 0 7px;font-size:1.75rem;letter-spacing:-.025em}.rs-auth-card>p{margin:0 0 26px;color:var(--auth-muted);line-height:1.55}
.rs-auth-field{margin-bottom:17px}.rs-auth-field label{display:block;margin-bottom:7px;font-weight:700;font-size:.82rem}.rs-auth-input-group{display:flex;align-items:center;border:1px solid var(--auth-border);background:var(--auth-surface-2);border-radius:11px;overflow:hidden;transition:.16s ease}.rs-auth-input-group:focus-within{border-color:var(--auth-primary);box-shadow:0 0 0 3px rgba(var(--auth-primary-rgb),.16)}.rs-auth-input-group>i{width:48px;text-align:center;color:#73a2ff;font-size:1.2rem}.rs-auth-input{width:100%;height:49px;border:0;outline:0;background:transparent;color:#fff;padding:0 14px 0 0;font:inherit}.rs-auth-input::placeholder{color:#747d99}.rs-auth-toggle{width:48px;height:49px;border:0;background:transparent;color:#93a3c6;font-size:1.15rem;cursor:pointer}.rs-auth-toggle:hover{color:#fff}
.rs-auth-remember{display:flex;align-items:center;gap:9px;margin:5px 0 20px;color:var(--auth-muted);font-size:.84rem}.rs-auth-remember input{accent-color:var(--auth-primary)}
.rs-auth-alert{display:flex;gap:9px;padding:12px 14px;border-radius:10px;margin-bottom:18px;background:rgba(239,68,68,.12);border:1px solid rgba(239,68,68,.35);color:#ff9b9b;font-size:.84rem}
.rs-auth-submit{width:100%;height:49px;border:0;border-radius:11px;background:linear-gradient(135deg,#3978f6,#2465dc);color:#fff;font:700 .94rem Inter,sans-serif;display:flex;align-items:center;justify-content:center;gap:9px;cursor:pointer;box-shadow:0 10px 24px rgba(var(--auth-primary-rgb),.28);transition:.16s ease}.rs-auth-submit:hover{filter:brightness(1.08);transform:translateY(-1px)}
.rs-auth-links{display:flex;justify-content:center;gap:18px;flex-wrap:wrap;margin-top:22px}.rs-auth-links a{color:#8db5ff;text-decoration:none;font-size:.84rem}.rs-auth-links a:hover{color:#fff}.rs-auth-version{text-align:center;margin-top:18px;color:#76819f;font-size:.74rem}
@media(max-width:960px){.rs-auth-shell{grid-template-columns:1fr}.rs-auth-visual{display:none}.rs-auth-panel{padding:18px}.rs-auth-card{padding:26px}}.rs-auth-input-group:focus-within{
  border-color:#3478f6;
  box-shadow:0 0 0 3px rgba(52,120,246,.16);
}
.rs-auth-input-group>i{
  flex:0 0 46px;
  width:46px;
  height:48px;
  display:grid;
  place-items:center;
  color:#3478f6;
  background:#1e2133;
  border-right:1px solid #3b405d;
  font-size:1.15rem;
}
.rs-auth-input{
  min-width:0;
  height:48px;
  padding:0 14px;
  background:#1e2133!important;
  color:#fff!important;
  caret-color:#fff;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  -webkit-text-fill-color:#fff!important;
}
.rs-auth-input::placeholder{
  color:#717996!important;
  -webkit-text-fill-color:#717996!important;
  opacity:1;
}
.rs-auth-toggle{
  flex:0 0 46px;
  width:46px;
  height:48px;
  display:grid;
  place-items:center;
  background:#1e2133;
  border:0;
  border-left:1px solid #3b405d;
  border-radius:0;
  color:#93a3c6;
}
.rs-auth-toggle:hover,
.rs-auth-toggle:focus-visible{
  color:#fff;
  background:#252a40;
  outline:0;
}
/* Evita el fondo blanco/azulado que Chrome aplica a credenciales guardadas. */
.rs-auth-input:-webkit-autofill,
.rs-auth-input:-webkit-autofill:hover,
.rs-auth-input:-webkit-autofill:focus,
.rs-auth-input:-webkit-autofill:active{
  -webkit-text-fill-color:#fff!important;
  caret-color:#fff!important;
  -webkit-box-shadow:0 0 0 1000px #1e2133 inset!important;
  box-shadow:0 0 0 1000px #1e2133 inset!important;
  border:0!important;
  transition:background-color 9999s ease-out 0s;
}
.rs-auth-input:-moz-autofill{
  background:#1e2133!important;
  color:#fff!important;
}.rs-auth-field label{display:block;margin-bottom:7px;font-size:.82rem;font-weight:700;color:var(--auth-text)}
.rs-auth-input-group{min-height:50px;display:flex;align-items:center;overflow:hidden;border:1px solid var(--auth-border);border-radius:11px;background:#1e2133;transition:border-color .16s ease,box-shadow .16s ease}
.rs-auth-input-group:focus-within{border-color:var(--auth-primary);box-shadow:0 0 0 3px rgba(var(--auth-primary-rgb),.16)}
.rs-auth-input-group>i{width:46px;flex:0 0 46px;text-align:center;color:var(--auth-primary);font-size:1.15rem}
.rs-auth-input{width:100%;height:48px;border:0!important;outline:0!important;background:transparent!important;color:#fff!important;padding:0 14px 0 0!important;font:inherit;box-shadow:none!important}
.rs-auth-input::placeholder{color:#717996}
.rs-auth-toggle{width:46px;height:48px;flex:0 0 46px;border:0;background:transparent;color:var(--auth-muted);display:grid;place-items:center;font-size:1.15rem;cursor:pointer}
.rs-auth-toggle:hover{color:var(--auth-primary)}
