/* Feld-App — Ergänzungen zum dunklen App-Theme aus theme.css */
html, body { background: var(--color-bg-field); }

/* Login */
.login-field { display: flex; flex-direction: column; gap: var(--sp-4); padding: var(--sp-2); }
.login-field h1 { color: #fff; font-size: var(--fs-h1); }
.login-field .field__input {
  background: #18222F; border-color: #34465A; color: #EAF0F6; min-height: 52px;
}
.login-field .field__label { color: #A9BACB; }

/* Auftragskarte */
.ord { display: flex; flex-direction: column; gap: var(--sp-3); }
.ord__row { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); }
.ord__btn { margin-top: var(--sp-1); }

/* Sektion-Überschrift im dunklen Body */
.fsection { color: #A9BACB; font-size: var(--fs-label); font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; margin: var(--sp-3) var(--sp-1) 2px; }

/* Foto-Thumbnail */
.photo-thumb { position: relative; aspect-ratio: 1/1; border-radius: var(--radius-lg); overflow: hidden; background: #233040; }
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-thumb .tag { position: absolute; left: 6px; bottom: 6px; right: 6px; font-size: 10px; color: #fff;
  background: linear-gradient(to top, rgba(8,12,17,.9), transparent); padding: 12px 6px 5px; line-height: 1.3; }

/* Signatur-Canvas */
#sigCanvas { width: 100%; height: 160px; touch-action: none; border-radius: var(--radius-md);
  background: #fff; border: 1px solid var(--color-line-strong); display: block; }

/* Toasts (wie Adminkonsole) */
.toasts { position: fixed; left: 50%; transform: translateX(-50%); bottom: 84px; display: flex; flex-direction: column;
  gap: var(--sp-2); z-index: 50; width: 360px; max-width: 92vw; }
.toast { background: #1B2735; color: #fff; padding: var(--sp-3) var(--sp-4); border-radius: var(--radius-md);
  box-shadow: var(--shadow-2); font-weight: 600; font-size: var(--fs-body); border: 1px solid #314558; }
.toast--success { background: var(--color-success); border-color: transparent; }
.toast--danger { background: var(--color-danger); border-color: transparent; }

/* Vierstufige Checkliste: 2x2-Raster + Mangel (amber) */
.check-opts.four { grid-template-columns: repeat(2, 1fr); }
.check-opt--warn.is-active { background: var(--color-warning-bg); color: var(--color-warning); border-color: var(--color-warning); }
.note-inp { width: 100%; margin-top: 10px; min-height: 46px; padding: 0 12px; border-radius: 8px;
  background: #121C28; border: 1px solid #34465A; color: #EAF0F6; font-size: 15px; }
.note-inp::placeholder { color: #6B7C8E; }

/* QR-Scanner-Overlay */
.scan-ov { position: fixed; inset: 0; z-index: 60; background: #000;
  display: flex; flex-direction: column; align-items: center; justify-content: center; }
.scan-ov video { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.scan-frame { position: relative; z-index: 2; width: 240px; height: 240px;
  border: 3px solid #fff; border-radius: 16px; box-shadow: 0 0 0 9999px rgba(0,0,0,.45); }
.scan-close { position: absolute; bottom: 40px; z-index: 3; }

.muted-d { color: #93A4B6; }
.center-empty { text-align: center; color: #93A4B6; padding: var(--sp-10) var(--sp-4); }
