/* UMS – Bausteine für die Tools: Login-Formular (QR-Code) und Hinweis vor
   dem automatischen Abmelden. Farben wie niedringhaus.net (Leuchtturm-Rot, Troyer-Navy). */
.ums-login .ums-qr { width: 220px; height: 220px; margin: 6px auto; }
.ums-login .ums-qr svg { width: 100%; height: 100%; display: block; }
.ums-login .ums-geheimnis { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 14px; letter-spacing: 1px; overflow-wrap: anywhere; }
.ums-login .ums-hinweis { margin: 12px 0; }
.ums-login .ums-hinweis a { color: #b8322b; }
.ums-login .ums-abbrechen { margin-top: 8px; }

.ums-dialog-hintergrund {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(0, 0, 0, 0.45);
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
.ums-dialog {
  background: #fff; color: #1c2840; border-top: 6px solid #b8322b; border-radius: 10px;
  max-width: 420px; width: 100%; padding: 22px 24px; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 16px; line-height: 1.45;
}
.ums-dialog h2 { margin: 0 0 10px; font-size: 20px; color: #b8322b; }
.ums-dialog p { margin: 0 0 16px; }
.ums-dialog .ums-sekunden { font-weight: 700; font-variant-numeric: tabular-nums; }
.ums-dialog-knoepfe { display: flex; flex-wrap: wrap; gap: 10px; }
.ums-dialog button {
  font: inherit; font-weight: 600; cursor: pointer; border-radius: 6px; padding: 10px 18px;
  border: 1px solid #b8322b; background: #b8322b; color: #eebf3d;
}
.ums-dialog button:hover { background: #9e2a24; border-color: #9e2a24; }
.ums-dialog button.ums-zweitrangig { background: #b8322b; color: #eebf3d; }

/* „Kein Zugang“-Seite (ohne Layout des Tools) */
body.ums-seite { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; max-width: 480px; margin: 60px auto; padding: 0 16px; color: #1c2840; }
body.ums-seite h1 { color: #b8322b; }
body.ums-seite .card { border: 1px solid #e3ded4; border-radius: 10px; padding: 20px; }
body.ums-seite .btn { display: inline-block; background: #b8322b; color: #eebf3d; border: 1px solid #b8322b; border-radius: 6px; padding: 10px 18px; text-decoration: none; font: inherit; font-weight: 600; cursor: pointer; }
body.ums-seite .btn-secondary { background: #b8322b; color: #eebf3d; }

/* Menü „Meine Tools“ in der Kopfzeile (Client::toolsMenue). Aussehen von
   Knopf und Liste kommt vom nav-menu des Tools; hier nur die Logos. */
.nav-menu.ums-tools nav a.ums-tool { display: flex; align-items: center; gap: 10px; }
.nav-menu.ums-tools .ums-tool-logo { width: 24px; height: 24px; object-fit: contain; flex: none; }
.nav-menu.ums-tools .ums-tool-ohne { display: inline-block; border-radius: 6px; background: rgba(184, 50, 43, 0.12); }
@media (max-width: 480px) {
  .nav-menu.ums-tools .ums-tools-lang { display: none; }
}
