
:root{
  color-scheme:light;
  --blue:#2563eb;
  --navy:#174a91;
  --teal:#0dada0;
  --ink:#183153;
  --muted:#7385a0;
}
*{box-sizing:border-box}
body{
  margin:0;
  min-height:100vh;
  min-height:100dvh;
  display:grid;
  place-items:center;
  padding:35px 20px;
  font-family:Inter,'Segoe UI',Arial,sans-serif;
  color:var(--ink);
  background:
    radial-gradient(circle at 12% 20%,rgba(54,145,255,.20),transparent 36%),
    radial-gradient(circle at 85% 75%,rgba(20,190,172,.17),transparent 36%),
    radial-gradient(circle at 75% 10%,rgba(151,118,255,.11),transparent 30%),
    #f4f8ff;
}
.login-card{
  position:relative;
  width:min(540px,100%);
  padding:54px 55px 48px;
  background:#fff;
  border:1px solid #e2eaf5;
  border-radius:28px;
  box-shadow:0 30px 90px rgba(30,74,132,.16);
  overflow:hidden;
  animation:mailAppear .65s ease both;
}
.login-card::before{
  content:"";
  position:absolute;
  top:0;left:0;right:0;
  height:6px;
  background:linear-gradient(90deg,#2563eb,#36a9ed,#10b9a5);
}
.brand{
  display:flex;
  align-items:center;
  gap:13px;
  font-size:32px;
  font-weight:850;
  letter-spacing:-1px;
  color:#173b79;
}
.brand span{color:#173b79}
.brand-mark{
  display:flex;
  align-items:flex-end;
  gap:4px;
  height:35px;
}
.brand-mark i{
  display:block;
  width:8px;
  border-radius:3px;
  background:linear-gradient(#48b8ff,#2785f5);
}
.brand-mark i:nth-child(1){height:23px}
.brand-mark i:nth-child(2){height:35px;background:linear-gradient(#63d9c6,#14b8a6)}
.brand-mark i:nth-child(3){height:28px;background:linear-gradient(#a4b7ff,#6593f5)}
.eyebrow{
  margin-top:17px;
  color:#0b9c92;
  font-size:11px;
  font-weight:800;
  letter-spacing:2px;
}
.welcome{
  margin:30px 0 7px;
  font-size:29px;
  font-weight:800;
  letter-spacing:-.7px;
  color:#1e3554;
}
.subtitle{
  margin:0 0 36px;
  color:var(--muted);
  font-size:15px;
  line-height:1.7;
}
label{
  display:block;
  margin-bottom:10px;
  color:#344866;
  font-size:14px;
  font-weight:700;
}
.form-group{margin-bottom:24px}
.login-input{
  display:block;
  width:100%;
  height:56px;
  padding:0 17px;
  border:1px solid #d7e3f1;
  border-radius:13px;
  background:#f8fbff;
  color:#183153;
  font:inherit;
  font-size:15px;
  outline:none;
  transition:border-color .2s,box-shadow .2s;
}
.login-input:focus{
  border-color:#3689f6;
  box-shadow:0 0 0 4px rgba(37,99,235,.11);
}
.password-field{position:relative}
.password-field .login-input{padding-right:58px}
.password-toggle{
  position:absolute;
  right:12px;
  top:50%;
  transform:translateY(-50%);
  width:38px;
  height:38px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;
  border:0;
  border-radius:10px;
  background:transparent;
  color:#69809e;
  cursor:pointer;
}
.password-toggle:hover{background:#eaf3ff;color:#2563eb}
.password-toggle svg{display:block;width:22px;height:22px}
.password-toggle svg[hidden]{display:none}
.sign-in{
  display:block;
  width:100%;
  height:57px;
  margin-top:12px;
  border:0;
  border-radius:13px;
  background:linear-gradient(110deg,#2563eb,#1684da,#0dada0);
  color:#fff;
  font-size:16px;
  font-weight:750;
  cursor:pointer;
  box-shadow:0 10px 25px rgba(37,99,235,.18);
  transition:transform .2s,box-shadow .2s;
}
.sign-in:hover{
  transform:translateY(-2px);
  box-shadow:0 15px 30px rgba(37,99,235,.25);
}
.error{
  margin-bottom:22px;
  padding:14px;
  border:1px solid #fecdd3;
  border-radius:12px;
  background:#fff1f2;
  color:#be123c;
}
.footer{
  margin-top:36px;
  padding-top:20px;
  border-top:1px solid #edf2f8;
  text-align:center;
  color:#91a0b5;
  font-size:12px;
}
@keyframes mailAppear{
  from{opacity:0;transform:translateY(18px)}
  to{opacity:1;transform:translateY(0)}
}
@media(max-width:580px){
  .login-card{padding:42px 28px 34px}
  .brand{font-size:27px}
  .welcome{font-size:26px}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important}
}

.brand-logo{width:38px;height:38px;object-fit:contain;flex-shrink:0}
