:root{
  --login-red:#ca1c1c;
  --login-red-dark:#8b1111;
  --login-ink:#0f172a;
  --login-muted:#64748b;
}
.auth-page{
  min-height: calc(100vh - 180px);
  display:flex;
  align-items:center;
  justify-content:center;
}
.auth-card{
  display:block;
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 24px 60px rgba(15,23,42,.18);
  background:#fff;
  max-width:520px;
  margin:0 auto;
}
.auth-header{
  text-align:center;
  padding:22px 32px 6px;
  background: linear-gradient(180deg, rgba(202,28,28,.08), rgba(255,255,255,0));
}
.auth-header h2{
  font-weight:800;
  color:var(--login-ink);
  margin-bottom:4px;
}
.auth-header .auth-subtitle{
  color:var(--login-muted);
  margin-bottom:0;
  font-size:.95rem;
}
.auth-logo{
  width:120px;
  height:auto;
  margin-bottom:10px;
}
.auth-form{
  padding:18px 40px 32px;
}
.auth-field{
  margin-top:18px;
}
.auth-field label{
  font-weight:600;
  color:var(--login-ink);
  margin-bottom:6px;
}
.auth-input{
  width:100%;
  border:1px solid rgba(15,23,42,.12);
  border-radius:14px;
  padding:12px 14px;
  font-size:1rem;
  transition:border-color .2s ease, box-shadow .2s ease;
}
.auth-input:focus{
  outline:none;
  border-color:rgba(202,28,28,.6);
  box-shadow:0 0 0 3px rgba(202,28,28,.12);
}
.auth-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:18px;
}
.auth-check{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:.95rem;
  color:var(--login-ink);
}
.auth-check input{
  width:18px;
  height:18px;
  accent-color:var(--login-red);
}
.auth-submit{
  border:none;
  border-radius:999px;
  padding:12px 22px;
  background:var(--login-red);
  color:#fff;
  font-weight:700;
  box-shadow:0 12px 26px rgba(202,28,28,.25);
  transition:transform .2s ease, box-shadow .2s ease;
}
.auth-submit:hover{ transform:translateY(-1px); box-shadow:0 14px 30px rgba(202,28,28,.3); }
.auth-links{
  margin-top:18px;
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}
.auth-links a{
  color:var(--login-red);
  text-decoration:none;
  font-weight:600;
}
.auth-links a:hover{ text-decoration:underline; }
.auth-message{
  margin-top:12px;
}
@media (max-width: 576px){
  .auth-header{ padding:28px 24px 6px; }
  .auth-form{ padding:22px 24px 32px; }
  .auth-row{ flex-direction:column; align-items:flex-start; }
  .auth-submit{ width:100%; text-align:center; }
}
