/* assets/app.css */
.dienstplan-wrap {
  max-height: calc(100vh - 220px);
  overflow: auto;
}

.dienstplan-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--bs-body-bg);
}

.dienstplan-table th.name-col {
  position: sticky;
  left: 0;
  z-index: 3;
  background: var(--bs-body-bg);
  min-width: 220px;
}

.dienstplan-table td.name-col {
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--bs-body-bg);
  min-width: 220px;
  font-weight: 600;
}

.dienstplan-table td.cell {
  min-width: 70px;
  padding: 0;
}

.dienstplan-table input.cell-input {
  width: 100%;
  border: 0;
  padding: .35rem .4rem;
  background: transparent;
  outline: none;
}

.dienstplan-table input.cell-input:focus {
  box-shadow: inset 0 0 0 2px rgba(13,110,253,.25);
  background: rgba(13,110,253,.05);
}


/* Gesamtspalte */
.dienstplan-table th:last-child,
.dienstplan-table td:last-child {
  min-width: 90px;
  background: rgba(0,0,0,.02);
}


/* Zelle: Zeit + (Dezimalstunden) darunter */
.dienstplan-table td.cell { padding: .15rem; }
.cell-wrap { display: flex; flex-direction: column; gap: .1rem; }
.cell-hours { line-height: 1; }


/* Dienstwochenenden (alle 14 Tage ab 2026-02-07/08) */
.dienstplan-table th.dienst-wochenende,
.dienstplan-table td.dienst-wochenende {
  background: rgba(13,110,253,.08);
}
