/* ===== HBUCH — Hotelbuchungen ===== */
.hb-tablewrap { border:1px solid var(--border); border-radius:10px; overflow:hidden; }
.hb-table { width:100%; border-collapse:collapse; font-size:13px; background:var(--surface,#fff); }
.hb-table thead th { text-align:left; padding:9px 14px; font-size:11.5px; text-transform:uppercase; letter-spacing:.3px; color:var(--text-muted); background:var(--bg-soft,#f2f4f7); border-bottom:1px solid var(--border); font-weight:600; }
.hb-table th.num, .hb-table td.num { text-align:right; }
.hb-table td { padding:11px 14px; border-top:1px solid var(--border); vertical-align:top; }
.hb-row:hover td { background:var(--bg-soft,#f8fafc); }
.hb-hotel b { font-size:13.5px; color:var(--text); }
.hb-dim { color:var(--text-dim,#9ca3af); font-size:12px; }
.hb-mini { width:13px; height:13px; vertical-align:-2px; margin-right:3px; }
.hb-kond { font-size:12px; color:var(--brand-dark); margin-top:2px; }
.hb-warn { font-size:11.5px; color:#b91c1c; margin-top:2px; }

.hb-status { display:inline-block; padding:2px 9px; border-radius:20px; font-size:11.5px; font-weight:600; }
.hb-status.s-bewilligt { background:#dcfce7; color:#15803d; }
.hb-status.s-beantragt { background:#fef3c7; color:#92400e; }
.hb-status.s-abgelehnt { background:#fee2e2; color:#b91c1c; }

.hb-act { white-space:nowrap; }
.hb-ic { width:16px; height:16px; margin-left:9px; color:var(--text-muted); cursor:pointer; vertical-align:middle; }
.hb-ic:hover { color:var(--brand-dark); }
.hb-ic.del:hover { color:#dc2626; }
.hb-empty { text-align:center; color:var(--text-muted); padding:26px 14px; }
.hb-foot { display:flex; align-items:center; gap:6px; font-size:12px; color:var(--text-dim,#9ca3af); margin-top:12px; }

/* Editor */
.hb-edit td { background:var(--brand-soft,#e0f2fe) !important; padding:0 !important; }
.hb-form { padding:16px; }
.hb-f-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.hb-f-grid label { display:flex; flex-direction:column; gap:4px; font-size:11.5px; font-weight:600; color:var(--text-muted); }
.hb-f-grid label.wide { grid-column:span 2; }
.hb-f-grid label.full { grid-column:1 / -1; }
.hb-f-grid input, .hb-f-grid select, .hb-f-grid textarea { padding:7px 10px; border:1px solid var(--border); border-radius:8px; font-size:13px; font-weight:400; color:var(--text); background:#fff; }
.hb-f-grid input:focus, .hb-f-grid select:focus, .hb-f-grid textarea:focus { outline:none; border-color:var(--brand); }
.hb-f-grid textarea { resize:vertical; font-family:inherit; }
.hb-f-actions { display:flex; gap:8px; margin-top:14px; }
@media (max-width:900px) { .hb-f-grid { grid-template-columns:repeat(2,1fr); } .hb-f-grid label.wide { grid-column:span 2; } }
.hb-f-hint { display:flex; align-items:center; gap:6px; font-size:12px; color:var(--text-muted); margin-top:12px; }
.hb-ic.active { color:var(--brand-dark); }
.hb-sortable { cursor:pointer; user-select:none; white-space:nowrap; }
.hb-sortable:hover { color:var(--brand-dark); }
.hb-row.hb-clk { cursor:pointer; }
.hb-caret { width:14px; height:14px; vertical-align:-2px; margin-right:4px; color:var(--text-muted); }

/* Versand an MA */
.hb-versand-sec { margin-top:14px; border-top:1px solid var(--border); padding-top:12px; }
.hb-versand { display:flex; flex-direction:column; gap:8px; }
.hb-versand-row { font-size:12.5px; }
.hb-att-list { display:flex; flex-direction:column; gap:4px; margin-top:4px; }
.hb-att { display:inline-flex; align-items:center; gap:6px; font-size:12.5px; font-weight:400; }
.hb-att input { width:auto; }

/* Zimmer-Anlage (Check-in-Code) */
.hb-rbeleg td { background:#f8fafc !important; }
.hb-rbeleg-box { padding:10px 12px; border-left:3px solid var(--brand); }

/* Zimmer-Panel */
.hb-room-panel td { background:#f8fafc !important; padding:0 !important; border-top:none !important; }
.hb-rp { padding:14px 16px 18px; border-left:3px solid var(--brand); }
.hb-rp-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:10px; font-size:13.5px; color:var(--text); }
.hb-rp-head > span { display:flex; align-items:center; gap:6px; }
.btn.sm { padding:5px 10px; font-size:12px; }
.hb-rtable { width:100%; border-collapse:collapse; font-size:12.5px; background:var(--surface,#fff); border:1px solid var(--border); border-radius:8px; overflow:hidden; }
.hb-rtable thead th { text-align:left; padding:7px 10px; font-size:11px; text-transform:uppercase; letter-spacing:.3px; color:var(--text-muted); background:var(--bg-soft,#f2f4f7); border-bottom:1px solid var(--border); font-weight:600; }
.hb-rtable td { padding:8px 10px; border-top:1px solid var(--border); vertical-align:top; }
.hb-rtable a { color:var(--brand-dark); text-decoration:none; }
.hb-rtable a:hover { text-decoration:underline; }
.hb-redit td { background:var(--brand-soft,#e0f2fe) !important; }
.hb-rform { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; padding:12px; }
.hb-rform label { display:flex; flex-direction:column; gap:4px; font-size:11px; font-weight:600; color:var(--text-muted); }
.hb-rform label.wide { grid-column:span 2; }
.hb-rform label.full { grid-column:1 / -1; }
.hb-rform input { padding:7px 10px; border:1px solid var(--border); border-radius:8px; font-size:13px; font-weight:400; color:var(--text); background:#fff; }
.hb-rform input:focus { outline:none; border-color:var(--brand); }
.hb-rform-actions { grid-column:1 / -1; display:flex; gap:8px; }
@media (max-width:900px){ .hb-rform { grid-template-columns:repeat(2,1fr); } }

/* Bestätigungs-Ablage */
.hb-beleg-sec { margin-top:14px; border-top:1px solid var(--border); padding-top:12px; }
.hb-beleg-lbl { display:flex; align-items:center; gap:6px; font-size:11.5px; font-weight:600; color:var(--text-muted); margin-bottom:8px; }

/* MA-Belegung (Chips + Zeitraum-Popover) */
.hb-ma-cell { min-width:170px; }
.hb-ma-chip { display:inline-flex; align-items:center; gap:4px; background:var(--brand-soft,#e0f2fe); color:var(--brand-dark); border-radius:20px; padding:2px 8px; font-size:11.5px; margin:0 4px 4px 0; cursor:pointer; }
.hb-ma-per { color:var(--text-muted); font-size:11px; }
.hb-ma-per.teil { color:#b45309; font-weight:600; }
.hb-ma-chip i { width:12px; height:12px; }
.hb-ma-chip i:hover { color:#dc2626; }
.hb-chip-send { color:var(--brand-dark) !important; }
.hb-chip-send:hover { color:var(--brand) !important; }
.hb-ma-add { border:1px dashed var(--border-strong,#cbd5e1); background:#fff; border-radius:20px; min-width:24px; height:22px; cursor:pointer; color:var(--text-muted); vertical-align:middle; }
.hb-ma-add:hover { border-color:var(--brand); color:var(--brand-dark); }
.hb-ma-add i { width:13px; height:13px; }
.hb-pop { position:fixed; z-index:1000; background:var(--surface,#fff); border:1px solid var(--border-strong,#cbd5e1); border-radius:10px; box-shadow:0 10px 30px rgba(0,0,0,.18); padding:14px; width:230px; display:flex; flex-direction:column; gap:8px; }
.hb-pop-t { font-size:13px; font-weight:600; color:var(--text); }
.hb-pop label { display:flex; flex-direction:column; gap:3px; font-size:11.5px; font-weight:600; color:var(--text-muted); }
.hb-pop input { padding:6px 9px; border:1px solid var(--border); border-radius:8px; font-size:13px; }
.hb-pop-btns { display:flex; gap:8px; justify-content:flex-end; margin-top:4px; }
