/* 6Flaschen – Auth-Seiten: CSP-kompatible, externe Seitenergänzungen. */
.auth-alert-spaced {
  margin-top: 18px;
}

.auth-links.auth-links-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.auth-links.auth-links-buttons .auth-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--slate);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease, transform 120ms ease;
}

.auth-links.auth-links-buttons .auth-link-button:hover,
.auth-links.auth-links-buttons .auth-link-button:focus-visible {
  background: var(--card-solid);
  border-color: rgba(49, 69, 85, 0.24);
}

html[data-theme="dark"].coastal-ui body.coastal-auth-page
.auth-links.auth-links-buttons .auth-link-button {
  background: #102f3d !important;
  border-color: rgba(214, 175, 98, 0.28) !important;
  color: #d3dde0 !important;
  -webkit-text-fill-color: #d3dde0 !important;
}

html[data-theme="dark"].coastal-ui body.coastal-auth-page
.auth-links.auth-links-buttons .auth-link-button:hover,
html[data-theme="dark"].coastal-ui body.coastal-auth-page
.auth-links.auth-links-buttons .auth-link-button:focus-visible {
  background: #173c4b !important;
  border-color: rgba(228, 201, 141, 0.46) !important;
  color: #e4c98d !important;
  -webkit-text-fill-color: #e4c98d !important;
}

.auth-links.auth-links-buttons .auth-link-button:active {
  transform: scale(0.98);
}

/* -------------------------------------------------------------------------
   Auth r27 · Login-Eingaben immer mit schwarzer Schrift
   E-Mail und Passwort bleiben in Light- und Dark-Mode auf den hellen
   Eingabeflächen konsequent schwarz. Browser-Autofill wird mit abgedeckt.
   ------------------------------------------------------------------------- */
html.coastal-ui body.coastal-auth-page.coastal-login-page .auth-form input[type="email"],
html.coastal-ui body.coastal-auth-page.coastal-login-page .auth-form input[type="password"] {
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
  caret-color: #000000 !important;
  opacity: 1 !important;
}

html[data-theme="dark"].coastal-ui body.coastal-auth-page.coastal-login-page .auth-form input[type="email"],
html[data-theme="dark"].coastal-ui body.coastal-auth-page.coastal-login-page .auth-form input[type="password"] {
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
  caret-color: #000000 !important;
  color-scheme: light !important;
}

html.coastal-ui body.coastal-auth-page.coastal-login-page .auth-form input[type="email"]:-webkit-autofill,
html.coastal-ui body.coastal-auth-page.coastal-login-page .auth-form input[type="email"]:-webkit-autofill:hover,
html.coastal-ui body.coastal-auth-page.coastal-login-page .auth-form input[type="email"]:-webkit-autofill:focus,
html.coastal-ui body.coastal-auth-page.coastal-login-page .auth-form input[type="password"]:-webkit-autofill,
html.coastal-ui body.coastal-auth-page.coastal-login-page .auth-form input[type="password"]:-webkit-autofill:hover,
html.coastal-ui body.coastal-auth-page.coastal-login-page .auth-form input[type="password"]:-webkit-autofill:focus,
html[data-theme="dark"].coastal-ui body.coastal-auth-page.coastal-login-page .auth-form input[type="email"]:-webkit-autofill,
html[data-theme="dark"].coastal-ui body.coastal-auth-page.coastal-login-page .auth-form input[type="email"]:-webkit-autofill:hover,
html[data-theme="dark"].coastal-ui body.coastal-auth-page.coastal-login-page .auth-form input[type="email"]:-webkit-autofill:focus,
html[data-theme="dark"].coastal-ui body.coastal-auth-page.coastal-login-page .auth-form input[type="password"]:-webkit-autofill,
html[data-theme="dark"].coastal-ui body.coastal-auth-page.coastal-login-page .auth-form input[type="password"]:-webkit-autofill:hover,
html[data-theme="dark"].coastal-ui body.coastal-auth-page.coastal-login-page .auth-form input[type="password"]:-webkit-autofill:focus {
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
  caret-color: #000000 !important;
}
