/* =============================================================
   Auth-Pages — visuell angelehnt an MUI Sign-in / Sign-up / Dashboard
   Statische Mockups (kein React). Reagiert auf die App-Slate-Identität.
   ============================================================= */
:root {
  --primary: #637b90;
  --primary-dark: #4d6478;
  --primary-light: #8aa1b5;
  --amber: #fbbf24;
  --text: #1f2a35;
  --muted: #5a6773;
  --line: #e3e8ed;
  --bg-alt: #f5f7f9;
  --error: #d32f2f;
  --success: #2e7d32;
  --shadow-md: 0 8px 24px rgba(99,123,144,.12);
  --shadow-lg: 0 24px 50px rgba(99,123,144,.18);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: 'Open Sans', 'Roboto', -apple-system, sans-serif;
  background: var(--bg-alt);
  color: var(--text);
  line-height: 1.5;
  font-weight: 400;
}
a { color: var(--primary-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Beta strip */
.beta-strip {
  background: var(--amber);
  color: #5a3c00;
  padding: 6px 24px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
}
.beta-strip strong {
  background: #5a3c00; color: var(--amber);
  padding: 1px 8px; border-radius: 4px;
  margin-right: 6px; font-size: 11px;
}

/* MUI-like Card */
.auth-shell {
  min-height: calc(100vh - 30px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}
.auth-card {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 40px 36px;
  box-shadow: var(--shadow-md);
}
.auth-card.wide { max-width: 520px; }

.brand-row {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; margin-bottom: 24px;
}
.brand-logo {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 16px;
}
.brand-name {
  font-weight: 600; font-size: 16px;
}
.brand-tag {
  font-size: 11px; color: var(--muted);
  letter-spacing: .5px; text-transform: uppercase;
}

h1.auth-title {
  font-size: 26px; font-weight: 400;
  text-align: center;
  margin-bottom: 8px;
  letter-spacing: -.3px;
}
.auth-sub {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 32px;
}

/* MUI-style form field with floating label */
.field {
  position: relative;
  margin-bottom: 22px;
}
.field input {
  width: 100%;
  height: 56px;
  padding: 16px 14px 4px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: #fff;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label {
  transform: translate(-4px, -22px) scale(.78);
  background: #fff;
  color: var(--primary);
}
.field label {
  position: absolute;
  left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--muted);
  font-size: 15px;
  pointer-events: none;
  padding: 0 4px;
  transition: all .15s;
  transform-origin: left top;
}
.field-row { display: flex; gap: 12px; }
.field-row .field { flex: 1; }

.field-helper {
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
  padding-left: 4px;
}
.field-helper.error { color: var(--error); }

/* Checkbox / remember-me */
.row-between {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
  font-size: 14px;
}
.checkbox {
  display: flex; align-items: center; gap: 8px;
  color: var(--text);
  cursor: pointer;
}
.checkbox input { accent-color: var(--primary); width: 18px; height: 18px; }

/* MUI Button */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  width: 100%;
  height: 44px;
  padding: 0 22px;
  border-radius: 8px;
  border: none;
  font: inherit; font-weight: 600; font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .5px;
  cursor: pointer;
  transition: all .15s;
  text-decoration: none;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(99,123,144,.20);
}
.btn-primary:hover { background: var(--primary-dark); box-shadow: 0 8px 20px rgba(99,123,144,.30); }
.btn-outline {
  background: transparent;
  color: var(--primary-dark);
  border: 1px solid var(--line);
}
.btn-outline:hover { background: var(--bg-alt); border-color: var(--primary); }
.btn-row { display: grid; gap: 10px; margin-top: 8px; }

/* Divider with text */
.divider {
  display: flex; align-items: center;
  margin: 24px 0;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.divider::before, .divider::after {
  content: ""; flex: 1; height: 1px; background: var(--line);
}
.divider span { padding: 0 12px; }

/* Social buttons */
.social-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.social-btn {
  display: flex; align-items: center; justify-content: center;
  gap: 10px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font: inherit; font-weight: 500; font-size: 14px;
  color: var(--text);
  cursor: pointer;
  transition: all .15s;
  text-decoration: none;
}
.social-btn:hover { border-color: var(--primary-light); background: var(--bg-alt); }
.social-btn svg { width: 18px; height: 18px; }

.auth-footer {
  text-align: center;
  margin-top: 28px;
  font-size: 14px;
  color: var(--muted);
}
.auth-footer a { color: var(--primary-dark); font-weight: 600; }
