:root{
  --login-primary:#2257d7;
  --login-primary-dark:#173a9c;
  --login-cyan:#08a8c3;
  --login-text:#182238;
  --login-muted:#718096;
  --login-line:#dfe6f1;
}
*{box-sizing:border-box}
html,body{min-height:100%;margin:0}
body.mco-login-v4{
  min-height:100vh;
  display:grid;
  place-items:center;
  padding:28px;
  background:
    radial-gradient(circle at 8% 12%,rgba(34,87,215,.18),transparent 25rem),
    radial-gradient(circle at 92% 88%,rgba(8,168,195,.14),transparent 24rem),
    #eef3f9;
  font-family:Inter,"Segoe UI",system-ui,sans-serif;
  color:var(--login-text);
}
.mco-auth-shell{
  width:min(1180px,100%);
  min-height:680px;
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(390px,.72fr);
  border:1px solid rgba(255,255,255,.7);
  border-radius:30px;
  background:#fff;
  box-shadow:0 35px 100px rgba(19,35,68,.18);
  overflow:hidden;
}
.mco-auth-visual{
  min-height:680px;
  padding:42px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  position:relative;
  overflow:hidden;
  color:#fff;
  background:
    linear-gradient(145deg,rgba(12,30,80,.20),rgba(7,24,75,.58)),
    linear-gradient(135deg,#1a42aa 0%,#2861d9 56%,#08a8c3 125%);
}
.mco-auth-visual::before,
.mco-auth-visual::after{
  content:"";
  position:absolute;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.14);
}
.mco-auth-visual::before{width:420px;height:420px;right:-150px;top:-130px;box-shadow:0 0 0 55px rgba(255,255,255,.035),0 0 0 115px rgba(255,255,255,.025)}
.mco-auth-visual::after{width:260px;height:260px;left:-120px;bottom:-105px;box-shadow:0 0 0 45px rgba(255,255,255,.035)}
.mco-auth-brand{position:relative;z-index:1;display:flex;align-items:center;gap:13px}
.mco-auth-brand-mark{width:49px;height:49px;display:grid;place-items:center;border-radius:15px;background:#fff;overflow:hidden;box-shadow:0 14px 32px rgba(0,0,0,.20)}
.mco-auth-brand-mark img{width:100%;height:100%;object-fit:cover}
.mco-auth-brand strong{display:block;font-size:1.02rem;letter-spacing:.05em}
.mco-auth-brand span{display:block;margin-top:4px;color:rgba(255,255,255,.58);font-size:.67rem;font-weight:800;text-transform:uppercase;letter-spacing:.12em}
.mco-auth-story{position:relative;z-index:1;max-width:640px}
.mco-auth-eyebrow{display:flex;align-items:center;gap:9px;color:rgba(255,255,255,.66);font-size:.69rem;font-weight:900;letter-spacing:.13em;text-transform:uppercase}
.mco-auth-eyebrow::before{content:"";width:28px;height:2px;background:#74ecf6;border-radius:99px}
.mco-auth-story h1{margin:15px 0 13px;color:#fff;font-size:3.15rem;line-height:1.04;font-weight:950;letter-spacing:-.055em}
.mco-auth-story p{margin:0;max-width:560px;color:rgba(255,255,255,.72);font-size:1rem;line-height:1.72}
.mco-auth-stats{position:relative;z-index:1;display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.mco-auth-stat{padding:15px;border:1px solid rgba(255,255,255,.14);border-radius:14px;background:rgba(255,255,255,.08);backdrop-filter:blur(10px)}
.mco-auth-stat strong{display:block;font-size:.88rem}
.mco-auth-stat span{display:block;margin-top:5px;color:rgba(255,255,255,.56);font-size:.67rem}
.mco-auth-panel{padding:54px 48px;display:flex;flex-direction:column;justify-content:center;background:#fff}
.mco-auth-panel-top{margin-bottom:31px}
.mco-auth-panel-top span{display:inline-flex;align-items:center;gap:7px;padding:6px 9px;border-radius:999px;background:#eef3ff;color:var(--login-primary);font-size:.67rem;font-weight:900;letter-spacing:.06em;text-transform:uppercase}
.mco-auth-panel-top span::before{content:"";width:7px;height:7px;border-radius:50%;background:#21bd7b;box-shadow:0 0 0 4px rgba(33,189,123,.12)}
.mco-auth-panel h2{margin:15px 0 7px;font-size:2rem;font-weight:950;letter-spacing:-.04em}
.mco-auth-panel p{margin:0;color:var(--login-muted);font-size:.88rem;line-height:1.55}
.mco-auth-alert{margin-bottom:18px;padding:12px 13px;border:1px solid;border-radius:11px;font-size:.77rem;font-weight:700}
.mco-auth-alert.danger{border-color:#ffd4da;background:#fff2f4;color:#b82b3d}
.mco-auth-alert.warning{border-color:#ffe1a6;background:#fff8e9;color:#9e6811}
.mco-field{margin-bottom:17px}
.mco-field label{display:block;margin-bottom:7px;color:#344158;font-size:.75rem;font-weight:850}
.mco-input-wrap{height:51px;display:flex;align-items:center;gap:10px;padding:0 14px;border:1px solid var(--login-line);border-radius:12px;background:#fbfcfe;transition:.16s ease}
.mco-input-wrap:focus-within{border-color:var(--login-primary);background:#fff;box-shadow:0 0 0 4px rgba(34,87,215,.10)}
.mco-input-wrap svg{width:18px;color:#8a97aa}
.mco-input-wrap input{flex:1;min-width:0;border:0;outline:0;background:transparent;color:var(--login-text);font-size:.86rem;font-weight:680}
.mco-password-toggle{border:0;background:transparent;color:#8190a5;cursor:pointer;padding:5px}
.mco-auth-options{margin:-2px 0 20px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:.73rem}
.mco-auth-options label{display:flex;align-items:center;gap:7px;color:#69778c;font-weight:700}
.mco-auth-options a{color:var(--login-primary);font-weight:820;text-decoration:none}
.mco-auth-submit{width:100%;min-height:51px;border:0;border-radius:12px;background:linear-gradient(135deg,var(--login-primary),var(--login-primary-dark));color:#fff;font-size:.86rem;font-weight:900;box-shadow:0 14px 30px rgba(34,87,215,.24);cursor:pointer;transition:.16s ease}
.mco-auth-submit:hover{transform:translateY(-1px);box-shadow:0 18px 36px rgba(34,87,215,.30)}
.mco-auth-note{margin-top:24px;padding-top:20px;border-top:1px solid var(--login-line);display:flex;align-items:center;gap:9px;color:#8290a3;font-size:.69rem;line-height:1.45}
.mco-auth-note svg{width:18px;min-width:18px;color:#4b68a7}
.shake{animation:mcoShake .35s ease}
@keyframes mcoShake{20%,60%{transform:translateX(-6px)}40%,80%{transform:translateX(6px)}}
@media(max-width:900px){
  body.mco-login-v4{padding:16px}
  .mco-auth-shell{grid-template-columns:1fr;min-height:auto;border-radius:22px}
  .mco-auth-visual{min-height:330px;padding:30px}
  .mco-auth-story h1{font-size:2.25rem}
  .mco-auth-stats{display:none}
  .mco-auth-panel{padding:38px 30px}
}
@media(max-width:520px){
  body.mco-login-v4{padding:0;background:#fff}
  .mco-auth-shell{border:0;border-radius:0;box-shadow:none}
  .mco-auth-visual{min-height:280px;padding:24px}
  .mco-auth-story h1{font-size:1.9rem}
  .mco-auth-panel{padding:32px 23px}
}
