/* tasko-fleet / docs_host — Werte wie die Tasko-Anmeldung (AuthLayout, LoginPage, B/theme):
   Karte 460 px mit Radius 16, Logo, kurzer Trenner, Titel textDark, Hinweis muted, Knopf primary.
   Hintergründe und Wortmarke sind Kopien aus tasko/public/imgtasko bzw. AuthCornerMark. */
@font-face { font-family: Roboto; font-weight: 400; font-display: swap;
  src: url(fonts/roboto-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: Roboto; font-weight: 500; font-display: swap;
  src: url(fonts/roboto-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: Roboto; font-weight: 700; font-display: swap;
  src: url(fonts/roboto-latin-700-normal.woff2) format("woff2"); }

:root {
  color-scheme: light;
  --bg: #f5f5f5; --card: #fff; --text: #333; --muted: #8d8d8d; --border: #c4c4c4;
  --input: #fafafa; --primary: #0084ff; --primary-hover: #0078cc; --error: #d32f2f;
  --veil: transparent;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #121212; --card: #1e1e1e; --text: #e0e0e0; --muted: #777; --border: #444;
    --input: #262626; --primary-hover: #4db8ff; --error: #ef5350;
    --veil: color-mix(in srgb, #121212 70%, transparent);
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: 16px;
  position: relative; font: 400 1rem/1.5 Roboto, "Segoe UI", Arial, sans-serif; color: var(--text);
  background-color: var(--bg);
  background-image: linear-gradient(var(--veil), var(--veil)), url(bg-desktop.webp);
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
@media (min-aspect-ratio: 3/5) and (max-aspect-ratio: 1/1) {
  body { background-image: linear-gradient(var(--veil), var(--veil)), url(bg-tablet.webp); }
}
@media (max-aspect-ratio: 3/5) {
  body { background-image: linear-gradient(var(--veil), var(--veil)), url(bg-phone.webp); }
}

.mark { position: absolute; top: 32px; right: 40px; width: 130px; height: auto; pointer-events: none; }
@media (max-width: 600px) { .mark { top: 20px; right: 20px; width: 86px; } }
@media (max-height: 520px) { .mark { display: none; } }

.card {
  width: 100%; max-width: 460px; padding: 32px; border-radius: 16px; background: var(--card);
  box-shadow: 0 3px 3px -2px rgba(0,0,0,.2), 0 3px 4px 0 rgba(0,0,0,.14), 0 1px 8px 0 rgba(0,0,0,.12);
  text-align: center; position: relative;
}
@media (max-width: 600px) { .card { padding: 24px; } }
.logo { display: block; max-width: 100%; max-height: 6rem; margin: 8px auto 16px; }
.divider { width: 20%; margin: 0 auto 16px; border: 0; border-top: 1px solid var(--border); }
h1 { margin: 0; font-size: 1.75rem; font-weight: 700; line-height: 1.2; }
.prompt { margin: 4px 0 16px; font-size: .875rem; color: var(--muted); }
.alert {
  margin: 0 0 16px; padding: 8px 12px; border-radius: 4px; text-align: left; font-size: .875rem;
  color: var(--error); background: color-mix(in srgb, var(--error) 10%, transparent);
}
form { padding: 0 8px; }
input {
  display: block; width: 100%; margin-bottom: 16px; padding: 16.5px 14px; font: inherit;
  color: var(--text); background: var(--input); border: 1px solid var(--border); border-radius: 4px;
}
input:focus { outline: none; border-color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); }
button {
  display: block; width: 100%; padding: 8px 16px; cursor: pointer;
  font-family: inherit; font-size: .9375rem; font-weight: 500; line-height: 1.75;
  color: #fff; background: var(--primary); border: 0; border-radius: 4px;
  box-shadow: 0 3px 1px -2px rgba(0,0,0,.2), 0 2px 2px 0 rgba(0,0,0,.14), 0 1px 5px 0 rgba(0,0,0,.12);
}
button:hover { background: var(--primary-hover); }
.hint { margin: 16px 8px 0; font-size: .8125rem; color: var(--muted); text-align: left; }
.hint b { color: var(--text); font-weight: 700; }
