/* Vereins-Kassenbuch – ergänzende Styles zu Bootstrap 5 (lokal gehostet) */
:root { --kb-primary: #1f3b63; }
body { background: #f5f7fb; }
.bg-kb { background: var(--kb-primary) !important; }
.btn-primary { --bs-btn-bg: var(--kb-primary); --bs-btn-border-color: var(--kb-primary); --bs-btn-hover-bg: #17304f; --bs-btn-hover-border-color: #17304f; --bs-btn-active-bg: #122640; }
.kb-main { max-width: 1680px; }
.kb-stat { border-left: 4px solid var(--kb-primary); color: inherit; }
a.kb-stat:hover { box-shadow: 0 .25rem .75rem rgba(0,0,0,.08); }
.kb-quick { border-top: 3px solid var(--kb-primary); }
.kb-quick .form-label { color: #5b6472; font-weight: 600; white-space: nowrap; }
@media (min-width: 1200px) {
  .kb-c-date { width: 10rem; } .kb-c-no { width: 10.5rem; } .kb-c-sphere { width: 13rem; } .kb-c-type { width: 12rem; }
  .kb-c-amount { width: 9.5rem; } .kb-c-saldo { width: 9.5rem; } .kb-c-receipt { width: 10rem; } .kb-c-details { width: 10rem; }
}
#qeSaldo.kb-neg { background: #f8d7da !important; border-color: #dc3545; }
.kb-transit #qeSphere { opacity: .5; }
.kb-journal td { font-size: .9rem; }
.kb-journal .kb-desc { min-width: 14rem; }
.kb-cancelled td { color: #8a8f98; }
.kb-cancelled td.kb-desc, .kb-cancelled td.kb-amt { text-decoration: line-through; }
.kb-cancelled td .badge, .kb-cancelled td .small { text-decoration: none; display: inline-block; }
.kb-storno { background: #fff8e6; }
.kb-receipt-frame { width: 100%; height: 75vh; border: 0; }
.kb-split-table select, .kb-split-table input { min-width: 6rem; }
@media print { .navbar, .kb-quick, footer, form { display: none !important; } body { background: #fff; } }
