:root{
  --auth-primary:#ff720d;
  --auth-primary-2:#ff943d;
  --auth-primary-soft:rgba(255,114,13,.12);
  --auth-bg:#050b14;
  --auth-bg-2:#081426;
  --auth-surface:#0c1a2f;
  --auth-surface-2:#11213a;
  --auth-surface-3:#162942;
  --auth-border:#223653;
  --auth-border-soft:rgba(255,255,255,.08);
  --auth-text:#f8fafc;
  --auth-muted:#91a4be;
  --auth-muted-2:#6f829d;
  --auth-green:#21c889;
  --auth-blue:#60a5fa;
  --auth-red:#ef5962;
  --auth-shadow:0 34px 110px rgba(0,0,0,.42);
}

*{box-sizing:border-box}

html,body{
  margin:0;
  min-height:100%;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif
}

body.vm-auth-page{
  min-height:100vh;
  min-height:100dvh;
  color:var(--auth-text);
  overflow-x:hidden;
  background:
    radial-gradient(circle at 8% 8%,rgba(255,114,13,.15),transparent 23%),
    radial-gradient(circle at 94% 92%,rgba(37,99,235,.10),transparent 28%),
    linear-gradient(135deg,#040a12 0%,#071325 48%,#061022 100%);
  -webkit-font-smoothing:antialiased;
}

body.vm-auth-page::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  opacity:.26;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px);
  background-size:38px 38px;
  mask-image:linear-gradient(to bottom,rgba(0,0,0,.65),transparent 82%);
}

.vm-auth-shell{
  position:relative;
  z-index:1;
  width:min(1180px,calc(100% - 42px));
  min-height:min(700px,calc(100dvh - 48px));
  margin:24px auto;
  display:grid;
  grid-template-columns:minmax(0,.97fr) minmax(450px,1.03fr);
  overflow:hidden;
  border:1px solid var(--auth-border);
  border-radius:30px;
  background:rgba(8,20,38,.96);
  box-shadow:var(--auth-shadow);
}

