body{
  background:
    radial-gradient(1200px 600px at 10% 10%, #dfe8ff 0%, transparent 55%),
    radial-gradient(900px 480px at 90% 20%, #e6f4ff 0%, transparent 55%),
    #eef1f6;
}

.auth-wrap{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:28px;
}

.auth-shell{
  width: min(980px, 100%);
  background: #dfe5f1;
  border:1px solid #cfd7e6;
  border-radius:18px;
  display:grid;
  grid-template-columns: 1.05fr 0.95fr;
  overflow:hidden;
  box-shadow: 0 30px 80px rgba(15,23,42,0.18);
}

.auth-hero{
  padding:26px;
  background: linear-gradient(135deg, #6e8fb3, #6a7d9c);
  color:#f1f5f9;
}
.hero-pill{
  display:inline-block;
  padding:6px 10px;
  background: rgba(255,255,255,0.15);
  border:1px solid rgba(255,255,255,0.25);
  border-radius:999px;
  font-size:12px;
}
.hero-title{
  margin-top:12px;
  font-size:24px;
  font-weight:700;
}
.hero-sub{
  margin-top:6px;
  font-size:13px;
  color:#e2e8f0;
}
.hero-cards{margin-top:18px; display:flex; flex-direction:column; gap:10px;}
.hero-card{
  display:flex; gap:10px; align-items:flex-start;
  padding:12px; border-radius:12px;
  background: rgba(255,255,255,0.12);
  border:1px solid rgba(255,255,255,0.18);
}
.hero-ico{
  width:32px;height:32px;border-radius:8px;
  display:flex;align-items:center;justify-content:center;
  background: rgba(255,255,255,0.2);
}
.hero-card-title{font-weight:700}
.hero-card-sub{font-size:12px;color:#e2e8f0;margin-top:2px}
.hero-note{margin-top:16px;font-size:12px;color:#e2e8f0}

.card{
  background: #ffffff;
  border-left:1px solid #cfd7e6;
  padding:22px;
}
.auth-card{display:flex;flex-direction:column;justify-content:center}
.brand{margin-bottom:14px}
.logo{display:flex;align-items:center;justify-content:center;margin-bottom:8px}
.logo img{max-width:160px;width:100%;height:auto;display:block}
.auth-title{font-size:22px;font-weight:700}
.auth-sub{font-size:12px;color:var(--muted);margin-top:4px}

.auth-form{margin-top:6px}
.form-grid-2{display:grid;grid-template-columns: 1fr 2fr; gap:12px}

label{display:block;margin-top:12px;margin-bottom:6px;color:var(--muted);font-size:13px}
input{
  width:100%;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#f9fafc;
  color:var(--text);
  outline:none;
}
input:focus{border-color:rgba(31,111,235,0.6)}

.btn{
  margin-top:16px;
  width:100%;
  padding:12px;
  border:0;
  border-radius:12px;
  background: linear-gradient(180deg, #3b82f6, #06b6d4);
  color:white;
  font-weight:700;
  cursor:pointer;
}
.btn:hover{filter:brightness(1.05)}
.foot{margin-top:14px;color:var(--muted);font-size:12px;text-align:center}

.alerts{margin:12px 0}
.alert{
  padding:10px 12px;border-radius:12px;
  border:1px solid var(--line);
  background: #f8f9fc;
}
.alert.error{border-color: rgba(229,72,77,0.35); color: #b42318}

@media (max-width: 900px){
  .auth-shell{grid-template-columns: 1fr}
  .card{border-left:0;border-top:1px solid #cfd7e6}
}

@media (max-width: 600px){
  body{
    min-width:0;
    background:#eef1f6;
  }

  .auth-wrap{
    min-height:100dvh;
    align-items:flex-start;
    padding:12px;
  }

  .auth-shell{
    width:100%;
    background:#fff;
    border-radius:14px;
    box-shadow:0 16px 40px rgba(15,23,42,0.14);
  }

  .auth-hero{
    display:none;
  }

  .card{
    padding:16px 18px 18px;
    border-top:0;
  }

  .brand{
    margin-bottom:5px;
  }

  .logo{
    margin-bottom:4px;
  }

  .logo img{
    max-width:112px;
  }

  .auth-title{
    font-size:19px;
  }

  .form-grid-2{
    grid-template-columns:1fr;
    gap:0;
  }

  label{
    margin-top:9px;
    margin-bottom:5px;
  }

  input{
    min-width:0;
    min-height:46px;
    font-size:16px;
  }

  .btn{
    margin-top:14px;
    min-height:46px;
  }

  .foot{
    margin-top:11px;
    line-height:1.45;
  }
}

@media (max-width: 380px){
  .auth-wrap{padding:8px}
  .card{padding:14px 15px 16px}
}
