
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;background:#06111a}
body.avz-login-page{
  margin:0;
  min-height:100dvh;
  padding:
    max(18px,env(safe-area-inset-top))
    max(18px,env(safe-area-inset-right))
    max(18px,env(safe-area-inset-bottom))
    max(18px,env(safe-area-inset-left));
  display:grid;
  place-items:center;
  color:#f4f7f9;
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  background:
    radial-gradient(circle at 10% 90%,rgba(65,198,139,.15),transparent 28%),
    radial-gradient(circle at 88% 8%,rgba(57,135,177,.10),transparent 26%),
    #06111a;
}
button,input{font:inherit}
button,a{-webkit-tap-highlight-color:transparent}
.hidden{display:none!important}

.login-shell{
  width:min(1480px,96vw);
  min-height:min(760px,92dvh);
  display:grid;
  grid-template-columns:minmax(0,1.48fr) minmax(390px,.92fr);
  overflow:hidden;
  border:1px solid rgba(111,193,218,.56);
  border-radius:34px;
  background:#0b1c2a;
  box-shadow:0 28px 90px rgba(0,0,0,.36);
}

.login-hero{
  position:relative;
  min-width:0;
  padding:52px 50px 56px;
  overflow:hidden;
  background:
    linear-gradient(to bottom,rgba(7,24,39,.20) 0%,rgba(7,24,39,.44) 52%,rgba(6,20,32,.78) 100%),
    url("/static/login-mountains.jpg?v=0.4.11") center bottom/cover no-repeat;
}
.login-hero::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(90deg,rgba(5,16,27,.05),rgba(5,16,27,.14));
}

