:root{--auth-orange:#ff6000;--auth-orange-2:#ff7a1a;--auth-text:#1f2937;--auth-muted:#667085;--auth-line:#e4e7ec;--auth-soft:#f8fafc;--auth-danger:#c62828;--auth-success:#16794f}
*{box-sizing:border-box}.auth-body{margin:0;min-height:100vh;color:var(--auth-text);font-family:Inter,Arial,Helvetica,sans-serif;background:radial-gradient(circle at 12% 10%,#fff4ea 0,transparent 31%),linear-gradient(135deg,#f8fafc,#fff);display:grid;place-items:center;padding:28px 16px}.auth-shell{width:min(100%,460px);margin:auto;padding:28px;background:#fff;border:1px solid #eef0f3;border-radius:22px;box-shadow:0 24px 70px rgba(17,24,39,.10);position:relative}.auth-brand{min-height:58px;display:flex;align-items:center;justify-content:center;margin:0 0 18px}.auth-brand .brand-logo{display:inline-flex;align-items:center;justify-content:center;gap:8px;max-width:230px}.auth-brand .brand-logo img{display:block;max-width:205px;max-height:min(var(--brand-logo-size,48px),48px);width:auto;height:auto;object-fit:contain}.auth-brand .brand-logo strong{font-size:min(var(--brand-text-size,30px),30px);line-height:1;font-weight:800;letter-spacing:-1px;white-space:nowrap}.auth-brand .brand-mark{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;font-weight:900;background:linear-gradient(135deg,var(--auth-orange),var(--auth-orange-2));color:#fff;font-size:14px}.auth-title{font-size:24px;line-height:1.2;margin:0 0 7px;font-weight:850;letter-spacing:-.45px;text-align:center}.auth-subtitle{font-size:13px;line-height:1.55;color:var(--auth-muted);text-align:center;margin:0 0 22px}.auth-form{display:grid;gap:12px}.auth-field{position:relative}.auth-field input{width:100%;height:50px;border:1px solid var(--auth-line);border-radius:11px;padding:12px 14px;font-size:14px;font-weight:600;outline:none;background:#fff;color:#344054;transition:border-color .18s,box-shadow .18s}.auth-field input:focus{border-color:#ff9a57;box-shadow:0 0 0 4px rgba(255,96,0,.09)}.auth-field input[readonly]{background:#f9fafb;color:#667085}.auth-field.floating label{position:absolute;left:12px;top:-7px;background:#fff;padding:0 5px;color:#7a8290;font-size:10px;font-weight:800;z-index:1}.auth-edit,.auth-eye{position:absolute;right:11px;top:11px;width:28px;height:28px;border:0;background:transparent;font-size:17px;color:#8a94a4;cursor:pointer;padding:0}.auth-btn{min-height:46px;border-radius:11px;border:0;background:linear-gradient(135deg,var(--auth-orange),#ff7a00);color:#fff;font-size:14px;font-weight:850;cursor:pointer;box-shadow:0 8px 18px rgba(255,96,0,.18);text-decoration:none;display:grid;place-items:center;padding:0 16px;transition:transform .16s,box-shadow .16s}.auth-btn:hover{transform:translateY(-1px);box-shadow:0 10px 22px rgba(255,96,0,.22)}.auth-btn.outline{background:#fff;color:var(--auth-orange);border:1.4px solid #ff9f64;box-shadow:none}.auth-btn.ghost{background:#f9fafb;color:#344054;border:1px solid var(--auth-line);box-shadow:none}.auth-btn:disabled{background:#d0d5dd;color:#f8fafc;cursor:not-allowed;box-shadow:none;transform:none}.auth-social{min-height:48px;border:1px solid var(--auth-line);border-radius:11px;background:#fff;font-size:13px;font-weight:750;display:flex;align-items:center;justify-content:center;gap:11px;color:#475467}.auth-social[disabled]{opacity:.6;cursor:not-allowed}.auth-social .google{font-size:21px;font-weight:900;color:#4285f4;line-height:1}.auth-social .facebook{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#1877f2;color:#fff;font-size:17px}.auth-or{display:flex;align-items:center;justify-content:center;gap:10px;color:#98a2b3;font-size:11px;font-weight:750;margin:2px 0}.auth-or:before,.auth-or:after{content:"";flex:1;height:1px;background:#eaecf0}.auth-error,.auth-success{padding:11px 12px;border-radius:10px;font-size:12px;line-height:1.45;font-weight:650}.auth-error{border:1px solid #f0b8b8;background:#fff4f4;color:#a52222}.auth-success{border:1px solid #a8dcc4;background:#f0fff7;color:#1c6948}.auth-gender-title{font-size:12px;font-weight:800;color:#667085;margin:3px 0 6px}.auth-gender{display:grid;grid-template-columns:1fr 1fr;gap:8px}.auth-gender input{position:absolute;opacity:0;pointer-events:none}.auth-gender label{height:42px;border-radius:9px;background:#f8fafc;display:grid;place-items:center;font-size:12px;font-weight:800;color:#667085;border:1.5px solid #eaecf0;cursor:pointer}.auth-gender input:checked+label{border-color:var(--auth-orange);color:var(--auth-orange);background:#fff7f2}.auth-required-group{border:0;padding:0;margin:0;min-width:0}.auth-gender-title span,.auth-required-check strong{color:#d92929}.auth-inline-error{display:none;margin-top:5px;color:#c62828;font-size:10.5px;font-weight:750;line-height:1.3}.auth-field.is-invalid input{border-color:#d92929;background:#fff7f7;box-shadow:0 0 0 3px rgba(217,41,41,.07)}.auth-gender-group.is-invalid{padding:8px;border:1.5px solid #d92929;border-radius:10px;background:#fff8f8}.auth-required-check{display:grid;grid-template-columns:23px 1fr;align-items:start;gap:8px;position:relative;padding:8px;border:1.5px solid transparent;border-radius:9px;color:#667085;font-size:11px;line-height:1.42}.auth-check{display:grid;grid-template-columns:23px 1fr;align-items:start;gap:8px;color:#667085;font-size:11px;line-height:1.42;padding:5px 8px}.auth-check a{color:#344054;text-decoration:underline}.auth-check input{appearance:none;width:19px;height:19px;border:1.8px solid #98a2b3;border-radius:5px;margin:0;background:#fff;cursor:pointer}.auth-check input:checked{background:var(--auth-orange);border-color:var(--auth-orange);box-shadow:inset 0 0 0 3px #fff}.auth-required-check.is-invalid{border-color:#d92929;background:#fff7f7;color:#a52222}.is-invalid>.auth-inline-error,.auth-required-check.is-invalid .auth-inline-error{display:block}.consent-section{margin-top:4px;padding-top:4px;border-top:1px solid #f2f4f7}.consent-title{font-weight:850;font-size:13px;margin:11px 0 6px}.auth-optional-note{font-size:11px;color:#98a2b3;margin:0 8px 6px}.auth-hint{text-align:center;color:#667085;font-size:11px;line-height:1.45}.auth-hint a{color:var(--auth-orange);font-weight:800;text-decoration:none}.auth-security{display:flex;justify-content:center;gap:15px;flex-wrap:wrap;margin-top:18px;color:#98a2b3;font-size:10.5px}.auth-security span:before{content:"✓";color:#16a36a;font-weight:900;margin-right:4px}.auth-back{display:inline-flex;align-items:center;gap:5px;color:#667085;text-decoration:none;font-size:12px;font-weight:750;margin-top:14px}.auth-progress{height:5px;background:#f2f4f7;border-radius:10px;overflow:hidden;margin:-3px 0 8px}.auth-progress span{display:block;height:100%;width:0;background:linear-gradient(90deg,#ff8a38,#ff6000);transition:width .2s}.auth-meta{text-align:center;color:#98a2b3;font-size:10.5px;margin-top:12px}
@media(max-width:560px){.auth-body{padding:0;background:#fff;display:block}.auth-shell{width:100%;min-height:100vh;border:0;border-radius:0;box-shadow:none;padding:24px 18px 34px}.auth-brand{margin-bottom:14px}.auth-title{font-size:20px}.auth-subtitle{margin-bottom:18px}.auth-field input{height:48px}.auth-btn{min-height:45px}}
@media(max-width:390px){.auth-shell{padding:21px 15px 28px}.auth-title{font-size:19px}.auth-check,.auth-required-check{font-size:10.5px;padding-left:5px;padding-right:5px}}

/* SORFPANEL v1.2 Mobile Full UI — authentication pass */
@media(max-width:560px){
  .auth-body{background:#f5f6f8!important;min-height:100dvh!important}
  .auth-shell{min-height:100dvh!important;padding:calc(18px + env(safe-area-inset-top,0px)) 14px calc(24px + env(safe-area-inset-bottom,0px))!important;background:#f5f6f8!important}
  .auth-brand{min-height:42px!important;margin:0 0 11px!important;justify-content:flex-start!important}
  .auth-brand .brand-logo{max-width:180px!important;justify-content:flex-start!important}
  .auth-brand .brand-logo img{max-width:155px!important;max-height:32px!important}
  .auth-brand .brand-logo strong{font-size:22px!important}
  .auth-title{font-size:20px!important;line-height:1.2!important;margin:0 0 5px!important;color:#20242a!important}
  .auth-subtitle{font-size:11px!important;line-height:1.48!important;margin:0 0 13px!important;color:#707680!important}
  .auth-form{gap:9px!important;padding:12px!important;border:1px solid #e7e9ed!important;border-radius:13px!important;background:#fff!important}
  .auth-field input{height:45px!important;border-radius:10px!important;padding:10px 12px!important;font-size:12px!important;background:#fff!important}
  .auth-field.floating label{left:10px!important;font-size:9px!important}
  .auth-edit,.auth-eye{top:9px!important;right:9px!important;width:27px!important;height:27px!important;font-size:15px!important}
  .auth-btn{min-height:43px!important;border-radius:10px!important;font-size:12px!important;box-shadow:none!important}
  .auth-social{min-height:43px!important;border-radius:10px!important;font-size:11.5px!important}
  .auth-or{font-size:9.5px!important;margin:0!important}
  .auth-error,.auth-success{border-radius:10px!important;font-size:10.5px!important;padding:9px 10px!important;margin-bottom:8px!important}
  .auth-gender-title{font-size:10.5px!important;margin:1px 0 5px!important}
  .auth-gender{gap:6px!important}
  .auth-gender label{height:38px!important;border-radius:9px!important;font-size:10.5px!important}
  .consent-section{margin-top:2px!important;padding-top:2px!important}
  .consent-title{font-size:11px!important;margin:9px 0 4px!important}
  .auth-check,.auth-required-check{grid-template-columns:20px minmax(0,1fr)!important;gap:7px!important;font-size:9.5px!important;line-height:1.38!important;padding:5px 4px!important}
  .auth-check input{width:17px!important;height:17px!important;border-radius:5px!important}
  .auth-optional-note{font-size:9.5px!important;margin:0 4px 4px!important}
  .auth-hint{font-size:9.5px!important;margin:1px 0!important}
  .auth-security{gap:9px!important;margin-top:10px!important;font-size:8.5px!important}
  .auth-back{margin-top:10px!important;font-size:10.5px!important}
  .auth-progress{margin:-2px 0 6px!important}
}
@media(max-width:380px){
  .auth-shell{padding-left:10px!important;padding-right:10px!important}
  .auth-form{padding:10px!important}
  .auth-title{font-size:18px!important}
  .auth-check,.auth-required-check{font-size:9px!important}
}
