.auth-wrapper{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,#0f172a,#1e293b);
  padding:16px; /* mobile breathing space */
}

.card{
  background:#fff;
  width:100%;
  max-width:420px;
  padding:28px;
  border-radius:14px;
  box-shadow:0 20px 50px rgba(0,0,0,.25);
}

.card h2{
  text-align:center;
  margin-bottom:6px;
  color:#020617;
}

.subtitle{
  text-align:center;
  font-size:13px;
  color:#6b7280;
  margin-bottom:20px;
}

form{
  display:flex;
  flex-direction:column;
  gap:14px;
}

input{
  padding:11px 14px;
  border-radius:10px;
  border:1px solid #d1d5db;
  font-size:14px;
  transition:border .2s, box-shadow .2s;
}

input:focus{
  outline:none;
  border-color:#0f172a;
  box-shadow:0 0 0 2px rgba(15,23,42,.15);
}

button{
  background:#0f172a;
  color:#fff;
  border:none;
  padding:12px;
  border-radius:10px;
  font-weight:600;
  cursor:pointer;
  transition:background .2s, transform .1s;
}

button:hover{
  background:#020617;
}

button:active{
  transform:scale(.98);
}

button:disabled{
  background:#9ca3af;
  cursor:not-allowed;
}

.alert{
  padding:10px;
  border-radius:8px;
  font-size:13px;
  text-align:center;
}

.alert.error{
  background:#fee2e2;
  color:#991b1b;
}

.alert.success{
  background:#dcfce7;
  color:#166534;
}