body {
  font-family: 'Segoe UI', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Noto Sans JP',
    Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 20px;
  background-color: #f4f7f6;
  color: #333;
}

h1 {
  color: #2c3e50;
  text-align: center;
  margin-bottom: 5px;
}

.zoom-info {
  text-align: center;
  margin-bottom: 25px;
  font-size: 0.85em;
  color: #555;
  font-weight: bold;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

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

.date-selector button {
  background-color: #3498db;
  color: white;
  border: none;
  padding: 8px 12px;
  margin: 0 5px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
}

.date-selector button:hover {
  background-color: #2980b9;
}

.date-selector input[type='date'] {
  padding: 8px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 16px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

th,
td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: center;
}

th {
  background-color: #ecf0f1;
  color: #2c3e50;
}

td.available {
  background-color: #e6ffe6;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

td.available:hover {
  background-color: #d4f7d4;
}

td.available.is-selected {
  background-color: #a8ecc0;
  box-shadow: inset 0 0 0 2px #2ecc71;
}

td.reserved {
  background-color: #ffe6e6;
  color: #888;
}

.time-slot {
  font-weight: bold;
  color: #555;
}

.hidden {
  display: none !important;
}

.no-slots {
  text-align: center;
  color: #777;
  padding: 20px 0;
}

.form-section {
  margin-top: 30px;
  border-top: 1px solid #eee;
  padding-top: 20px;
}

.form-section h2 {
  color: #2c3e50;
  text-align: center;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.form-group input,
.form-group select {
  width: calc(100% - 22px);
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  font-family: inherit;
  box-sizing: content-box;
}

.form-group select {
  appearance: none;
  background: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%204%205%22%3E%3Cpath%20fill%3D%22%23333%22%20d%3D%22M2%200L0%202h4zm0%205L0%203h4z%22%2F%3E%3C%2Fsvg%3E')
    no-repeat right 10px center / 12px 10px;
  background-color: white;
}

button[type='submit'] {
  background-color: #2ecc71;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 18px;
  width: 100%;
  margin-top: 20px;
}

button[type='submit']:hover:not(:disabled) {
  background-color: #27ae60;
}

button[type='submit']:disabled {
  background-color: #95d9b3;
  cursor: not-allowed;
}

.message {
  text-align: center;
  margin-top: 20px;
  padding: 10px;
  border-radius: 5px;
  font-weight: bold;
  white-space: pre-line;
}

.message.success {
  background-color: #d4edda;
  color: #155724;
}

.message.error {
  background-color: #f8d7da;
  color: #721c24;
}

.message.info {
  background-color: #eaf3ff;
  color: #1a6fd6;
}

#loading-indicator {
  display: none;
  text-align: center;
  margin-top: 20px;
  color: #555;
}

.bookings-list-section {
  margin-top: 40px;
  border-top: 1px solid #eee;
  padding-top: 20px;
}

.bookings-list-section h2 {
  color: #2c3e50;
  text-align: center;
  margin-bottom: 20px;
}

#bookingsListLoading {
  text-align: center;
  color: #555;
}

.bookings-list-section table {
  margin-top: 0;
}

@media (max-width: 600px) {
  body {
    padding: 10px;
  }
  .container {
    padding: 14px;
  }
  .form-group input,
  .form-group select {
    width: calc(100% - 20px);
  }
}
