#ttb-wsp-controls {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

#ttb-wsp-schedule-container {
  overflow-x: auto;
  max-width: 100%;
}

#ttb-wsp-schedule-container table {
  border-collapse: collapse;
  width: 100%;
}
#ttb-wsp-schedule-container th, #ttb-wsp-schedule-container td {
  border: 1px solid #ccc;
  padding: 8px;
  min-width: 100px;
  text-align: center;
}
.ttb-wsp-cell {
  min-height: 40px;
  padding: 4px;
  border: 1px solid #ccc;
  resize: vertical;
  overflow: auto;
  font-size: 14px;
  font-family: sans-serif;
}
.ttb-wsp-cell[contenteditable="true"]:focus {
  background-color: #eef;
}

#ttb-wsp-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  display: none; /* start with display none */
  justify-content: center;
  align-items: center;
}

.ttb-wsp-visible {
  display: flex !important;
}

.ttb-wsp-hidden {
  display: none !important;
}

#ttb-wsp-modal {
  background: white;
  padding: 20px;
  width: 300px;
  border-radius: 8px;
  box-shadow: 0 0 10px #000;
}

#ttb-wsp-modal h3 {
  margin-top: 0;
}

.ttb-wsp-modal-buttons {
  margin-top: 15px;
  text-align: right;
}

.ttb-wsp-modal-buttons button {
  margin-left: 10px;
}

.ttb-wsp-cell-btn {
  background-color: #2ecc71;
  color: white;
  border: none;
  padding: 5px 15px;
  cursor: pointer;
}