/* *
 * ====================================================================
 * SYSTEM-MODULE: FINANCIAL ACCOUNTING & 3-COL RECEIPT (FiBu-CORE)
 * ====================================================================
 * Pfad: CS/assets/css/fibu.css
 * Verwendung: Kassenbons, Live-Kalkulationen mit 3 Spalten Layout
 * ==================================================================== */

/* Hauptcontainer des Bons (Simuliert den Thermo-Beleg) */

.fibu-receipt-container {
  background-color: #fdfdfb !important;
  border: 1px solid #e3e1dc !important;
  border-radius: 4px !important;
  padding: 24px !important;
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.01) !important;
  font-family: 'Courier New', Courier, monospace !important;
  color: #1a1a1a !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Header-Bereich für Zimmername / Beleg-Titel */

.fibu-receipt-header {
  text-align: center !important;
  margin-bottom: 20px !important;
  font-weight: bold !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  border-bottom: 1px dashed #e3e1dc !important;
  padding-bottom: 10px !important;
  font-size: 14px !important;
}

/* Unerschütterliches Tabellen-Layout für die 3-spaltige BSS-Tabelle */

.fibu-receipt-table {
  width: 100% !important;
  border-collapse: collapse !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Standard-Zellen-Verhalten */

.fibu-receipt-table td, .fibu-receipt-table th {
  padding: 6px 0 !important;
  font-size: 14px !important;
  vertical-align: baseline !important;
  background: none !important;
}

/* Spalte 1: Posten (Linksbuendig) */

.fibu-receipt-table td:nth-child(1), .fibu-receipt-table th:nth-child(1) {
  text-align: left !important;
}

/* Spalte 2: Anzahl (Zentriert mit festem Raum) */

.fibu-receipt-table td:nth-child(2), .fibu-receipt-table th:nth-child(2) {
  text-align: center !important;
  width: 15% !important;
  padding: 0 10px !important;
  color: #666666 !important;
}

/* Spalte 3: Preis (Rechtsbündig) */

.fibu-receipt-table td:nth-child(3), .fibu-receipt-table th:nth-child(3) {
  text-align: right !important;
  font-weight: bold !important;
  white-space: nowrap !important;
  width: 1% !important;
  padding-left: 15px !important;
}

/* Die klassische Trenner-Linie innerhalb einer Tabellenzeile */

.fibu-receipt-divider {
  border: none !important;
  border-top: 2px dashed #8c8c8c !important;
  opacity: 0.5 !important;
  margin: 12px 0 !important;
  height: 0 !important;
  display: block !important;
  width: 100% !important;
}

/* Die finale Summenzeile */

.fibu-total-row td {
  font-size: 18px !important;
  font-weight: 900 !important;
  color: #000000 !important;
  border-top: 1px solid #000000 !important;
  padding-top: 12px !important;
}

