.auth-page body, body.auth-page {
  min-height: 100vh;
}

.auth-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--topbar-h) - 28px);
  padding: 40px 16px;
  background-image: url('https://images.unsplash.com/photo-1518709268805-4e9042af9f23?w=1920&q=80');
  background-size: cover;
  background-position: center 30%;
  position: relative;
}

.auth-main::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(0,0,0,0.5) 0%, transparent 60%),
    linear-gradient(180deg, rgba(8,6,18,0.7) 0%, rgba(8,6,18,0.45) 40%, rgba(8,6,18,0.8) 100%);
  pointer-events: none;
}

.auth-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 420px;
  background: linear-gradient(180deg, rgba(20,14,30,0.97) 0%, rgba(10,8,18,0.99) 100%);
  border: 1px solid rgba(212,175,55,0.2);
  border-top-color: rgba(212,175,55,0.45);
  box-shadow:
    0 0 60px rgba(0,0,0,0.8),
    inset 0 1px 0 rgba(212,175,55,0.1);
  padding: 44px 40px 36px;
}

.auth-ornament {
  text-align: center;
  color: var(--gold-dark);
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  margin-bottom: 18px;
  opacity: 0.7;
}

.auth-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  text-align: center;
  letter-spacing: 0.08em;
  text-shadow: 0 0 20px rgba(212,175,55,0.4);
  margin-bottom: 6px;
}

.auth-subtitle {
  font-family: 'Crimson Text', serif;
  font-size: 1rem;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.08em;
  margin-bottom: 28px;
}

.field-group {
  margin-bottom: 18px;
}

.field-group label {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 6px;
}

.field-group input,
.field-group textarea {
  width: 100%;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(212,175,55,0.15);
  border-bottom-color: rgba(212,175,55,0.3);
  color: var(--text);
  padding: 10px 14px;
  font-family: 'Crimson Text', serif;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field-group input:focus,
.field-group textarea:focus {
  border-color: rgba(212,175,55,0.5);
  box-shadow: 0 0 12px rgba(212,175,55,0.1);
}

.auth-card .btn-submit {
  width: 100%;
  margin-top: 10px;
}

.auth-switch {
  text-align: center;
  font-family: 'Crimson Text', serif;
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 20px;
}

.auth-switch a {
  color: var(--gold-dark);
  transition: color 0.2s;
}

.auth-switch a:hover {
  color: var(--gold);
  text-shadow: 0 0 8px rgba(212,175,55,0.4);
}
