/* css/auth.css */

.auth-page {
  padding: 80px 0 100px;
  background: var(--light);
  min-height: calc(100vh - 300px);
}

.auth-card {
  max-width: 480px;
  margin: 0 auto;
  padding: 48px 44px;
  background: var(--white);
  border-top: 4px solid var(--accent);
  box-shadow: 0 20px 50px rgba(0,0,0,.06);
}

.auth-card h1 {
  margin-bottom: 10px;
  font-family: Georgia, serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.05;
}

.auth-card .auth-lead {
  margin-bottom: 32px;
  color: var(--gray);
  font-size: 14px;
}

.auth-field {
  margin-bottom: 22px;
}

.auth-field label {
  display: block;
  margin-bottom: 8px;
  color: var(--gray);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.auth-field input {
  width: 100%;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  font-size: 16px;
  outline: 0;
  transition: border-color .3s ease;
}

.auth-field input:focus {
  border-bottom-color: var(--black);
}

.auth-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.auth-submit {
  display: flex;
  width: 100%;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  color: var(--white);
  background: var(--black);
  border: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: .3s ease;
}

.auth-submit:hover {
  background: var(--accent);
}

.auth-footer {
  margin-top: 26px;
  color: var(--gray);
  font-size: 13px;
  text-align: center;
}

.auth-footer a {
  color: var(--black);
  font-weight: 700;
  border-bottom: 1px solid var(--black);
}

.auth-errors {
  margin-bottom: 26px;
  padding: 16px 20px;
  background: #fdecec;
  border-left: 4px solid #d94141;
  color: #7a1f1f;
  font-size: 13px;
}

.auth-errors ul {
  margin-left: 16px;
}

.auth-errors li { margin-bottom: 4px; }