/* SwiftXpress split-screen portal login/register pages — shared styles */
*{box-sizing:border-box;margin:0;padding:0}
html,body{min-height:100%}
body{font-family:'Inter',system-ui,-apple-system,Segoe UI,Roboto,sans-serif;background:#fff;color:#0f172a;-webkit-font-smoothing:antialiased}
button{font:inherit;cursor:pointer;border:0;background:none;color:inherit}
a{color:inherit}
.hidden{display:none!important}
.sx-wrap{display:grid;grid-template-columns:min(50vw,75vh) 1fr;min-height:100vh}
.sx-hero{position:relative;background:#111;overflow:hidden}
.sx-hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.sx-main{display:flex;align-items:center;justify-content:center;padding:36px 28px;background:#fff;overflow-y:auto}
.sx-card{width:100%;max-width:470px}
.sx-brand{text-align:center;margin-bottom:34px}
.sx-logo{font-family:'Montserrat',sans-serif;font-weight:900;font-style:italic;font-size:46px;letter-spacing:-1.5px;line-height:1;color:#0b0b0b}
.sx-logo b{color:#FF5500;font-weight:900}
.sx-portal{margin-top:6px;font-size:22px;font-weight:600;color:#6b7a99}
.sx-eyebrow{font-size:13px;font-weight:700;letter-spacing:.09em;color:#51607f;text-transform:uppercase}
.sx-h1{font-size:34px;font-weight:800;letter-spacing:-.6px;line-height:1.15;margin:6px 0 10px;color:#0f172a}
.sx-sub{font-size:16px;line-height:1.5;color:#7a89a8;margin-bottom:26px}
.sx-lbl{display:block;font-size:15px;font-weight:700;margin:0 0 8px;color:#0f172a}
.sx-field{position:relative;margin-bottom:20px}
.sx-field .ic{position:absolute;left:16px;top:50%;transform:translateY(-50%);color:#51607f;width:20px;height:20px;pointer-events:none}
.sx-field input,.sx-field select{width:100%;height:54px;border:1.5px solid #dbe3ef;border-radius:10px;padding:0 16px 0 48px;font:inherit;font-size:15px;color:#0f172a;background:#fff;transition:border-color .15s,box-shadow .15s;appearance:none}
.sx-field select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2351607f' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center}
.sx-field input::placeholder{color:#9aa7c0}
.sx-field input:focus,.sx-field select:focus{outline:0;border-color:#FF5500;box-shadow:0 0 0 4px rgba(255,85,0,.12)}
.sx-eye{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:40px;height:40px;display:flex;align-items:center;justify-content:center;color:#51607f}
.sx-eye svg{width:20px;height:20px}
.sx-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-4px 0 22px;font-size:15px}
.sx-check{display:flex;align-items:center;gap:10px;cursor:pointer;color:#2b3752}
.sx-check input{width:20px;height:20px;accent-color:#FF5500;border-radius:4px}
.sx-link{color:#FF5500;font-weight:600;text-decoration:underline;text-underline-offset:2px}
.sx-btn{width:100%;height:56px;border-radius:10px;background:linear-gradient(180deg,#FF6A12,#FF5500);color:#fff;font-size:18px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:10px;box-shadow:0 8px 20px rgba(255,85,0,.25);transition:transform .1s,filter .15s}
.sx-btn:hover{filter:brightness(1.05)}
.sx-btn:active{transform:translateY(1px)}
.sx-btn:disabled{opacity:.7;cursor:not-allowed}
.sx-btn svg{width:20px;height:20px}
.sx-spin{width:18px;height:18px;border:2.5px solid rgba(255,255,255,.4);border-top-color:#fff;border-radius:50%;animation:sxs .7s linear infinite;display:none}
@keyframes sxs{to{transform:rotate(360deg)}}
.sx-switch{text-align:center;margin-top:26px;font-size:15px;color:#2b3752}
.sx-secure{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:30px;font-size:13px;color:#8392b0}
.sx-secure svg{width:18px;height:18px}
.sx-err{display:none;align-items:flex-start;gap:10px;background:#fef2f1;border:1px solid #fbc9c5;color:#b42318;border-radius:10px;padding:12px 14px;font-size:14px;font-weight:500;margin-bottom:18px;line-height:1.4}
.sx-err.show{display:flex}
.sx-err a{color:#b42318;font-weight:700}
.sx-ok{background:#ecfdf3;border:1px solid #b7ebcb;color:#067647;border-radius:12px;padding:20px;text-align:center;line-height:1.55}
.sx-ok h2{font-size:22px;margin-bottom:8px;color:#067647}
.sx-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.sx-hint{font-size:13px;color:#7a89a8;margin:-12px 0 20px}
/* mobile: photo panel is hidden, the form takes the whole screen */
@media(max-width:900px){
  .sx-wrap{grid-template-columns:1fr}
  .sx-hero{display:none}
  .sx-main{align-items:flex-start;padding:30px 20px 40px}
  .sx-logo{font-size:40px}.sx-h1{font-size:28px}.sx-portal{font-size:19px}.sx-brand{margin-bottom:26px}
}
@media(max-width:480px){.sx-two{grid-template-columns:1fr;gap:0}.sx-row{font-size:14px}}
/* forgot-password + unlock dialogs */
.fp-ov{position:fixed;inset:0;background:rgba(15,23,42,.55);display:none;align-items:center;justify-content:center;z-index:999;padding:16px}
.fp-ov.show{display:flex}
.fp-box{background:#fff;border-radius:16px;padding:28px;width:100%;max-width:400px;box-shadow:0 24px 60px rgba(0,0,0,.3)}
.fp-title{font-size:20px;font-weight:800;margin-bottom:6px}
.fp-sub{font-size:14px;color:#6b7a99;margin-bottom:16px;line-height:1.5}
.fp-input{width:100%;height:48px;border:1.5px solid #dbe3ef;border-radius:10px;padding:0 14px;font:inherit;font-size:15px;margin-bottom:12px}
.fp-input:focus{outline:0;border-color:#FF5500}
.fp-btns{display:flex;gap:8px;justify-content:flex-end;margin-top:4px}
.fp-cancel{padding:10px 16px;border-radius:10px;font-size:14px;font-weight:600;color:#51607f}
.fp-cancel:hover{background:#f1f5f9}
.fp-submit{padding:11px 18px;border-radius:10px;font-size:14px;font-weight:700;color:#fff;background:#FF5500;display:flex;align-items:center;gap:6px}
.fp-submit:disabled{opacity:.6}
.fp-note{font-size:13px;font-weight:600;border-radius:10px;padding:10px 12px;margin-bottom:12px;display:none}
.fp-note.ok{display:block;background:#ecfdf3;color:#067647}
.fp-note.err{display:block;background:#fef2f1;color:#b42318}
