/* Fotokammerl 6.4 · Kundenportal: Linienrahmen wie im Fotokammerl (Vorschau 10.10.2026, freigegeben 16.10.2026)
   Schwarz  = Bereiche und Karten
   Blau     = alles, was man anklicken oder ausfüllen kann
   Rot      = Warnung / überfällig
   Rot-Schwarz doppelt = sehr wichtig (Termin, Zahlung, Anmeldung)
   Die weichen Schatten bleiben. Nur Bildschirm – Ausdruck und PDF bleiben unverändert. */
:root{
  --fk-line-black:#1d1d1f;
  --fk-line-red:#c8161d;
  --fk-line-blue:#1f66d1;
  --fk-line:1px;
}

/* ---------- Bereiche: dünne schwarze Linie ---------- */
html body .page .card,
html body .page .fw-card,
html body .page .fg-card,
html body .page .job-ref,
html body .page .document-item,
html body .page .fw-document-direction,
html body .page .check-item,
html body .page .tip,
html body .page .fw-note,
html body .page .timeline-item:not(.complete):not(.current){
  border:var(--fk-line) solid var(--fk-line-black) !important;
}
/* Aufklappbereiche in einer Karte: keine zweite Linie innen */
html body .page .fw-card > details.fw-secondary,
html body .page .card > details.fw-secondary{border:0 !important}
/* Erledigte und aktuelle Schritte behalten ihre Farbe, aber als klare Linie */
html body .page .timeline-item.complete,
html body .page .timeline-item.current{border-width:var(--fk-line) !important;border-style:solid !important}

/* ---------- Bedienelemente: kräftiges Blau ---------- */
html body .page .btn,
html body .page .fw-primary,
html body .page .doc-action,
html body .page .contact-action,
html body .page .fw-row > button,
html body .page .fw-swim-controls button,
html body .page #fw-focus > a,
html body .page input:not([type=checkbox]):not([type=radio]):not([type=file]),
html body .page select,
html body .page textarea,
html body #fw-customer-back,
html body .access-screen input,
html body .access-screen button{
  border:var(--fk-line) solid var(--fk-line-blue) !important;
}
/* Ablagefläche für Dateien: blau gestrichelt (anklickbar) */
html body .page .fw-drop-zone{border:var(--fk-line) dashed var(--fk-line-blue) !important}

/* ---------- Warnung: Rot ---------- */
html body .page .payment-message.overdue,
html body .page .status-badge.alert,
html body .page .fw-error:not(:empty),
html body .page .notice.error,
html body .page .notice.warn{
  border:var(--fk-line) solid var(--fk-line-red) !important;
}

/* ---------- Sehr wichtig: doppelt Rot (außen) / Schwarz (innen) ---------- */
html body .page .appointment-card,
html body .page .payment-card,
html body .access-shell{
  border:var(--fk-line) solid var(--fk-line-black) !important;
  outline:var(--fk-line) solid var(--fk-line-red) !important;
  outline-offset:3px;
}

/* Sprungziel des Virtuellen Martin bzw. der Neuigkeiten bleibt sichtbar (kräftiges Orange über allen Rahmen) */
html body .page .fw-help-target{outline:3px solid #dc7d2f !important;outline-offset:5px}
