/* Beleg-Verwaltung – zusätzliche Stile */

body {
  background-color: var(--bs-tertiary-bg);
}

/* Login-Seite */
.login-box {
  max-width: 420px;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* Thumbnail in der Tabelle */
.inv-thumb {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: .5rem;
  border: 1px solid var(--bs-border-color);
  flex: 0 0 auto;
}

.inv-thumb-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bs-secondary-bg);
  font-size: 1.25rem;
}

/* Statistik-Karten */
.stat-card {
  border-left: .25rem solid var(--bs-primary);
}
.stat-card:nth-child(3) .card { border-left-color: var(--bs-success); }

/* Foto-Body: zentrieren, aber nicht übermäßig groß */
.photo-body {
  min-height: 220px;
  background: var(--bs-tertiary-bg);
}

/* Flash-Stack: Alerts überlappen nicht */
.alert-stack .alert {
  min-width: 260px;
  max-width: 340px;
}

/* Toasts */
#toast-stack .toast {
  pointer-events: auto;
}

/* Auf dem Smartphone: größere Zeilenhöhe in der Tabelle */
@media (max-width: 576px) {
  .table td, .table th {
    padding-top: .65rem;
    padding-bottom: .65rem;
  }
}
