*{box-sizing:border-box}
:root{
  --blue:#1f4aa8;
  --blue2:#183f8f;
  --text:#3d3c40;
  --muted:#6f6f73;
  --border:#d7d9dc;
  --bg:#ffffff;
  --link:#1c58d9;
}

html,body{
  margin:0;
  width:100%;
  min-height:100%;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  color:var(--text);
  background:#fff;
}

body{
  min-height:100vh;
}

.page{
  min-height:100vh;
  display:grid;
  grid-template-columns:42% 58%;
}

.brand-panel{
  min-height:100vh;
  background:linear-gradient(160deg,var(--blue),var(--blue2));
  color:#fff;
  padding:56px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  position:relative;
  overflow:hidden;
}

/* Small, restrained background decoration only */
.brand-panel::before{
  content:"";
  position:absolute;
  width:240px;
  height:240px;
  border-radius:50%;
  right:-120px;
  top:-120px;
  background:rgba(255,255,255,.055);
}

.brand-panel::after{
  content:"";
  position:absolute;
  width:180px;
  height:180px;
  border-radius:50%;
  left:-90px;
  bottom:-90px;
  background:rgba(255,255,255,.035);
}

.brand-inner{
  position:relative;
  z-index:1;
  width:100%;
  max-width:470px;
}

.brand-logo{
  width:72px;
  height:72px;
  margin:0 0 28px;
  color:#fff;
}

.brand-logo svg,
.mobile-logo svg{
  display:block;
  width:100%;
  height:100%;
}

.brand-logo circle,
.mobile-logo circle{
  fill:none;
  stroke:currentColor;
  stroke-width:4;
}

.brand-logo path,
.mobile-logo path{
  fill:currentColor;
}

.brand-panel h1{
  margin:0 0 18px;
  font-size:38px;
  line-height:1.14;
  letter-spacing:-.7px;
  font-weight:650;
}

.brand-panel p{
  margin:0;
  max-width:430px;
  font-size:18px;
  line-height:1.55;
  color:rgba(255,255,255,.86);
}

.brand-footer{
  position:absolute;
  left:56px;
  bottom:32px;
  z-index:1;
  font-size:13px;
  color:rgba(255,255,255,.58);
}

.login-panel{
  min-height:100vh;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:40px 32px;
  background:#fff;
}

.login-card{
  width:100%;
  max-width:420px;
  margin:0;
}

.mobile-brand{
  display:none;
}

.login-card h2{
  margin:0 0 10px;
  color:#29282d;
  font-size:30px;
  line-height:1.2;
  letter-spacing:-.45px;
  font-weight:650;
}

.subtitle{
  margin:0 0 32px;
  color:var(--muted);
  font-size:15px;
  line-height:1.5;
}

.field{
  margin-bottom:21px;
}

label{
  display:block;
  margin-bottom:9px;
  color:#3f3f43;
  font-size:14px;
  font-weight:600;
}

.label-row{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:16px;
}

.label-row a{
  color:var(--link);
  text-decoration:none;
  font-size:13px;
}

input{
  display:block;
  width:100%;
  height:46px;
  border:1px solid var(--border);
  border-radius:4px;
  padding:0 13px;
  background:#fff;
  color:#222;
  font-size:15px;
  outline:none;
  box-shadow:0 1px 2px rgba(0,0,0,.03);
}

input:focus{
  border-color:#4e7edb;
  box-shadow:0 0 0 2px rgba(78,126,219,.13);
}

input::placeholder{
  color:#9a9ca1;
}

button{
  font:inherit;
}

.signin{
  width:100%;
  height:46px;
  border:0;
  border-radius:4px;
  background:#1c58d9;
  color:#fff;
  font-size:15px;
  font-weight:650;
}

.divider{
  display:flex;
  align-items:center;
  gap:14px;
  margin:25px 0;
  color:#96979b;
  font-size:13px;
}

.divider::before,
.divider::after{
  content:"";
  flex:1;
  height:1px;
  background:#e3e4e7;
}

.sso{
  width:100%;
  height:46px;
  border:1px solid var(--border);
  border-radius:4px;
  background:#fff;
  color:#343438;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  font-weight:600;
}

.sso-mark{
  width:22px;
  height:22px;
  border-radius:4px;
  display:grid;
  place-items:center;
  background:#eef2f8;
  color:#315b9e;
  font-size:12px;
  font-weight:700;
}

.notice{
  margin:24px 0 0;
  color:#8a8b90;
  text-align:center;
  font-size:12px;
}

.login-panel footer{
  width:100%;
  max-width:420px;
  margin-top:34px;
  color:#98999d;
  text-align:center;
  font-size:12px;
}

.login-panel footer a{
  color:#777a80;
  text-decoration:none;
}

.sep{
  margin:0 7px;
}

@media(max-width:900px){
  .page{
    grid-template-columns:38% 62%;
  }

  .brand-panel{
    padding:40px;
  }

  .brand-footer{
    left:40px;
  }

  .brand-panel h1{
    font-size:32px;
  }

  .brand-panel p{
    font-size:16px;
  }
}

@media(max-width:760px){
  .page{
    display:block;
  }

  .brand-panel{
    display:none;
  }

  .login-panel{
    min-height:100vh;
    justify-content:flex-start;
    padding:34px 24px 28px;
  }

  .login-card{
    margin-top:0;
  }

  .mobile-brand{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:42px;
    color:#244a94;
  }

  .mobile-logo{
    width:38px;
    height:38px;
    flex:0 0 38px;
  }

  .mobile-brand strong{
    color:#343438;
    font-size:17px;
  }

  .login-panel footer{
    margin-top:32px;
  }
}

@media(max-width:420px){
  .login-panel{
    padding-left:18px;
    padding-right:18px;
  }

  .login-card h2{
    font-size:25px;
  }

  .subtitle{
    margin-bottom:28px;
  }
}
