/* edit_modal.css */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: #fff;
  padding: 20px 30px;
  border-radius: 4px;
  width: 500px;
  max-width: 90%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  position: relative;
}

.modal-content h2 {
  margin-top: 0;
  margin-bottom: 15px;
  text-align: center;
}

.form-group {
  margin-bottom: 15px;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.half-width {
  flex: 1;
  min-width: 200px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 8px;
  box-sizing: border-box;
  font-size: 0.9em;
}

.full-width {
  flex: 0 0 100%;
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.checkbox-row {
  display: flex;
  gap: 15px;
  flex-wrap: nowrap;
}

.checkbox-label {
  font-size: 0.9em;
  padding: 5px;
}


/* Narrow style for Days of Week */
.checkbox-group.narrow label {
  flex: 1;
  font-size: 0.9em;
  min-width: 54px;
  text-align: center;
}

.modal-actions {
  text-align: right;
  margin-top: 10px;
}

.modal-actions button {
  padding: 8px 12px;
  margin-left: 10px;
  font-size: 0.9em;
  cursor: pointer;
}
