:root{
  --brand:#ffdd00;
  --ink:#13183d;
  --muted:#71778a;
  --white:#fff;
  --danger:#d10000;
  --danger-ink:#fff;
  --border:#dfe3ea;
  --radius:18px;
}

.auth-wrap{
  min-height:calc(100vh - 200px);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:40px 16px;
  background:#fff;
}

.auth-card{
  width:100%;
  max-width:520px;
  background:#fff;
  border-radius:28px;
  box-shadow:0 10px 40px rgba(16,24,40,.08);
  padding:36px 28px 28px;
}

.auth-title{
  margin:0 0 20px;
  font-size:44px;
  line-height:1.2;
  text-align:center;
  color:#0f1224;
}

.form-group{ margin:14px 0 16px; }
.input{
  width:100%;
  height:58px;
  border:1px solid var(--border);
  border-radius:12px;
  padding:0 16px;
  font-size:16px;
  outline:0;
}
.input:focus{ border-color:#c8ceda; box-shadow:0 0 0 3px rgba(17,24,39,.06); }

.field-error{
  display:none;
  margin-top:8px;
  font-size:13px;
  color:#c11;
}
.form-group.invalid .input{ border-color:#ff9e9e; box-shadow:0 0 0 3px rgba(255,0,0,.06); }

.form-alert{
  display:block;
  border:1px solid #ffcaca;
  background:#fff5f5;
  color:#881b1b;
  border-radius:12px;
  padding:12px 14px;
  margin:4px 0 14px;
  display:none;
}
.form-alert .btn{
  margin-top:8px;
}

.btn{
  display:inline-block;
  border-radius:12px;
  font-weight:700;
  text-align:center;
  border:1px solid transparent;
  cursor:pointer;
  width: 100%;
  padding: 24px 18px;
  font-size: 19px;
}

.btn-block{ width:100%; }

.btn-primary{
  background: var(--brand);
  color: var(--brand-ink);
}
.btn-primary:hover{ filter:brightness(.96); }

.btn-outline{
  background:#fff;
  color:#881b1b;
  border-color:#f0b8b8;
}
.btn-outline:hover{ background:#fff0f0; }

.auth-bottom{
  margin-top:16px;
  text-align:center;
  font-size:14px;
}
.auth-bottom .muted{ color:var(--muted); margin-right:6px; }
.auth-bottom .link{
  color:#ff6c00;
  text-decoration:underline;
}
.auth-bottom .link:hover{ opacity:.9; }

.auth-subtitle{
  margin: -12px 0 22px;
  text-align: center;
  font-size: 15px;
  color: #555;
}

