body {
  font-family: Arial, sans-serif;
  margin: 20px;
}

html, body {
  margin: 0;
  height: 100%;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
}

.header {
  text-align: center;
  margin-bottom: 20px;
}

.help-button, .person-selector .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 20px;
  margin: 0 10px;
  background-color: #007BFF;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
  box-sizing: border-box;
}
.help-button:hover, .person-selector .button:hover {
  background-color: #0056b3;
}
.active.help-button, .person-selector .active.button {
  background-color: #004a99;
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
@media (max-width: 320px) {
  .help-button, .person-selector .button {
    height: 32px;
    padding: 0 15px;
    margin: 0 5px;
    font-size: 0.9rem;
  }
}

.person-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}
.schedule-container {
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.table-container {
  position: relative;
  overflow-y: auto;
}

#schedule-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.schedule-item {
  position: absolute;
  pointer-events: auto;
  background-color: rgba(0, 123, 255, 0.2);
  border: 1px solid rgba(0, 123, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  box-sizing: border-box;
  border-radius: 8px;
  width: 100%;
  height: 100%;
}
.schedule-item .schedule-content {
  text-align: center;
  word-break: keep-all;
  word-wrap: break-word;
  width: 100%;
  font-size: 0.7em;
}

.schedule-grid {
  width: 100%;
  max-width: 1200px;
  box-sizing: border-box;
  border-collapse: collapse;
  background: white;
  position: relative;
  margin-top: 5px;
  table-layout: fixed;
}
.schedule-grid th {
  height: 25px;
  font-weight: bold;
  background-color: #f8f9fa;
}
.schedule-grid th, .schedule-grid td {
  border: 1px solid #ddd;
  padding: 0px;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  word-wrap: break-word;
}
.schedule-grid .time-cell {
  width: 45px;
  height: 15px;
  background-color: #f8f9fa;
  vertical-align: middle;
  font-size: 12px;
  border: 1px solid #ddd;
  padding: 2px;
}
.schedule-grid .day-cell {
  width: calc((100% - 45px) / 5);
  max-width: calc((1200px - 45px) / 5);
}
.schedule-grid .schedule-cell {
  box-sizing: border-box;
  width: calc((100% - 45px) / 5);
  max-width: calc((1200px - 45px) / 5);
  position: relative;
  height: 15px;
  cursor: pointer;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
}
.schedule-grid .schedule-cell.hour-start {
  border-top: 1px solid #ddd;
}
.schedule-grid .schedule-cell.minute-line {
  border-top: 1px dashed #f7f7f7;
}
.schedule-grid .schedule-cell:last-child {
  border-bottom: 1px solid #ddd;
}

.schedule-grid thead th {
  position: sticky;
  top: 0;
  z-index: 10;
}

.edit-container {
  max-width: 600px;
  margin: 2rem auto;
  padding: 1rem;
}
@media (max-width: 768px) {
  .edit-container {
    margin: 1rem;
  }
}

.edit-form {
  max-width: 600px;
  margin: 20px auto;
  padding: 2rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.edit-form h1 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  text-align: center;
}
.edit-form .form-group {
  margin-bottom: 1.5rem;
}
.edit-form .form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}
.edit-form .form-group select,
.edit-form .form-group input[type=text],
.edit-form .form-group input,
.edit-form .form-group textarea {
  width: 100%;
  height: 44px;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}
.edit-form .form-group select:focus,
.edit-form .form-group input[type=text]:focus,
.edit-form .form-group input:focus,
.edit-form .form-group textarea:focus {
  outline: none;
  border-color: #4A90E2;
}
.edit-form .form-group textarea {
  min-height: 50px;
  resize: vertical;
}
.edit-form .form-group input[readonly] {
  height: 25px;
  width: 100px;
  padding: 0.5rem 0.75rem;
  line-height: normal;
  resize: none;
}
.edit-form .button-group {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}
@media (max-width: 480px) {
  .edit-form .button-group {
    flex-direction: column;
  }
}
.edit-form .button-group .button,
.edit-form .button-group button {
  flex: 1;
  height: 44px;
  padding: 0.75rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s;
}
.edit-form .button-group .button.save, .edit-form .button-group .button.btn-primary,
.edit-form .button-group button.save,
.edit-form .button-group button.btn-primary {
  background-color: #007BFF;
  color: white;
}
.edit-form .button-group .button.save:hover, .edit-form .button-group .button.btn-primary:hover,
.edit-form .button-group button.save:hover,
.edit-form .button-group button.btn-primary:hover {
  background: #2275d7;
}
.edit-form .button-group .button.delete, .edit-form .button-group .button.btn-danger,
.edit-form .button-group button.delete,
.edit-form .button-group button.btn-danger {
  background-color: #dc3545;
  color: white;
}
.edit-form .button-group .button.delete:hover, .edit-form .button-group .button.btn-danger:hover,
.edit-form .button-group button.delete:hover,
.edit-form .button-group button.btn-danger:hover {
  background: #d72222;
}
.edit-form .button-group .button.cancel, .edit-form .button-group .button.btn-secondary,
.edit-form .button-group button.cancel,
.edit-form .button-group button.btn-secondary {
  background-color: #6c757d;
  color: white;
}
.edit-form .button-group .button.cancel:hover, .edit-form .button-group .button.btn-secondary:hover,
.edit-form .button-group button.cancel:hover,
.edit-form .button-group button.btn-secondary:hover {
  background: #545b62;
}
.edit-form .time-select-group {
  display: flex;
  gap: 10px;
}
.edit-form .time-select-group select {
  flex: 1;
  height: 44px;
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}
.edit-form .time-select-group select:focus {
  outline: none;
  border-color: #007BFF;
}
.edit-form .form-group select {
  width: 100%;
  height: 44px;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}
.edit-form .form-group select:focus {
  outline: none;
  border-color: #007BFF;
}
.edit-form .form-group select option {
  padding: 0.5rem;
}

@media (max-width: 320px) {
  .edit-form .button-group {
    flex-direction: column;
  }
}
.help-button {
  height: 38px;
  width: 38px;
  padding: 0;
  margin-left: 10px;
  border-radius: 100% !important;
  font-weight: bold;
  text-align: center;
  border: none;
  outline: none;
  appearance: none;
  vertical-align: middle;
  background-color: darkolivegreen !important;
}
@media (max-width: 320px) {
  .help-button {
    height: 32px;
    width: 32px;
  }
}

/*# sourceMappingURL=style.css.map */
