/* ============================================================
   ASIENLOTSE — Login-/Auth-Screen (Netlify Identity Gate)
   Eigenständig von tokens.css/components.css (helles App-Theme),
   dunkles Navy/Gold-Branding passend zum Referenzbild. Hero ist
   ein produktives Foto-Asset (assets/images/), keine CSS-Deko.
   ============================================================ */

#auth-screen {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: #0B242A;
  font-family: Arial, Helvetica, sans-serif;
}

.auth-scroll {
  height: 100%;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

/* ---- Hero ----
   herobild.png (992x1586) enthält das eigentliche Motiv (Karte, Schiff,
   Sonnenuntergang) nur in der oberen Bildhälfte, darunter folgt reine
   Navy-Fläche. Der Container schneidet über aspect-ratio + overflow
   ausschließlich diesen unteren Leerraum ab — das Bild selbst bleibt in
   Originalgröße/-seitenverhältnis, es wird nicht skaliert/verzerrt. */
.auth-hero {
  width: 100%;
  aspect-ratio: 992 / 825;
  overflow: hidden;
  flex-shrink: 0;
  line-height: 0;
}
.auth-hero-img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---- Card / content ---- */
.auth-card {
  width: 100%;
  max-width: 420px;
  padding: 20px 24px 32px;
  box-sizing: border-box;
}

.auth-wordmark { text-align: center; }
.auth-emblem {
  display: block;
  width: 56px;
  height: 56px;
  margin: 0 auto 10px;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.35));
}
.auth-wordmark-text { font-size: 28px; font-weight: 700; letter-spacing: 1px; }
.auth-wordmark .word-a { color: #FFFFFF; }
.auth-wordmark .word-l { color: #D4AF6A; }
.auth-tagline { margin-top: 6px; font-size: 14px; color: #F8F3EA; }
.auth-rule { height: 1px; width: 60px; background: #B8813F; margin: 14px auto 0; }

/* ---- Benefits row ---- */
.auth-benefits {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 20px 0 6px;
}
.auth-benefit {
  flex: 1;
  text-align: center;
  padding: 0 4px;
}
.auth-benefit svg {
  width: 26px;
  height: 26px;
  margin-bottom: 8px;
}
.auth-benefit span {
  display: block;
  font-size: 11.5px;
  line-height: 1.4;
  color: #B9C2C0;
}

/* ---- Login panel (integriert, kein Card-Look) ---- */
.auth-panel {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(184,129,63,0.35);
}

.auth-field { margin-bottom: 18px; }
.auth-field label {
  display: block;
  font-size: 13px;
  color: #B9C2C0;
  margin-bottom: 6px;
}
.auth-field input {
  width: 100%;
  box-sizing: border-box;
  background: #12333B;
  border: 1px solid #1F4B55;
  border-radius: 10px;
  color: #FFFFFF;
  font-size: 15px;
  padding: 14px 16px;
}
.auth-field input:focus {
  outline: none;
  border-color: #D4AF6A;
}

.auth-error, .auth-recovery-msg {
  display: none;
  font-size: 13px;
  line-height: 1.5;
  margin: 0 0 16px;
  padding: 10px 12px;
  border-radius: 8px;
}
.auth-error { color: #F5E4E1; background: rgba(178, 83, 74, 0.25); }
.auth-recovery-msg { color: #F8F3EA; background: rgba(212, 175, 106, 0.15); }

.auth-submit {
  width: 100%;
  border: none;
  border-radius: 999px;
  background: linear-gradient(180deg, #E4C583 0%, #D4AF6A 100%);
  color: #0B242A;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 16px 0;
  cursor: pointer;
  margin-top: 6px;
  box-shadow: 0 8px 20px rgba(212,175,106,0.25);
}
.auth-submit:disabled { opacity: 0.7; cursor: default; box-shadow: none; }

.auth-forgot {
  display: block;
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: #D4AF6A;
  text-decoration: underline;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
}

.auth-footer {
  text-align: center;
  margin-top: 32px;
  font-size: 11px;
  color: #7C8886;
}

/* ---- Desktop ---- */
@media (min-width: 640px) {
  .auth-card { padding-top: 36px; }
}
