/* Login / Registrierung / Passwort – einheitliche Auth-Oberfläche */

.rf-auth-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 88px);
  padding: 28px 16px 48px !important;
}

.rf-auth-shell {
  width: 100%;
  max-width: 440px;
}

.rf-auth-main > .alert {
  width: 100%;
  max-width: 440px;
  margin: 0 auto 16px;
  border-radius: 12px;
  border-width: 1px;
}

.rf-auth-card {
  background: linear-gradient(180deg, #fffbf5 0%, #fff6e9 100%);
  border: 1px solid #cbd5e1;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.rf-auth-card-head {
  padding: 28px 28px 18px;
  text-align: center;
  border-bottom: 1px solid rgba(203, 213, 225, 0.65);
}

.rf-auth-logo {
  display: block;
  width: min(180px, 72%);
  height: auto;
  margin: 0 auto 16px;
}

.rf-auth-title {
  margin: 0 0 8px;
  font-size: 1.5rem;
  font-weight: 800;
  color: #111 !important;
  line-height: 1.2;
}

.rf-auth-lead {
  margin: 0;
  color: #64748b !important;
  font-size: 0.95rem;
  line-height: 1.45;
}

.rf-auth-card-body {
  padding: 24px 28px 28px;
}

.rf-auth-notice {
  margin-bottom: 18px;
  padding: 12px 14px;
  border: 1px solid #f0c674;
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(255, 203, 31, 0.18), rgba(255, 156, 1, 0.12));
  color: #111 !important;
  font-size: 0.92rem;
  line-height: 1.45;
}

.rf-auth-card .form-label {
  font-size: 13px;
  font-weight: 700;
  color: #475569 !important;
  margin-bottom: 6px;
}

.rf-auth-card .form-control {
  min-height: 46px;
  padding: 0.6rem 0.9rem;
  border: 1px solid #d1d5db !important;
  border-radius: 14px !important;
  background: #fff !important;
  color: #111 !important;
  box-shadow: none !important;
  font-size: 15px;
}

.rf-auth-card .form-control:focus {
  border-color: #ff9c01 !important;
  box-shadow: 0 0 0 3px rgba(255, 156, 1, 0.2) !important;
}

.rf-auth-card .btn-primary {
  min-height: 48px;
  border: 1px solid #8a8a8a !important;
  border-radius: 14px !important;
  background: linear-gradient(90deg, #ffcb1f, #ffb11c, #ff9c01) !important;
  color: #111 !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}

.rf-auth-card .btn-primary:hover,
.rf-auth-card .btn-primary:focus {
  background: linear-gradient(90deg, #ffc000, #ffab00, #ff9300) !important;
  border-color: #666 !important;
  color: #111 !important;
}

.rf-auth-links {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  font-size: 0.92rem;
}

.rf-auth-links a {
  color: #111 !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.rf-auth-links a:hover {
  color: #ff9c01 !important;
}

@media (max-width: 575.98px) {
  .rf-auth-main {
    min-height: auto;
    padding-top: 20px !important;
    padding-bottom: 32px !important;
  }

  .rf-auth-card-head,
  .rf-auth-card-body {
    padding-left: 20px;
    padding-right: 20px;
  }

  .rf-auth-links {
    flex-direction: column;
    align-items: flex-start;
  }
}
