.auth-page {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(255, 241, 230, 0.9), rgba(255, 255, 255, 0.95)),
    url('https://images.unsplash.com/photo-1583417319070-4a69db38a482?w=1600&h=1200&fit=crop');
  background-position: center;
  background-size: cover;
}

.auth-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}

.auth-panel {
  width: min(100%, 440px);
  border: 1px solid #EDEFF2;
  border-radius: 8px;
  padding: 28px;
  background-color: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 45px rgba(31, 32, 36, 0.12);
}

.auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--carrot-orange-dark);
  font-size: 1.2rem;
  font-weight: 900;
  text-decoration: none;
}

.auth-brand:hover {
  color: var(--carrot-orange);
}

.auth-heading {
  margin: 28px 0 20px;
}

.auth-heading h1 {
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.auth-heading p,
.auth-switch {
  color: var(--carrot-muted);
  margin-bottom: 0;
}

.auth-form {
  display: grid;
  gap: 16px;
}

.auth-form .form-control,
.auth-form .form-select {
  min-height: 48px;
}

.auth-field-help {
  color: var(--carrot-muted);
  font-size: 0.82rem;
  line-height: 1.45;
  margin: 6px 0 0;
}

.auth-consent {
  align-items: flex-start;
  border: 1px solid #EDEFF2;
  border-radius: 8px;
  color: #3A3D45;
  display: flex;
  font-size: 0.9rem;
  gap: 10px;
  line-height: 1.5;
  padding: 12px 14px;
}

.auth-consent input {
  flex: 0 0 auto;
  margin-top: 4px;
}

.auth-status {
  border-radius: 8px;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 16px;
  padding: 12px 14px;
}

.auth-status-info {
  background-color: #EAF2FF;
  color: #1D64D8;
}

.auth-status-success {
  background-color: #EAF7EF;
  color: #177245;
}

.auth-status-warning {
  background-color: #FFF8E6;
  color: #8A5B00;
}

.auth-status-error {
  background-color: #FDECEC;
  color: #B42318;
}

.auth-switch {
  margin-top: 18px;
  text-align: center;
}

.auth-switch a {
  color: var(--carrot-orange-dark);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 575.98px) {
  .auth-panel {
    padding: 22px;
  }
}
