.modal-backdrop {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.time-control-modal {
  background: #e5effa;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 30%;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
}

.time-control-modal .form-control,
.time-control-modal fieldset,
.time-control-modal .modal-actions {
  margin-bottom: 15px;
}

.time-control-modal label {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.5em;
  color: #333;
  font-size: 14px;
}

.time-control-modal label input[type='checkbox'],
.time-control-modal label input[type='date'],
.time-control-modal label input[type='text'] {
  padding: 10px;
  margin-top: 0.5em;
  border: 1px solid #bfbfbf;
  border-radius: 4px;
  font-size: 16px;
}

.time-control-modal button {
  padding: 10px 20px;
  // border: none;
  border-radius: 12px;
  cursor: pointer;
  font-size: 16px;
  margin-top: 10px;
}

.time-control-modal button.primary {
  background-color: #ff9b85;
  color: white;
}

.time-control-modal button.secondary {
  background-color: transparent;
  color: #ab1a1a;
  border: 1px solid #bfbfbf;
}

.time-control-modal button:hover {
  opacity: 0.8;
}

.time-control-modal fieldset {
  border: 1px solid #bfbfbf;
  padding: 10px;
}

.time-control-modal fieldset legend {
  padding: 0 5px;
  color: #757575;
  font-size: 16px;
}

.time-control-modal .modal-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.time-control-modal .modal-actions button {
  width: 75%;
}

.time-control-modal .modal-actions button:not(:first-child) {
  margin-top: 10px;
}

.days-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 10px;
}

.days-grid label {
  display: flex;
  align-items: center;
}

#date-picker .date-pickers-container {
  display: flex;
  justify-content: space-between;
}

.date-picker-label {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin: 0 5px;
}

.date-picker-label input[type='date'] {
  width: 100%;
}
