/* Shared sign-in page (merchant back office, Partner Portal, owner app): split screen like Clover —
   form on the left, B2B POS showcase on the right; the showcase hides on phones. */
.login-wrap * { box-sizing:border-box; }
.login-wrap { font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif; color:#101828; }
.login-wrap .lg-btn { color:#fff; font:600 16px inherit; cursor:pointer; display:flex; align-items:center; justify-content:center; }
.lg-err { color:#D92D20; min-height:1.3em; font-size:14px; margin:-6px 0 10px; }
.lg-check { display:flex; align-items:center; gap:8px; font-size:14px; color:#344054; margin:-4px 0 16px; cursor:pointer; }
.lg-check input { width:18px; height:18px; accent-color:#2563EB; margin:0; }
.lg-note { color:#667085; font-size:14px; margin:-12px 0 18px; }
.lg-back { display:block; margin:14px auto 0; background:none; border:0; color:#2563EB; font:600 14px inherit; cursor:pointer; }
.login-wrap .lang-seg { display:inline-flex; background:#F2F4F7; border-radius:9px; padding:3px; gap:2px; }
.login-wrap .lang-seg button { padding:5px 9px; border-radius:7px; font:600 13px inherit; color:#667085; background:none; border:0; cursor:pointer; }
.login-wrap .lang-seg button.on { background:#fff; color:#101828; box-shadow:0 1px 3px rgba(16,24,40,.12); }
/* Login: split screen like Clover — form on the left, B2B POS showcase on the right. */
.login-wrap { min-height:100vh; display:grid; grid-template-columns:minmax(380px, 35%) 1fr; background:#fff; }
.login-wrap[hidden] { display:none; }
.lg-form { display:flex; flex-direction:column; padding:28px 56px 20px; }
.lg-brand { display:flex; align-items:center; gap:10px; font-weight:800; font-size:20px; color:#0F172A; letter-spacing:-.01em; }
.lg-brand img { width:36px; height:36px; border-radius:9px; }
.lg-box { margin:auto 0; width:100%; max-width:520px; }
.lg-box h2 { font-size:34px; font-weight:800; letter-spacing:-.02em; margin:0 0 6px; color:#0F172A; }
.lg-box .sub { color:#667085; margin:0 0 28px; font-size:15px; }
.lg-field { display:block; margin-bottom:18px; }
.lg-field span { display:block; font-size:14px; font-weight:600; color:#344054; margin-bottom:6px; }
.lg-field input { width:100%; height:48px; border:1px solid #D0D5DD; border-radius:12px; padding:0 14px; font:inherit; font-size:16px; outline:none; transition:border-color .15s, box-shadow .15s; }
.lg-field input:focus { border-color:#2563EB; box-shadow:0 0 0 4px rgba(37,99,235,.15); }
.lg-pw { position:relative; } .lg-pw input { padding-right:48px; }
.lg-eye { position:absolute; right:6px; top:50%; transform:translateY(-50%); width:36px; height:36px; border:0; background:none; cursor:pointer; color:#475467; border-radius:8px; display:flex; align-items:center; justify-content:center; }
.lg-eye:hover { background:#F2F4F7; } .lg-eye svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.8; }
.login-wrap .lg-btn { width:100%; height:50px; border-radius:99px; font-size:16px; margin-top:6px; background:linear-gradient(135deg,#1D4ED8,#2563EB 55%,#3B82F6); border:0; }
.login-wrap .lg-btn:disabled { opacity:.7; }
.lg-help { margin-top:18px; color:#344054; font-size:15px; } .lg-help a { color:#2563EB; font-weight:600; text-decoration:none; }
.lg-foot { border-top:1px solid #EAECF0; padding-top:14px; display:flex; gap:20px; justify-content:center; font-size:13px; color:#667085; flex-wrap:wrap; }
.lg-foot a { color:#2563EB; text-decoration:none; }
.lg-show { position:relative; overflow:hidden; background:radial-gradient(1200px 600px at 85% -10%, #60A5FA 0%, transparent 55%), radial-gradient(900px 700px at -10% 110%, #0F7B6C 0%, transparent 55%), linear-gradient(140deg,#0B1B4D,#1D4ED8 60%,#2563EB); color:#fff; display:flex; flex-direction:column; padding:64px 64px 48px; }
.lg-show h3 { color:#fff; text-transform:none; font-size:40px; line-height:1.1; font-weight:800; letter-spacing:-.02em; margin:0 0 12px; max-width:560px; }
.lg-show p.lead { font-size:17px; opacity:.85; margin:0; max-width:520px; }
.lg-stage { position:relative; flex:1; margin-top:36px; min-height:380px; }
.lg-card { position:absolute; background:#fff; color:#14171C; border-radius:18px; box-shadow:0 30px 60px rgba(2,6,23,.35); }
.lg-reg { left:0; top:20px; width:64%; height:78%; display:grid; grid-template-columns:1fr 38%; overflow:hidden; }
.lg-reg .menu { padding:16px; display:grid; grid-template-columns:repeat(3,1fr); gap:10px; align-content:start; background:#F4F6F8; }
.lg-reg .menu i { display:block; aspect-ratio:1.15; border-radius:10px; background:#fff; position:relative; box-shadow:0 1px 2px rgba(0,0,0,.06); }
.lg-reg .menu i::before { content:''; position:absolute; left:8px; right:8px; top:8px; height:48%; border-radius:7px; background:var(--c,#FDE68A); }
.lg-reg .menu i::after { content:''; position:absolute; left:8px; bottom:10px; width:55%; height:7px; border-radius:4px; background:#D0D5DD; }
.lg-reg .cart { padding:16px 14px; border-left:1px solid #EAECF0; display:flex; flex-direction:column; gap:9px; font-size:12px; }
.lg-reg .cart b { font-size:13px; } .lg-row { display:flex; justify-content:space-between; color:#475467; }
.lg-reg .pay { margin-top:auto; background:#0F7B6C; color:#fff; border-radius:10px; text-align:center; padding:9px; font-weight:700; }
.lg-ticket { right:6%; top:0; width:26%; padding:14px 16px; font-family:ui-monospace,Menlo,monospace; font-size:12px; transform:rotate(3deg); }
.lg-ticket .t { background:#14171C; color:#fff; text-align:center; font-weight:800; border-radius:6px; padding:4px; margin-bottom:8px; }
.lg-ticket .g { font-weight:800; margin-top:6px; border-top:1px dashed #98A2B3; padding-top:6px; }
.lg-tables { right:2%; bottom:6%; width:36%; padding:16px; }
.lg-tables .grid { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin-top:10px; }
.lg-tables .grid span { aspect-ratio:1; border-radius:10px; border:2px solid #515D61; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:13px; }
.lg-tables .grid span.rd { border-radius:50%; } .lg-tables .grid span.bz { background:#E6F3FF; border-color:#3271AB; color:#3271AB; } .lg-tables .grid span.ov { background:#FFEDED; border-color:#E70000; color:#E70000; }
.lg-stat { left:40%; bottom:0; padding:14px 18px; display:flex; gap:12px; align-items:center; }
.lg-stat .ic { width:40px; height:40px; border-radius:12px; background:#ECFDF3; color:#039855; display:flex; align-items:center; justify-content:center; font-weight:900; }
.lg-stat small { color:#667085; display:block; font-size:12px; } .lg-stat b { font-size:20px; }
.lg-feats { display:flex; gap:10px; flex-wrap:wrap; margin-top:28px; }
.lg-feats span { background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.22); border-radius:99px; padding:7px 14px; font-size:13px; font-weight:600; backdrop-filter:blur(6px); }
@media (max-width:1100px) { .lg-show h3 { font-size:32px; } .lg-ticket { display:none; } }
@media (max-width:900px) { .login-wrap { grid-template-columns:1fr; } .lg-show { display:none; } .lg-form { padding:24px; } }


