body {
  background: #f5f7fb;
}

.table input {
  min-width: 90px;
}

#planning-table th,
#planning-table td {
  white-space: nowrap;
}

#planning-table tbody td {
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

#planning-table tbody td .form-control {
  min-height: 2.2rem;
}

#planning-table td:nth-child(4) input,
#planning-table td:nth-child(16) input {
  min-width: 180px;
}

#planning-table td:nth-child(9) input,
#planning-table td:nth-child(14) input,
#planning-table td:nth-child(15) input,
#planning-table td:nth-child(17) input {
  min-width: 130px;
}

#planning-table-container {
  overflow-x: auto;
  overflow-y: auto;
  max-height: calc(100vh - 260px);
}

#planning-table tbody tr:nth-child(odd) {
  --bs-table-bg: #f8fbff;
}

#planning-table tbody tr:nth-child(even) {
  --bs-table-bg: #eef4ff;
}

#fixed-scrollbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  background: rgba(255, 255, 255, 0.92);
  border-top: 1px solid #cfd8ea;
  z-index: 1100;
}

#fixed-scrollbar-inner {
  height: 1px;
}

body {
  padding-bottom: 20px;
}

#planning-table thead tr:first-child th {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #f8f9fa;
}

#planning-table thead tr:nth-child(2) th {
  position: sticky;
  top: 42px;
  z-index: 19;
  background: #f8f9fa;
}
