/* ---------------------------------------------------------------------------
 * Auth pages (login + register). Centered card layout, EduMed look.
 * --------------------------------------------------------------------------- */

.auth-wrap {
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.2rem;
}
.auth-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  width: 100%;
  max-width: 440px;
  padding: 2.4rem 2rem 2.2rem;
  position: relative;
}
.auth-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--yellow);
  border-radius: var(--radius) var(--radius) 0 0;
}
.auth-eyebrow {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 700;
  text-align: center;
  margin-bottom: .6rem;
}
.auth-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--blue-deep);
  text-align: center;
  margin-bottom: 1.6rem;
  line-height: 1.15;
}
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.auth-field {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.auth-field label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink-2);
}
.auth-field input,
.auth-field select {
  width: 100%;
  font-family: var(--font-sans);
  font-size: .95rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .65rem .85rem;
  transition: border-color .15s, box-shadow .15s;
}
.auth-field input:focus,
.auth-field select:focus {
  outline: none;
  border-color: var(--yellow-deep);
  box-shadow: 0 0 0 3px rgba(245, 197, 24, .25);
}
.auth-field-help {
  font-size: .72rem;
  color: var(--ink-3);
  line-height: 1.4;
}
.auth-field-error {
  font-size: .76rem;
  color: var(--uva-red);
  font-weight: 600;
}
.auth-submit {
  margin-top: .4rem;
  width: 100%;
  padding: .85rem 1rem;
  background: var(--blue-deep);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background .15s, transform .05s;
}
.auth-submit:hover {
  background: var(--uva-blue-2);
}
.auth-submit:active {
  transform: translateY(1px);
}
.auth-foot {
  text-align: center;
  margin-top: 1.4rem;
  color: var(--ink-3);
  font-size: .85rem;
}
.auth-foot a {
  color: var(--blue-deep);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--yellow);
}
.auth-foot a:hover {
  color: var(--uva-blue-2);
  border-bottom-color: var(--yellow-deep);
}
.auth-form-errors {
  background: var(--red-pale);
  border: 1px solid #FCA5A5;
  color: #991b1b;
  border-radius: var(--radius-sm);
  padding: .65rem .85rem;
  margin-bottom: 1rem;
  font-size: .85rem;
  font-weight: 600;
}
.auth-form-errors ul { list-style: none; margin: 0; padding: 0; }
.auth-form-errors li { margin: 0; }