.brand-panel,.hero-copy{position:relative;z-index:1}
.brand-panel{
  width:100%;
  min-height:126px;
  display:grid;
  grid-template-columns:1fr 2px 1fr;
  gap:26px;
  align-items:center;
  padding:18px 34px;
  border-radius:22px;
  background:linear-gradient(180deg,#f7f8f9,#eef1f3);
  box-shadow:0 12px 34px rgba(0,0,0,.16);
}
.brand-slot{
  min-width:0;
  display:grid;
  place-items:center;
}
.brand-slot img{
  display:block;
  max-width:100%;
  object-fit:contain;
}
.brand-avz img{width:min(285px,100%);max-height:90px}
.brand-summetra img{width:min(290px,100%);max-height:94px}
.brand-divider{
  width:2px;
  height:76px;
  border-radius:3px;
  background:#55d05a;
  justify-self:center;
}

.hero-copy{
  margin-top:52px;
  max-width:900px;
  text-shadow:0 2px 16px rgba(0,0,0,.25);
}
.hero-copy h1{
  margin:0;
  font-size:clamp(3rem,4.5vw,5rem);
  line-height:.98;
  letter-spacing:-.045em;
  font-weight:850;
}
.hero-by{
  margin-top:13px;
  color:#70df94;
  font-size:clamp(1.35rem,2vw,2rem);
  font-weight:800;
}
.hero-copy p{
  margin:25px 0 0;
  max-width:850px;
  color:#e2ebf1;
  font-size:clamp(1.05rem,1.35vw,1.42rem);
  line-height:1.52;
}
.hero-copy p+p{margin-top:7px}

.login-panel{
  position:relative;
  padding:86px 58px 64px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  border-left:1px solid rgba(119,164,188,.22);
  background:
    linear-gradient(160deg,rgba(12,31,47,.98),rgba(7,20,31,.99));
}
.welcome{
  display:grid;
  grid-template-columns:92px 1fr;
  gap:24px;
  align-items:center;
  margin-bottom:43px;
}
.welcome-logo{
  width:92px;height:92px;
  display:grid;place-items:center;
  padding:12px;
  border-radius:18px;
  background:#f4f6f7;
  box-shadow:0 12px 28px rgba(0,0,0,.20);
}
.welcome-logo img{max-width:100%;max-height:100%;object-fit:contain}
.welcome h2{
  margin:0;
  font-size:clamp(2rem,2.5vw,3rem);
  line-height:1.05;
  letter-spacing:-.035em;
}
.welcome p{
  margin:14px 0 0;
  color:#9fb2c2;
  font-size:1.08rem;
  line-height:1.45;
}

.login-form{display:grid;gap:12px}
.login-form label{
  margin-top:7px;
  font-size:.98rem;
  font-weight:760;
}
.field{
  min-height:62px;
  display:grid;
  grid-template-columns:46px 1fr;
  align-items:center;
  border:1px solid #344a5e;
  border-radius:14px;
  background:#081522;
  transition:border-color .16s ease,box-shadow .16s ease;
}
.field:focus-within{
  border-color:#6ddaaa;
  box-shadow:0 0 0 3px rgba(83,211,164,.12);
}
.field-icon{width:22px;height:22px;justify-self:center;opacity:.78}
.user-icon{
  border:2px solid #8fa9bc;
  border-radius:50%;
  width:14px;height:14px;
  position:relative;
  margin-top:-8px;
}
.user-icon::after{
  content:"";
  position:absolute;
  left:-5px;top:14px;
  width:20px;height:11px;
  border:2px solid #8fa9bc;
  border-bottom:0;
  border-radius:12px 12px 0 0;
}
.lock-icon{
  position:relative;
  width:18px;height:16px;
  border:2px solid #8fa9bc;
  border-radius:3px;
}
.lock-icon::before{
  content:"";
  position:absolute;
  left:2px;top:-11px;
  width:10px;height:10px;
  border:2px solid #8fa9bc;
  border-bottom:0;
  border-radius:8px 8px 0 0;
}
.field input{
  width:100%;
  min-width:0;
  height:60px;
  padding:0 18px 0 4px;
  border:0;
  outline:0;
  background:transparent;
  color:#f4f8fb;
  font-size:16px;
}
.login-submit{
  width:100%;
  min-height:60px;
  margin-top:14px;
  border:0;
  border-radius:14px;
  cursor:pointer;
  background:linear-gradient(90deg,#72ddb1,#8add51);
  color:#07130e;
  font-size:1.08rem;
  font-weight:850;
  transition:transform .12s ease,filter .12s ease;
}
.login-submit:hover{filter:brightness(1.035)}
.login-submit:active{transform:translateY(1px)}
.login-forgot{
  justify-self:end;
  min-height:44px;
  display:grid;
  place-items:center;
  color:#a9d7fa;
  text-decoration:none;
  font-weight:750;
}
.login-message{
  margin:4px 0 0;
  padding:10px 12px;
  border-radius:10px;
  font-size:.88rem;
  line-height:1.4;
}
.login-message.error{
  color:#ffd6d6;
  border:1px solid rgba(255,120,120,.22);
  background:rgba(119,30,36,.42);
}
.login-message.success{
  color:#ddf7e7;
  border:1px solid rgba(104,226,163,.2);
  background:rgba(28,101,67,.38);
}

@media(max-width:1050px){
  .login-shell{
    width:min(760px,96vw);
    grid-template-columns:1fr;
    min-height:auto;
    border-radius:28px;
  }
  .login-hero{padding:30px 28px 34px;min-height:530px}
  .brand-panel{min-height:104px;padding:15px 24px;gap:18px}
  .brand-divider{height:62px}
  .brand-avz img{max-height:73px}
  .brand-summetra img{max-height:76px}
  .hero-copy{margin-top:34px}
  .hero-copy h1{font-size:clamp(2.6rem,7vw,4rem)}
  .login-panel{
    border-left:0;
    border-top:1px solid rgba(119,164,188,.22);
    padding:38px 34px max(34px,env(safe-area-inset-bottom));
  }
  .welcome{margin-bottom:28px}
}
@media(max-width:620px){
  body.avz-login-page{
    padding:
      max(10px,env(safe-area-inset-top))
      max(10px,env(safe-area-inset-right))
      max(10px,env(safe-area-inset-bottom))
      max(10px,env(safe-area-inset-left));
    place-items:start center;
  }
  .login-shell{width:100%;border-radius:22px}
  .login-hero{padding:18px 16px 24px;min-height:445px}
  .brand-panel{
    grid-template-columns:1fr 1px 1fr;
    gap:10px;
    min-height:88px;
    padding:12px 13px;
    border-radius:16px;
  }
  .brand-divider{height:50px}
  .brand-avz img{max-height:56px}
  .brand-summetra img{max-height:58px}
  .hero-copy{margin-top:28px}
  .hero-copy h1{font-size:clamp(2.15rem,10.5vw,3rem)}
  .hero-by{font-size:1.3rem;margin-top:9px}
  .hero-copy p{font-size:1rem;margin-top:21px}
  .hero-copy p+p{margin-top:6px}
  .login-panel{padding:26px 18px max(22px,env(safe-area-inset-bottom))}
  .welcome{grid-template-columns:66px 1fr;gap:16px;margin-bottom:24px}
  .welcome-logo{width:66px;height:66px;padding:9px;border-radius:14px}
  .welcome h2{font-size:1.65rem}
  .welcome p{font-size:.96rem;margin-top:8px}
  .field{min-height:56px}
  .field input{height:54px}
  .login-submit{min-height:56px}
}
