/* Mahnwesen App — überschreibt minimal das Design-System */

.empty-placeholder {
  margin-top: 40px;
  padding: 32px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  text-align: center;
}
.empty-placeholder h2 { margin: 0 0 8px; font-weight: 500; }
.empty-placeholder p { margin: 8px 0; }
.empty-placeholder code {
  background: rgba(255, 255, 255, 0.08);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.85em;
}
.stat-value.yellow { color: #FF9F0A; }
.stat-value.red    { color: #FF453A; }
.stat-value.green  { color: #30D158; }

.nav-badge-warning { background: rgba(255, 159, 10, 0.18); color: #FFB340; }
.nav-badge-danger  { background: rgba(255, 69, 58, 0.18);  color: #FF453A; }
.nav-badge-success { background: rgba(48, 209, 88, 0.18);  color: #30D158; }

.search-row { margin: 16px 0; }
.almas-loading { padding: 24px; text-align: center; color: var(--text-secondary, #888); }

.amount { text-align: right; white-space: nowrap; }
.almas-table td code, .modal-body code {
  background: rgba(255, 255, 255, 0.06);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 0.9em;
}
.almas-table small.text-secondary { color: #888; font-size: 0.78em; }

/* Modal */
.almas-modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: none;
  z-index: 9999;
  overflow: auto;
  padding: 40px 20px;
}
.almas-modal-backdrop.open { display: flex; align-items: flex-start; justify-content: center; }
.almas-modal {
  background: #1D1D1F;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  max-width: 760px;
  width: 100%;
  color: var(--text-primary, #fff);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.almas-modal header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.almas-modal header h2 { margin: 0; font-size: 1.15rem; font-weight: 500; }
.almas-modal .modal-body { padding: 18px 20px; }
.almas-modal section { margin-bottom: 18px; }
.almas-modal section h3 {
  margin: 0 0 6px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #888;
  font-weight: 600;
}
.almas-modal section > div { margin: 2px 0; font-size: 0.95rem; }
.actions-row {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.dunning-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
}
.dunning-timeline li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.92rem;
}
.dunning-timeline li:last-child { border-bottom: none; }
.dunning-timeline a { color: #0A84FF; text-decoration: none; }
.dunning-timeline a:hover { text-decoration: underline; }

.callout-danger {
  margin: 16px 0; padding: 12px;
  background: rgba(255, 59, 48, 0.08);
  border: 1px solid #FF453A;
  border-radius: 8px;
  color: #FF6B61;
}
