/* =========================================================
   Auth page
   Nur auth-spezifische Styles
   ========================================================= */

.auth-body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(700px 420px at 10% 0%, rgba(29, 78, 216, 0.16), transparent 58%),
    radial-gradient(620px 420px at 100% 10%, rgba(124, 58, 237, 0.16), transparent 58%),
    linear-gradient(180deg, #f6f8fd 0%, #edf3fb 100%);
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(219, 228, 242, 0.95);
  border-radius: 24px;
  box-shadow: 0 26px 56px rgba(16, 32, 58, 0.14);
  padding: 30px;
}

.auth-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 55%, var(--accent) 100%);
}

.auth-head {
  margin-bottom: 22px;
}

.auth-brand {
  font-size: 12px;
  font-weight: 800;
  color: var(--primary-600);
  margin-bottom: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-head h1 {
  margin-bottom: 10px;
}

.auth-head p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.auth-error {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(254, 242, 242, 0.96);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #991b1b;
  font-size: 14px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.auth-field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.auth-field input {
  height: 48px;
}

.auth-submit {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #ffffff;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(29, 78, 216, 0.18);
  transition: transform 0.12s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.auth-submit:hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
  box-shadow: 0 18px 34px rgba(29, 78, 216, 0.22);
}
