.auth-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, #f8fbff 0%, #ffffff 48%, #ffffff 100%);
}
.auth-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.25rem 2.5rem;
  position: relative;
}
.auth-main::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 10%, transparent 90%);
  pointer-events: none;
}
.auth-card {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2rem 1.75rem 1.75rem;
  box-shadow: var(--shadow);
}
.auth-card h1 {
  font-size: 1.65rem;
  letter-spacing: -0.03em;
  margin: .35rem 0 .5rem;
}
.auth-lead {
  color: var(--muted);
  font-size: .92rem;
  margin-bottom: 1.5rem;
}
.auth-form {
  display: grid;
  gap: 1rem;
}
.auth-form label {
  display: grid;
  gap: .4rem;
}
.auth-form label span {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
}
.auth-form input {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: .72rem .9rem;
  font: inherit;
  font-size: .95rem;
  color: var(--text);
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.auth-form input:focus {
  outline: none;
  border-color: #93c5fd;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.auth-error {
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 10px;
  padding: .65rem .85rem;
  font-size: .86rem;
}
.auth-switch {
  margin-top: 1.25rem;
  text-align: center;
  color: var(--muted);
  font-size: .9rem;
}
.auth-switch a {
  color: var(--accent-deep);
  font-weight: 600;
}
.auth-switch a:hover { text-decoration: underline; }
.btn[disabled] { opacity: .65; cursor: not-allowed; }
