*{box-sizing:border-box}
html,body{margin:0;width:100%;min-height:100%;font-family:Arial,Helvetica,sans-serif}
body.login-page{
  min-height:100vh;
  min-height:100svh;
  background:#06172a url("assets/login-background.png") center top/cover no-repeat;
  color:#fff;
  overflow:auto;
}
.login-layout{
  min-height:100vh;
  min-height:100svh;
  display:flex;
  justify-content:flex-end;
  align-items:center;
  padding:40px 7vw 40px 5vw;
}
.login-card{
  width:min(500px,43vw);
  min-width:420px;
  padding:30px 36px 27px;
  border-radius:20px;
  background:rgba(5,20,36,.91);
  border:1px solid rgba(255,255,255,.27);
  border-top:4px solid #ed1c24;
  box-shadow:0 25px 70px rgba(0,0,0,.48),inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter:blur(13px);
  -webkit-backdrop-filter:blur(13px);
}
.brand{text-align:center}
.brand img{
  display:block;
  width:min(330px,88%);
  height:auto;
  margin:0 auto;
  object-fit:contain;
}
.brand-caption{
  text-align:center;
  margin-top:6px;
  font-size:10px;
  letter-spacing:3px;
  color:#d8e4ee;
}
.brand-caption b{color:#ed1c24;padding:0 3px}
.login-card h1{
  margin:15px 0 5px;
  text-align:center;
  font-size:31px;
  line-height:1.1;
  color:#fff;
}
.subtitle{
  margin:0 0 21px;
  text-align:center;
  color:#d8e4ee;
  font-size:14px;
}
.error{
  padding:10px 12px;
  margin-bottom:14px;
  border-radius:8px;
  background:rgba(190,0,10,.24);
  border:1px solid rgba(255,91,96,.75);
  font-size:13px;
}
.field{
  display:block;
  margin:0 0 14px;
  font-size:13px;
  font-weight:700;
}
.input-box{
  width:100%;
  height:52px;
  margin-top:6px;
  display:flex;
  align-items:center;
  border:1px solid rgba(255,255,255,.32);
  border-radius:10px;
  background:rgba(255,255,255,.08);
  overflow:hidden;
}
.input-box:focus-within{
  border-color:#ff3540;
  box-shadow:0 0 0 3px rgba(237,28,36,.16);
}
.icon{
  width:47px;
  flex:0 0 47px;
  text-align:center;
  font-size:19px;
}
.input-box input{
  width:100%;
  height:100%;
  min-width:0;
  border:0;
  outline:0;
  background:transparent;
  color:#fff;
  padding:0 13px 0 0;
  font:inherit;
  font-size:15px;
}
.input-box input::placeholder{color:#c6d3df}
.password-box input{padding-right:8px}
.show-password{
  flex:0 0 48px;width:48px;height:100%;border:0;background:transparent;
  color:#fff;cursor:pointer;font-size:18px;opacity:.9;
}
.show-password:hover{opacity:1}
.challenge{
  width:100%;height:50px;margin-top:6px;display:flex;align-items:center;
  gap:12px;padding:0 12px;border:1px solid rgba(255,255,255,.32);
  border-radius:10px;background:rgba(255,255,255,.08);
}
.challenge span{font-weight:800;white-space:nowrap}.challenge-question strong{font-size:17px;letter-spacing:.4px}
.challenge input{
  width:85px;height:36px;border:1px solid rgba(255,255,255,.25);
  border-radius:7px;background:rgba(0,0,0,.18);color:#fff;
  outline:0;text-align:center;font-weight:800;font-size:16px;
}
.challenge input:focus{border-color:#ff3540;box-shadow:0 0 0 3px rgba(237,28,36,.16)}
.honeypot{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important}
.security-field{margin-bottom:12px}
.submit{
  width:100%;
  min-height:56px;
  margin-top:6px;
  border:0;
  border-radius:10px;
  cursor:pointer;
  background:linear-gradient(135deg,#ff2831,#c90f18);
  color:#fff;
  font-size:18px;
  font-weight:800;
  box-shadow:0 12px 27px rgba(237,28,36,.3);
}
.submit:hover{filter:brightness(1.06)}
.safe{
  margin-top:20px;
  text-align:center;
  color:#dce7ef;
  font-size:12px;
}
.safe span{font-size:17px;vertical-align:-2px;margin-right:6px}
.version{
  position:fixed;
  right:13px;
  bottom:9px;
  z-index:20;
  padding:5px 9px;
  border-radius:7px;
  background:rgba(0,0,0,.5);
  color:rgba(255,255,255,.85);
  font-size:10px;
  letter-spacing:.7px;
}
@media(max-width:1050px){
  .login-layout{justify-content:center;padding:28px 20px}
  .login-card{width:min(520px,100%);min-width:0}
}
@media(max-width:600px){
  body.login-page{background-position:center top}
  .login-layout{padding:14px;align-items:center}
  .login-card{
    width:100%;
    padding:24px 18px 21px;
    border-radius:17px;
    background:rgba(5,20,36,.94);
  }
  .brand img{width:min(280px,92%)}
  .challenge{height:48px}
  .brand-caption{font-size:8px;letter-spacing:2px}
  .login-card h1{font-size:27px;margin-top:12px}
  .subtitle{font-size:13px;line-height:1.4;margin-bottom:18px}
  .input-box{height:51px}
  .input-box input{font-size:16px}
  .submit{min-height:53px;font-size:17px}
  .safe{font-size:11px;margin-top:17px}
}
@media(max-width:380px){
  .login-card{padding:21px 14px 18px}
  .brand img{width:230px}
  .brand-caption{font-size:7px;letter-spacing:1.5px}
  .login-card h1{font-size:24px}
}

.success{padding:10px 12px;margin-bottom:14px;border-radius:8px;background:rgba(20,130,80,.25);border:1px solid rgba(70,220,150,.65);font-size:13px}
