/* Acceso de Admin, POS, Pedidos, Partners y Delivery: foto con degradado y logo de
   la marca a la izquierda, formulario en panel blanco a la derecha. Solo cambian la
   foto y los textos de cada superficie. En pantallas angostas la foto queda como
   franja arriba del formulario, con la misma medida que conectar.orientasis.com.mx. */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

.sf-lh{flex:1;display:flex;min-width:0;background:#fff;font-family:'Century Gothic',Poppins,'Segoe UI',system-ui,sans-serif}
.sf-lh-hero{flex:1 1 56%;min-width:0;position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;padding:36px;color:#fff;background:#181e31;font-family:'Century Gothic',Poppins,'Segoe UI',system-ui,sans-serif}
.sf-lh-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none}
.sf-lh-hero::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(24,30,49,0) 45%,rgba(24,30,49,.9) 100%),linear-gradient(155deg,rgba(24,30,49,.82) 0%,rgba(24,30,49,.42) 38%,rgba(11,122,108,.52) 72%,rgba(0,224,189,.36) 100%);pointer-events:none}
.sf-lh-brand,.sf-lh-copy{position:relative;z-index:1}
.sf-lh-brand{display:flex;align-items:center;gap:12px;font-weight:700;font-size:20px;color:#fff}
.sf-lh-logo{flex:0 0 auto;width:44px;height:44px;border-radius:50%;background:#fff;overflow:hidden;display:flex;align-items:center;justify-content:center}
.sf-lh-logo img{width:100%;height:100%;object-fit:cover;pointer-events:none}
.sf-lh-copy{max-width:460px}
.sf-lh-title{font-weight:700;font-size:clamp(30px,3.4vw,44px);line-height:1.06;letter-spacing:-.6px;color:#fff;text-wrap:balance}
.sf-lh-sub{margin-top:14px;font-size:15.5px;font-weight:500;line-height:1.5;color:#e4e8ef}
.sf-lh-sign{margin-top:20px;display:flex;align-items:center;gap:8px;font-size:12px;font-weight:600;color:#d6dbe6}
.sf-lh-sign img{width:22px;height:22px;border-radius:50%}
.sf-lh-sign strong{font-weight:700;color:#fff}

/* Dentro del panel blanco las variables pasan a colores claros: así también se
   ajustan recuperar contraseña y segundo paso, que usan esas mismas variables. */
.sf-lh-form{flex:1 1 44%;min-width:0;display:flex;overflow-y:auto;background:#fff;color:#181e31;font-family:'Century Gothic',Poppins,'Segoe UI',system-ui,sans-serif;--sf-glass-rgb:24,30,49;--sf-accent:#00e0bd;--sf-accent-3:#0b7a6c;--sf-danger:#b93a2b}
.sf-lh-form input::placeholder{color:#8b93a3}
.sf-lh-form input:focus{outline:none;border-color:#0b7a6c !important}
/* Pestañas del acceso («Iniciar sesión» / «Primera vez»): Órdenes/POS y el login central de la app. */
.sf-lh-tabs{display:flex;gap:4px;padding:4px;margin:0 0 22px;border-radius:13px;background:#eef1f5}
.sf-lh-tabs button{flex:1 1 0;min-width:0;height:42px;border:none;border-radius:10px;background:transparent;color:#5f6675;font-family:inherit;font-weight:700;font-size:14px;cursor:pointer;-webkit-tap-highlight-color:transparent}
.sf-lh-tabs button[aria-selected="true"]{background:#fff;color:#181e31;box-shadow:0 1px 3px rgba(24,30,49,.14)}
.sf-lh-tabs button:focus-visible{outline:2px solid #0b7a6c;outline-offset:1px}
/* «Protege tu cuenta» y los códigos de respaldo en el acceso. */
.sf-lh-opt{display:flex;align-items:center;gap:12px;width:100%;box-sizing:border-box;min-height:64px;padding:12px 14px;border-radius:14px;border:1.5px solid #cfd5df;background:#fff;color:#181e31;font-family:inherit;text-align:left;cursor:pointer}
.sf-lh-opt.sf-lh-opt-main{border-color:#00e0bd;background:rgba(0,224,189,.08)}
.sf-lh-opt[disabled]{opacity:.6;cursor:default}
.sf-lh-opt b{display:block;font-size:15px;font-weight:700}
.sf-lh-opt small{display:block;margin-top:2px;font-size:12.5px;font-weight:500;color:#5f6675;line-height:1.4}
.sf-lh-opt svg{flex:0 0 auto}
.sf-lh-codes{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.sf-lh-code{display:block;background:#f4f6f8;border:1px solid #e2e6ec;border-radius:9px;padding:9px 6px;text-align:center;font-family:ui-monospace,Menlo,monospace;font-weight:800;font-size:14px;letter-spacing:1px;color:#181e31}

@media (max-width:820px){
  .sf-lh{flex-direction:column}
  .sf-lh-hero{flex:0 0 auto;min-height:200px;gap:26px;padding:22px;padding-top:max(22px,env(safe-area-inset-top))}
  .sf-lh-title{font-size:25px;line-height:1.12}
  .sf-lh-sub,.sf-lh-sign{display:none}
  .sf-lh-form{flex:1 1 auto}
}

/* Delivery: durante el acceso se quita su marco tipo celular. La foto va en el aside
   de delivery/index.html en escritorio y como franja dentro de la app en angosto. */
.sf-lh-desk{display:none}
html:has(body.sf-lh-page){background:#fff}
body.sf-lh-page{background:#fff;--sf-glass-rgb:24,30,49;--sf-accent:#00e0bd;--sf-accent-3:#0b7a6c;--sf-danger:#b93a2b;font-family:'Century Gothic',Poppins,'Segoe UI',system-ui,sans-serif}
body.sf-lh-page #sf-app{width:100%;height:100%;border:none;border-radius:0;box-shadow:none;background:#fff;color:#181e31}
body.sf-lh-page .sf-h1{font-family:inherit;font-weight:700;color:#181e31}
body.sf-lh-page .sf-input{height:48px;background:#fff;border:1.5px solid #cfd5df;color:#181e31;font-size:15px}
body.sf-lh-page .sf-input::placeholder{color:#8b93a3}
body.sf-lh-page .sf-input:focus{outline:none;border-color:#0b7a6c}
body.sf-lh-page .sf-btn{font-family:inherit;border-radius:12px;font-weight:700;font-size:15px}
body.sf-lh-page .sf-btn-accent{background:#00e0bd;color:#0b1220}
body.sf-lh-page .sf-spin{border-color:rgba(11,18,32,.25);border-top-color:#0b1220}
@media (min-width:821px){
  body.sf-lh-page{display:flex;align-items:stretch;justify-content:flex-start}
  body.sf-lh-page .sf-lh-desk{display:flex}
  body.sf-lh-page #sf-app{flex:1 1 44%;width:auto;height:auto;min-height:100vh;min-height:100dvh}
  .sf-lh-band{display:none}
}