.vm-auth-brand{
  position:relative;
  overflow:hidden;
  padding:38px 42px 34px;
  display:flex;
  flex-direction:column;
  color:#fff;
  isolation:isolate;
  background:
    radial-gradient(circle at 86% 7%,rgba(255,255,255,.18),transparent 31%),
    linear-gradient(155deg,#ff7300 0%,#f45d12 42%,#dd4b29 68%,#a93c92 118%);
}

.vm-auth-brand::before{
  content:"";
  position:absolute;
  width:460px;
  height:460px;
  right:-235px;
  top:-210px;
  z-index:-1;
  border-radius:50%;
  background:rgba(255,255,255,.09);
}

.vm-auth-brand::after{
  content:"";
  position:absolute;
  width:330px;
  height:330px;
  left:-180px;
  bottom:-210px;
  z-index:-1;
  border:1px solid rgba(255,255,255,.18);
  border-radius:50%;
}

.vm-auth-brand-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

.vm-auth-logo{
  min-width:0;
  display:inline-flex;
  align-items:center;
  gap:12px;
  color:#fff;
  text-decoration:none;
}

.vm-auth-logo:hover{color:#fff}

.vm-auth-logo-mark{
  width:46px;
  height:46px;
  flex:0 0 46px;
  display:grid;
  place-items:center;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.28);
  border-radius:15px;
  background:rgba(255,255,255,.13);
  box-shadow:inset 0 1px rgba(255,255,255,.18),0 8px 22px rgba(0,0,0,.10);
}

.vm-auth-logo-mark img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.vm-auth-logo-copy{
  min-width:0;
  display:flex;
  flex-direction:column;
}

.vm-auth-logo-copy strong{
  color:#fff;
  font-size:20px;
  line-height:1.1;
  font-weight:900;
  letter-spacing:-.035em;
}

.vm-auth-logo-copy small{
  margin-top:3px;
  color:rgba(255,255,255,.69);
  font-size:9px;
  font-weight:700;
  letter-spacing:.03em;
}

.vm-auth-live{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:7px 10px;
  border:1px solid rgba(255,255,255,.20);
  border-radius:999px;
  color:rgba(255,255,255,.84);
  background:rgba(255,255,255,.08);
  backdrop-filter:blur(8px);
  font-size:9px;
  font-weight:800;
  white-space:nowrap;
}

.vm-auth-live i{
  width:7px;
  height:7px;
  border-radius:50%;
  background:#8cf0c2;
  box-shadow:0 0 0 5px rgba(140,240,194,.10);
}

.vm-auth-brand-main{
  margin:auto 0;
  padding:38px 0 30px;
}

.vm-auth-kicker{
  display:inline-flex;
  align-items:center;
  gap:7px;
  margin-bottom:19px;
  padding:7px 11px;
  border:1px solid rgba(255,255,255,.22);
  border-radius:999px;
  background:rgba(255,255,255,.08);
  font-size:9px;
  font-weight:850;
  letter-spacing:.01em;
}

.vm-auth-brand h1{
  max-width:520px;
  margin:0;
  color:#fff;
  font-size:clamp(42px,4.75vw,67px);
  font-weight:900;
  line-height:.98;
  letter-spacing:-.065em;
}

.vm-auth-brand p{
  max-width:520px;
  margin:22px 0 0;
  color:rgba(255,255,255,.87);
  font-size:14px;
  line-height:1.72;
}

.vm-auth-benefits{
  margin-top:30px;
  display:grid;
  gap:10px;
}

.vm-auth-benefit{
  padding:12px 13px;
  display:grid;
  grid-template-columns:40px minmax(0,1fr);
  gap:12px;
  align-items:center;
  border:1px solid rgba(255,255,255,.16);
  border-radius:15px;
  background:rgba(255,255,255,.075);
  backdrop-filter:blur(10px);
  transition:transform .18s ease,background .18s ease,border-color .18s ease;
}

.vm-auth-benefit:hover{
  transform:translateX(2px);
  background:rgba(255,255,255,.10);
  border-color:rgba(255,255,255,.23);
}

.vm-auth-benefit-icon{
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  border-radius:12px;
  color:#fff;
  background:rgba(255,255,255,.13);
  font-size:16px;
}

.vm-auth-benefit-icon.orange{background:rgba(255,183,91,.22)}
.vm-auth-benefit-icon.blue{background:rgba(96,165,250,.22)}
.vm-auth-benefit-icon.green{background:rgba(52,211,153,.20)}

.vm-auth-benefit strong{
  display:block;
  color:#fff;
  font-size:11px;
  font-weight:850;
}

.vm-auth-benefit span:not(.vm-auth-benefit-icon){
  display:block;
  margin-top:3px;
  color:rgba(255,255,255,.70);
  font-size:9px;
  line-height:1.45;
}

.vm-auth-brand-foot{
  display:flex;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
  color:rgba(255,255,255,.68);
  font-size:9px;
  font-weight:700;
}

.vm-auth-brand-foot span{
  display:inline-flex;
  align-items:center;
  gap:5px;
}

.vm-auth-main{
  min-width:0;
  position:relative;
  padding:48px 58px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:
    radial-gradient(circle at 85% 12%,rgba(255,114,13,.04),transparent 28%),
    linear-gradient(180deg,#09182c 0%,#071426 100%);
}

.vm-auth-main::before{
  content:"";
  position:absolute;
  inset:22px;
  pointer-events:none;
  border:1px solid rgba(255,255,255,.025);
  border-radius:24px;
}

.vm-auth-form-wrap{
  width:100%;
  max-width:455px;
  position:relative;
  z-index:1;
}

.vm-auth-mobile-brand{
  display:none;
  margin-bottom:28px;
}

.vm-auth-access-chip{
  width:max-content;
  margin-bottom:12px;
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:7px 10px;
  border:1px solid rgba(255,114,13,.20);
  border-radius:999px;
  color:#ff984e;
  background:rgba(255,114,13,.075);
  font-size:9px;
  font-weight:850;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.vm-auth-title{
  margin:0;
  color:var(--auth-text);
  font-size:clamp(34px,3.5vw,48px);
  font-weight:900;
  letter-spacing:-.055em;
  line-height:1.02;
}

.vm-auth-subtitle{
  margin:13px 0 27px;
  color:var(--auth-muted);
  font-size:12px;
  line-height:1.65;
}

.vm-auth-alert{
  margin-bottom:15px;
  padding:12px 14px;
  display:none;
  align-items:flex-start;
  gap:8px;
  border-radius:12px;
  font-size:10px;
  font-weight:650;
  line-height:1.5;
}

.vm-auth-alert.show{display:block}

.vm-auth-alert.error{
  color:#ffc2c7;
  background:rgba(239,89,98,.11);
  border:1px solid rgba(239,89,98,.25);
}

.vm-auth-alert.success{
  color:#aaf1d2;
  background:rgba(33,200,137,.09);
  border:1px solid rgba(33,200,137,.20);
}

.vm-auth-alert.info{
  color:#c6dcff;
  background:rgba(96,165,250,.09);
  border:1px solid rgba(96,165,250,.19);
}

.vm-auth-field{margin:0}
.vm-auth-password-field{margin-top:14px}

.vm-auth-label{
  margin:0 0 7px 2px;
  display:flex;
  justify-content:space-between;
  gap:8px;
  color:#dfe8f5;
  font-size:9px;
  font-weight:800;
}

.vm-auth-control-wrap{position:relative}

.vm-auth-control-wrap.has-leading-icon .vm-auth-control{
  padding-left:43px;
}

.vm-auth-leading-icon{
  position:absolute;
  left:15px;
  top:50%;
  z-index:2;
  transform:translateY(-50%);
  color:#6f829d;
  font-size:14px;
  pointer-events:none;
}

.vm-auth-control{
  width:100%;
  min-height:52px;
  padding:0 14px;
  border:1px solid var(--auth-border);
  border-radius:14px;
  color:var(--auth-text);
  background:rgba(17,33,58,.92);
  outline:none;
  font:inherit;
  font-size:11px;
  font-weight:600;
  transition:border-color .16s ease,box-shadow .16s ease,background .16s ease;
}

.vm-auth-control::placeholder{color:#637894}

.vm-auth-control:focus{
  border-color:rgba(255,114,13,.80);
  background:#142640;
  box-shadow:0 0 0 4px rgba(255,114,13,.09),0 10px 24px rgba(0,0,0,.12);
}

.vm-auth-control.has-toggle{padding-right:48px}

.vm-auth-control-wrap:focus-within .vm-auth-leading-icon{
  color:#ff8f42;
}

.vm-auth-toggle{
  width:38px;
  height:38px;
  position:absolute;
  right:7px;
  top:50%;
  transform:translateY(-50%);
  display:grid;
  place-items:center;
  border:0;
  border-radius:10px;
  color:var(--auth-muted);
  background:transparent;
  cursor:pointer;
  transition:background .16s ease,color .16s ease;
}

.vm-auth-toggle:hover{
  color:#fff;
  background:rgba(255,255,255,.055);
}

.vm-auth-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin:15px 0 17px;
}

.vm-auth-check{
  display:flex;
  align-items:center;
  gap:8px;
  margin:0;
  color:var(--auth-muted);
  font-size:9px;
  font-weight:600;
  cursor:pointer;
}

.vm-auth-check input{
  width:16px;
  height:16px;
  margin:0;
  accent-color:var(--auth-primary);
}

.vm-auth-link{
  color:#ff9147;
  text-decoration:none;
  font-size:9px;
  font-weight:800;
  transition:color .16s ease;
}

.vm-auth-link:hover{color:#ffad72}

.vm-auth-submit{
  width:100%;
  min-height:52px;
  padding:0 17px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border:0;
  border-radius:14px;
  color:#fff;
  background:linear-gradient(135deg,#ff6b00 0%,#ff8424 100%);
  box-shadow:0 13px 30px rgba(255,107,0,.20);
  font:inherit;
  font-size:11px;
  font-weight:900;
  cursor:pointer;
  transition:transform .16s ease,box-shadow .16s ease,filter .16s ease;
}

.vm-auth-submit:hover{
  transform:translateY(-1px);
  filter:brightness(1.04);
  box-shadow:0 17px 38px rgba(255,107,0,.27);
}

.vm-auth-submit:active{transform:translateY(0)}

.vm-auth-submit:disabled{
  opacity:.68;
  cursor:wait;
  transform:none;
}

.vm-auth-submit .vm-auth-button-spinner{
  width:15px;
  height:15px;
  border:2px solid rgba(255,255,255,.35);
  border-top-color:#fff;
  border-radius:50%;
  animation:vm-auth-spin .7s linear infinite;
}

.vm-auth-secondary{
  margin-top:17px;
  text-align:center;
  color:var(--auth-muted);
  font-size:9px;
}

.vm-auth-secondary a{
  color:#ff9147;
  font-weight:850;
  text-decoration:none;
}

.vm-auth-secure{
  margin-top:19px;
  padding:12px 13px;
  display:grid;
  grid-template-columns:36px minmax(0,1fr);
  align-items:center;
  gap:11px;
  border:1px solid rgba(255,255,255,.045);
  border-radius:14px;
  color:#879bb6;
  background:rgba(255,255,255,.025);
}

.vm-auth-secure-icon{
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border-radius:11px;
  color:#4ee2a6;
  background:rgba(33,200,137,.08);
  font-size:15px;
}

.vm-auth-secure strong{
  display:block;
  margin-bottom:2px;
  color:#c5d1df;
  font-size:9px;
}

.vm-auth-secure div>span{
  display:block;
  font-size:8px;
  line-height:1.5;
}

.vm-auth-version{
  margin-top:15px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  color:#536983;
  font-size:8px;
  font-weight:700;
}

.vm-auth-version i{
  width:3px;
  height:3px;
  border-radius:50%;
  background:#536983;
}

.vm-auth-create-link{
  padding:7px 10px;
  border:1px solid var(--auth-border);
  border-radius:10px;
  background:rgba(255,255,255,.025);
}

@keyframes vm-auth-spin{to{transform:rotate(360deg)}}

@media(max-width:1040px){
  .vm-auth-shell,
  .vm-auth-shell.login{
    width:min(650px,calc(100% - 28px));
    min-height:auto;
    margin:18px auto;
    display:block;
  }

  .vm-auth-brand{display:none}

  .vm-auth-main{
    min-height:calc(100dvh - 36px);
    padding:36px 30px;
    align-items:center;
  }

  .vm-auth-main::before{display:none}

  .vm-auth-mobile-brand{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
  }

  .vm-auth-mobile-brand .vm-auth-logo-mark{
    width:40px;
    height:40px;
    flex-basis:40px;
  }

  .vm-auth-mobile-brand .vm-auth-logo-copy strong{font-size:16px}
}

@media(max-width:620px){
  body.vm-auth-page{
    background:linear-gradient(180deg,#071426,#050d19);
  }

  .vm-auth-shell,
  .vm-auth-shell.login{
    width:100%;
    min-height:100dvh;
    margin:0;
    border:0;
    border-radius:0;
    box-shadow:none;
  }

  .vm-auth-main{
    min-height:100dvh;
    padding:25px 20px 30px;
  }

  .vm-auth-form-wrap{max-width:100%}

  .vm-auth-mobile-brand{margin-bottom:40px}

  .vm-auth-access-chip{margin-bottom:13px}

  .vm-auth-title{font-size:34px}

  .vm-auth-subtitle{
    margin-top:10px;
    margin-bottom:25px;
    font-size:11px;
  }

  .vm-auth-control{min-height:54px}

  .vm-auth-submit{min-height:54px}

  .vm-auth-secure{margin-top:18px}
}

@media(max-width:390px){
  .vm-auth-main{padding:22px 15px 26px}

  .vm-auth-row{
    align-items:flex-start;
    flex-direction:column;
    gap:10px;
  }

  .vm-auth-mobile-brand .vm-auth-logo-copy small{display:none}
}

@media(prefers-reduced-motion:reduce){
  *{scroll-behavior:auto!important}
  .vm-auth-submit,
  .vm-auth-benefit{transition:none}
}
