.navbar-brand small {
    font-weight: 400;
    opacity: .7;
}
.table-invoices td, .table-invoices th {
    vertical-align: middle;
    white-space: nowrap;
}
.table-invoices .col-customer {
    white-space: normal;
    min-width: 12rem;
}
.amount {
    text-align: right;
    font-variant-numeric: tabular-nums;
}
.badge-source {
    min-width: 2.4rem;
}
.badge-source.src-hrs { background: #e74c3c; }
.badge-source.src-booking { background: #0d6efd; }
.badge-source.src-agoda { background: #8a2624; }
.badge-source.src-expedia { background: #ffd200; color: #000; }
.badge-source.src-sahara { background: #b8860b; }
.part-status.paid { color: #198754; }
.part-status.open { color: #dc3545; }
.form-section-title {
    font-size: .8rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #6c757d;
    font-weight: 600;
}
.calc-output {
    background: #f8f9fa;
}
.sticky-actions {
    position: sticky;
    bottom: 0;
    background: #fff;
    border-top: 1px solid #dee2e6;
    padding: .75rem 0;
    z-index: 10;
}
/* Kennzeichen "Symfony" im Menü (neue Seiten) */
.badge-symfony {
    font-size: .65rem;
    letter-spacing: .04em;
    vertical-align: middle;
}

/* ---- Drucken (Browser) ---- */
.print-only { display: none; }
@media print {
    @page { size: A4 landscape; margin: 12mm; }
    body { background: #fff; font-size: 11px; }
    .navbar, .no-print, .alert, .sf-toolbar { display: none !important; }
    .print-only { display: block !important; }
    main { padding: 0 !important; }
    .card { box-shadow: none; }
    .table-responsive { overflow: visible !important; }
    .table-invoices td, .table-invoices th { padding: .2rem .35rem; }
    a { color: inherit; text-decoration: none; }
    .part-status.paid { color: #198754 !important; }
    .part-status.open { color: #dc3545 !important; }
    thead { display: table-header-group; }
    tr { break-inside: avoid; }
}

/* ---- Belegungsplan ---- */
.occupancy { font-size: .8rem; }
.occupancy th, .occupancy td { padding: .15rem; min-width: 2rem; }
.occupancy .occ-app { position: sticky; left: 0; background: #fff; z-index: 1; min-width: 9rem; white-space: nowrap; }
.occupancy .occ-cell a { color: inherit; text-decoration: none; min-height: 1.6rem; line-height: 1.6rem; overflow: hidden; white-space: nowrap; }
.occupancy .occ-free a:hover { background: #e7f1ff; }
.occupancy .occ-weekend { background: #f6f7f9; }
.occupancy .occ-today { background: #fff3cd; }
.occ-invoice { background: #cfe9d7 !important; }
.occ-reservation { background: #ffe0b8 !important; }
.occ-conflict { background: repeating-linear-gradient(45deg, #f8d7da, #f8d7da 4px, #fff 4px, #fff 8px) !important; }
.occ-legend { display: inline-block; width: 1rem; height: 1rem; border: 1px solid #ccc; vertical-align: middle; }

/* Trix-Editor (freie Rechnungen): keine Dateianhänge */
.rich-text .trix-button-group--file-tools { display: none; }
.rich-text trix-editor { min-height: 10rem; background: #fff; }
.rich-text-view ul, .rich-text-view ol { padding-left: 1.25rem; }

/* Drag & Drop für Uploads (dropzone_controller.js, 2026-11-15) */
.dropzone {
    border: 2px dashed #c7d2fe;
    border-radius: .75rem;
    background: #f8faff;
    padding: 1.75rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: border-color .15s, background-color .15s;
}
.dropzone:hover, .dropzone:focus-visible { border-color: #6366f1; background: #eef2ff; outline: none; }
.dropzone.dropzone-active { border-color: #4f46e5; background: #e0e7ff; }
.dropzone-icon { font-size: 2.25rem; color: #6366f1; display: block; margin-bottom: .25rem; }
.dropzone-list {
    list-style: none; padding: 0; margin: .75rem 0 0;
    display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: .75rem;
}
.dropzone-item {
    position: relative; border: 1px solid #e2e8f0; border-radius: .5rem; background: #fff; padding: .5rem; text-align: center;
}
.dropzone-item img { width: 100%; height: 80px; object-fit: contain; display: block; margin-bottom: .25rem; }
.dropzone-item .bi-file-earmark-pdf { display: block; height: 80px; line-height: 80px; }
.dropzone-remove { position: absolute; top: .15rem; right: .35rem; background: #fff; border-radius: 50%; line-height: 1; }
