
.mx-auth-shell{
  --mx-blue:#1677ff;--mx-blue2:#0d5fe8;--mx-navy:#122033;--mx-text:#172033;
  --mx-muted:#697586;--mx-border:#e4e8ef;--mx-green:#16a34a;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  max-width:560px;margin:30px auto;padding:0 14px;color:var(--mx-text);
}
.mx-auth-card{background:#fff;border:1px solid #e7ebf0;border-radius:22px;box-shadow:0 20px 55px rgba(15,23,42,.10);overflow:hidden}
.mx-tabs{display:grid;grid-template-columns:1fr 1fr;background:#f8fafc;border-bottom:1px solid var(--mx-border)}
.mx-tab{appearance:none;border:0;background:transparent;padding:18px 10px;color:#263246;font-size:15px;font-weight:800;cursor:pointer;letter-spacing:.2px}
.mx-tab.active{color:#fff;background:linear-gradient(135deg,var(--mx-blue),var(--mx-blue2))}
.mx-panel{padding:34px 36px 4px}
.mx-hero{text-align:center;margin:2px 0 28px}
.mx-icon-circle{width:66px;height:66px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 14px;background:linear-gradient(135deg,#eef6ff,#e5efff);font-size:30px}
.mx-hero h2{margin:0 0 8px;font-family:Georgia,"Times New Roman",serif;font-size:31px;line-height:1.15;color:#101827;font-weight:700}
.mx-hero p{margin:0;color:var(--mx-muted);font-size:15px;line-height:1.5}
.mx-methods{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 26px}
.mx-method{min-height:72px;border:1.5px solid #dbe2eb;border-radius:13px;background:#fff;color:#263246;cursor:pointer;padding:12px 10px;font-size:14px;line-height:1.35;font-weight:700}
.mx-method.active{border-color:#2d83f4;background:#f5f9ff;color:#1456b8;box-shadow:0 0 0 3px rgba(45,131,244,.08)}
.mx-form label{display:block;font-size:14px;font-weight:750;margin:0 0 8px;color:#263246}
.mx-form input{width:100%;box-sizing:border-box;appearance:none;border:1px solid #d7dde6;border-radius:10px;background:#fff;color:#172033;padding:14px 15px;font-size:15px;outline:none;margin:0 0 17px;transition:border-color .18s,box-shadow .18s}
.mx-form input:focus{border-color:#3287f6;box-shadow:0 0 0 3px rgba(50,135,246,.12)}
.mx-form input:disabled{background:#f4f6f8;color:#667085;cursor:not-allowed}
.mx-primary{width:100%;border:0;border-radius:11px;padding:15px 16px;background:linear-gradient(135deg,#1178ff,#285eea);color:#fff;font-size:15px;font-weight:850;letter-spacing:.1px;cursor:pointer;box-shadow:0 8px 18px rgba(22,119,255,.16);transition:transform .18s,box-shadow .18s,opacity .18s}
.mx-primary:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 11px 23px rgba(22,119,255,.22)}
.mx-primary:disabled,.mx-secondary:disabled,.mx-small:disabled{opacity:.55;cursor:not-allowed;transform:none}
.mx-secondary,.mx-small{border:0;border-radius:9px;background:#2580ef;color:#fff;font-weight:800;cursor:pointer}
.mx-secondary{padding:11px 15px;font-size:12px}
.mx-small{height:44px;padding:0 16px;font-size:12px}
.mx-verify-start{display:flex;align-items:center;gap:10px;margin:-3px 0 16px;min-height:38px}
.mx-verified{font-size:12px;color:#15803d;background:#ecfdf3;border:1px solid #b7efca;border-radius:999px;padding:7px 11px;font-weight:750}
.mx-verify-row{display:grid;grid-template-columns:1fr auto;gap:9px;margin-top:-1px}
.mx-verification-step{margin:-1px 0 20px;padding:14px 0 4px;border-top:1px solid #edf0f4}
.mx-verification-step .mx-verify-row{margin-top:0}
.mx-verification-step .mx-resend-row{justify-content:center;margin:7px 0 4px;text-align:center;position:relative}
.mx-verification-step .mx-resend-row .mx-link{position:absolute;right:0}
.mx-verification-step .mx-resend-row span{display:block;width:100%;font-size:12px}
.mx-verification-step .mx-resend-row b{color:#172033}
.mx-verification-step[hidden]{display:none!important}

.mx-verify-row input{margin-bottom:9px}
.mx-verify-row button{margin-bottom:9px}
.mx-resend-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:2px 0 16px;color:#687587;font-size:13px}
.mx-link{border:0;background:none;color:#1c66cf;font-size:13px;font-weight:800;padding:0;cursor:pointer}
.mx-link:disabled{color:#aab4c2;cursor:not-allowed}
.mx-otp-box{margin-top:16px;border:1px solid #e2e7ee;border-radius:14px;background:#f8fafc;padding:17px}
.mx-otp-title{font-size:14px;font-weight:850;margin-bottom:5px}
.mx-otp-to{font-size:12px;color:#6b7280;margin-bottom:10px;word-break:break-word}
.mx-otp-input{font-size:20px!important;letter-spacing:6px;text-align:center;font-weight:750}
.mx-hint,.mx-password-note{font-size:12px;color:#7a8494;text-align:center;margin:9px 0 19px;line-height:1.5}
.mx-password-box{margin-top:0}
.mx-security{margin:18px 0 16px;padding:14px 12px;border:1px solid #e7ebf0;border-radius:12px;background:#fbfcfe}
.mx-security-title{font-size:12px;font-weight:800;color:#526173;margin-bottom:8px}
.mx-turnstile{min-height:0;display:flex;justify-content:center;overflow:hidden}
.mx-turnstile iframe{max-width:100%}
.mx-msg{min-height:20px;margin:12px 0 18px;font-size:13px;color:#b42318;line-height:1.45}
.mx-msg.ok{color:#15803d}
.mx-security-footer{display:flex;justify-content:space-around;gap:8px;border-top:1px solid #edf0f4;background:#fbfdff;padding:17px 8px;color:#657184;font-size:11px;font-weight:750}
.mx-register-form .mx-verify-start{margin-bottom:15px}
.mx-register-form .mx-verified-input{border-color:#9ed8af!important;background:#f7fff9!important}
@media(max-width:560px){
  .mx-auth-shell{margin:16px auto;padding:0 9px}
  .mx-auth-card{border-radius:18px}
  .mx-panel{padding:28px 20px 3px}
  .mx-hero h2{font-size:27px}
  .mx-methods{gap:8px}
  .mx-method{font-size:13px}
  .mx-security-footer{font-size:10px}
}
@media(max-width:390px){
  .mx-panel{padding-left:16px;padding-right:16px}
  .mx-methods{grid-template-columns:1fr}
}
.mx-login-otp-security{margin:18px 0 14px}
.mx-password-security{margin:18px 0 14px}
.mx-register-form{position:relative}

.mx-otp-box .mx-resend-row{justify-content:center;position:relative;text-align:center}
.mx-otp-box .mx-resend-row .mx-link{position:absolute;right:0}
.mx-otp-box .mx-security{background:#fbfcfe}
.mx-security[hidden]{display:none!important}

.mx-forgot-password{margin:8px 0 14px;text-align:right;font-size:14px}.mx-forgot-password a{color:#1769e0;text-decoration:none;font-weight:600}.mx-forgot-password a:hover{text-decoration:underline}

.mx-turnstile{min-height:65px;display:flex;align-items:center;justify-content:center;overflow:visible;margin:2px 0 4px}
.mx-turnstile iframe{display:block!important;max-width:100%!important}
.mx-ts-error{font-size:12px;line-height:1.4;color:#b42318;text-align:center;padding:8px 4px}
