:root{--ink:#172033;--muted:#667085;--line:#dbe2ea;--brand:#4f46e5;--brand-deep:#312e81;--brand-soft:#eef2ff;--danger:#b42318;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}*{box-sizing:border-box}body{min-height:100vh;margin:0;color:var(--ink);background:#f6f8fb;-webkit-font-smoothing:antialiased}button,input{font:inherit}.auth-layout{min-height:100vh;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(440px,.92fr)}.brand-panel{position:relative;overflow:hidden;display:flex;align-items:center;padding:clamp(2rem,6vw,6rem);color:#fff;background:radial-gradient(circle at 76% 14%,#7787f8 0,transparent 27%),linear-gradient(136deg,#181747,#3732a1 53%,#4f46e5)}.brand-content{position:relative;z-index:1;width:min(100%,570px)}.brand-orb{position:absolute;border:1px solid rgba(255,255,255,.14);border-radius:50%;pointer-events:none}.brand-orb-one{width:520px;height:520px;right:-220px;bottom:-250px;box-shadow:0 0 0 44px rgba(255,255,255,.035),0 0 0 88px rgba(255,255,255,.025)}.brand-orb-two{width:240px;height:240px;top:-100px;right:13%}.brand-lockup{display:inline-flex;align-items:center;gap:.7rem;color:#fff;font-size:1.05rem;font-weight:750;text-decoration:none;letter-spacing:-.02em}.brand-mark{display:grid;width:36px;height:36px;place-items:center;border-radius:11px;background:#fff;color:var(--brand);box-shadow:0 8px 18px rgba(16,12,89,.22)}svg{width:1em;height:1em;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.brand-mark svg{width:22px;height:22px}.brand-copy{margin-top:clamp(4.5rem,12vh,9rem)}.eyebrow{margin:0;color:var(--brand);font-size:.7rem;line-height:1.3;font-weight:800;letter-spacing:.13em}.brand-copy .eyebrow{color:#c7d2fe}.brand-copy h2{max-width:510px;margin:.85rem 0 1.1rem;font-size:clamp(2.35rem,4.2vw,4.35rem);line-height:1.04;letter-spacing:-.055em}.brand-copy>p:not(.eyebrow){max-width:470px;margin:0;color:#e0e7ff;font-size:1.08rem;line-height:1.65}.brand-features{display:grid;gap:1rem;margin-top:2.6rem}.feature{display:flex;align-items:center;gap:.8rem;color:#eef2ff;font-size:.96rem}.feature-icon{display:grid;width:28px;height:28px;flex:0 0 28px;place-items:center;border:1px solid rgba(255,255,255,.22);border-radius:8px;background:rgba(255,255,255,.1)}.feature-icon svg{width:16px}.brand-proof{display:flex;align-items:center;gap:1rem;margin-top:3.5rem;color:#dfe5ff;font-size:.78rem;line-height:1.55}.brand-proof p{margin:0}.brand-proof strong{color:#fff;font-size:.84rem}.avatar-stack{display:flex;padding-left:.45rem}.avatar-stack span{display:grid;width:31px;height:31px;margin-left:-.45rem;place-items:center;border:2px solid #504bbb;border-radius:50%;background:#fbbf24;color:#3a2b05;font-size:.58rem;font-weight:800}.avatar-stack span:nth-child(2){background:#a5b4fc;color:#252263}.avatar-stack span:nth-child(3){background:#f9a8d4;color:#66123d}.auth-card-wrap{display:flex;align-items:center;justify-content:center;padding:2rem;background:linear-gradient(145deg,#fff,#f8faff)}.auth-card{width:min(100%,440px)}.auth-header{margin-bottom:2rem}.auth-header h1{margin:.55rem 0 .65rem;font-size:clamp(1.8rem,3vw,2.25rem);line-height:1.14;letter-spacing:-.04em}.hint{margin:0;color:var(--muted);font-size:.94rem;line-height:1.55}.field-group+.field-group{margin-top:1.25rem}label{display:block;color:#344054;font-size:.86rem;font-weight:700}.label-row{display:flex;align-items:center;justify-content:space-between;gap:1rem}.link{color:var(--brand);text-decoration:none;font-weight:700}.inline-link{font-size:.79rem}.link:hover{color:var(--brand-deep);text-decoration:underline}.input-shell{position:relative;margin-top:.5rem}.input{width:100%;height:52px;padding:0 2.85rem 0 2.75rem;border:1px solid var(--line);border-radius:11px;outline:none;color:var(--ink);background:#fff;font-size:.94rem;transition:border-color .18s,box-shadow .18s}.input::placeholder{color:#98a2b3}.input:hover{border-color:#b9c4d1}.input:focus{border-color:var(--brand);box-shadow:0 0 0 4px rgba(79,70,229,.13)}.input-icon{position:absolute;z-index:1;top:50%;left:.95rem;width:18px;height:18px;transform:translateY(-50%);color:#7b8494;pointer-events:none}.password-toggle{position:absolute;top:50%;right:.6rem;display:grid;width:34px;height:34px;padding:0;place-items:center;transform:translateY(-50%);border:0;border-radius:7px;color:#667085;background:transparent;cursor:pointer}.password-toggle:hover{color:var(--brand);background:var(--brand-soft)}.password-toggle:focus-visible{outline:3px solid rgba(79,70,229,.2)}.password-toggle svg{width:18px}.eye-closed{display:none}.password-toggle[aria-pressed="true"] .eye-open{display:none}.password-toggle[aria-pressed="true"] .eye-closed{display:block}.button{position:relative;display:flex;width:100%;height:52px;align-items:center;justify-content:center;gap:.6rem;margin-top:1.7rem;border:0;border-radius:11px;color:#fff;background:linear-gradient(112deg,#4f46e5,#6259ed);box-shadow:0 9px 17px rgba(79,70,229,.23);font-weight:750;cursor:pointer;transition:transform .18s,box-shadow .18s,opacity .18s}.button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 12px 22px rgba(79,70,229,.32)}.button:focus-visible{outline:3px solid rgba(79,70,229,.28);outline-offset:3px}.button:disabled{cursor:wait;opacity:.82}.button-arrow{position:absolute;right:1rem;width:18px}.button-spinner{display:none;width:17px;height:17px;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;border-radius:50%;animation:spin .65s linear infinite}.button.is-loading .button-label,.button.is-loading .button-arrow{display:none}.button.is-loading .button-spinner{display:block}.message{display:none;margin-top:1rem;padding:.7rem .8rem;border:1px solid #fecdca;border-radius:9px;color:var(--danger);background:#fffbfa;font-size:.84rem;line-height:1.4}.message.is-visible{display:block;animation:message-in .2s ease-out both}.auth-alternative{display:flex;align-items:center;gap:.75rem;margin:1.7rem 0 1rem;color:#98a2b3;font-size:.78rem}.auth-alternative span{height:1px;flex:1;background:#e4e7ec}.auth-alternative p{margin:0}.otp-option{display:flex;height:47px;align-items:center;justify-content:center;gap:.55rem;border:1px solid var(--line);border-radius:10px;color:#344054;background:#fff;text-decoration:none;font-size:.88rem;font-weight:700;transition:border-color .18s,background .18s}.otp-option:hover{border-color:#b4b8ff;background:#f8f8ff}.otp-option svg{width:18px;color:var(--brand)}.security-note{display:flex;align-items:center;justify-content:center;gap:.35rem;margin:1.25rem 0 0;color:#98a2b3;font-size:.72rem}.security-note svg{width:14px}.fade-in{animation:fade-in .55s cubic-bezier(.2,.8,.2,1) both}.auth-card.fade-in{animation-delay:.1s}@keyframes fade-in{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes message-in{from{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:none}}@media(max-width:820px){.auth-layout{grid-template-columns:1fr}.brand-panel{min-height:auto;padding:2rem 1.5rem}.brand-copy{margin-top:2.75rem}.brand-copy h2{max-width:470px;font-size:clamp(2.1rem,10vw,3rem)}.brand-features{grid-template-columns:1fr 1fr;margin-top:2rem}.feature:last-child{grid-column:1/-1}.brand-proof{display:none}.auth-card-wrap{min-height:auto;padding:2.5rem 1.5rem 3rem}}@media(max-width:480px){.brand-panel{padding:1.5rem}.brand-copy{margin-top:2.2rem}.brand-features{display:none}.auth-card-wrap{padding:2.25rem 1.25rem 2.5rem}.auth-header{margin-bottom:1.65rem}.auth-header h1{font-size:1.8rem}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}
/* ---- Customer login tabs ---- */
.auth-tabs{display:flex;gap:6px;margin-bottom:20px;padding:4px;border-radius:12px;background:#f2f4f7}
.auth-tabs button{flex:1;padding:11px;border:0;border-radius:9px;background:transparent;color:#667085;font-size:13.5px;font-weight:750;cursor:pointer;min-height:44px;font-family:inherit}
.auth-tabs button.active{background:#fff;color:#172033;box-shadow:0 2px 8px rgba(23,32,51,.10)}
.otp-row{display:flex;gap:10px;align-items:flex-end}
.otp-row .field-group{flex:1;margin-bottom:0}
.link-button{border:0;background:none;color:#4f46e5;font-size:12.5px;font-weight:750;cursor:pointer;padding:10px 4px;min-height:44px}
.cooldown-note{font-size:12px;color:#98a2b3;margin-top:8px;min-height:18px}
