.auth-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.auth-header-minimal {
  border-bottom: 1px solid var(--border);
}

.auth-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1rem 3rem;
}

.auth-card {
  width: min(440px, 100%);
  background: rgba(30, 25, 18, 0.92);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2rem 1.75rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.auth-card h1 {
  margin: 0 0 0.35rem;
  font-size: 1.65rem;
  font-weight: 700;
}

.auth-lead {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 1.25rem;
}

.auth-promo {
  background: rgba(183, 158, 91, 0.12);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
}

.auth-promo strong {
  color: var(--primary-strong);
}

.auth-form .field {
  margin-bottom: 1rem;
}

.auth-form label {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="date"] {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(13, 11, 8, 0.6);
  color: var(--text);
  font-size: 1rem;
}

.auth-form input:focus {
  outline: 2px solid rgba(183, 158, 91, 0.45);
  outline-offset: 1px;
}

.auth-field-hint {
  font-size: 0.8rem;
  margin: 0.35rem 0 0;
  min-height: 1.1rem;
}

.auth-field-hint.ok { color: #7dd87a; }
.auth-field-hint.err { color: #f08080; }

.auth-row-remember {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0.5rem 0 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.auth-row-remember input {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--primary);
}

.auth-btn {
  width: 100%;
  margin-top: 0.25rem;
}

.auth-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.auth-alert {
  border-radius: 10px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.auth-alert.err {
  background: rgba(200, 60, 60, 0.15);
  border: 1px solid rgba(240, 100, 100, 0.35);
  color: #ffb4b4;
}

.auth-alert.ok {
  background: rgba(80, 160, 80, 0.12);
  border: 1px solid rgba(120, 200, 120, 0.3);
  color: #b8e8b6;
}

.auth-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.25rem;
  font-size: 0.88rem;
}

.auth-links a {
  color: var(--primary);
  text-decoration: none;
}

.auth-links a:hover {
  color: var(--primary-strong);
  text-decoration: underline;
}

.auth-step-hidden {
  display: none;
}

.auth-activation-title {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0 0 1rem;
}

.auth-resend {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--primary);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
}

.auth-resend:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.auth-toggle-pw {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--primary);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
}

.register-steps .auth-step-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.btn-outline {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
}

.register-steps .btn-outline {
  flex: 1;
  text-align: center;
}
