.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.form {
  width: 100%;
  max-width: 500px;
  padding: 2rem;
  position: relative;
  background-color: var(--secondary-bg);
  color: var(--text-color);
}

.closeButton {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-color);
  cursor: pointer;
  transition: color 0.3s ease;
}

.closeButton:hover {
  color: var(--hover-color);
}

.formTitle {
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-color);
}

.inputGroup {
  margin-bottom: 1rem;
}

.inputGroup label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.timeInputGroup {
  margin-bottom: 1rem;
}

.timeInputGroup label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.timeInputs {
  display: flex;
  gap: 1rem;
}

.timeInputs input {
  width: calc(50% - 0.5rem);
}

.form input,
.form textarea {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background-color: var(--input-bg);
  color: var(--text-color);
  font-size: 1rem;
}

.form textarea {
  min-height: 100px;
  resize: vertical;
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--hover-color);
}

.form button[type="submit"] {
  width: 100%;
  margin-top: 1rem;
}

