html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  font-family: "Segoe UI", sans-serif;
}

#admin-map {
  height: 100vh;
  width: 100vw;
  position: relative;
}

#admin-control-panel {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 1000;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  width: 260px;
  box-sizing: border-box;
}

#admin-control-panel h3 {
  text-align: center;
  font-size: 20px;
  margin-bottom: 20px;
  color: #222;
}

#admin-control-panel label {
  font-weight: 600;
  margin-top: 12px;
  display: block;
  font-size: 14px;
  color: #333;
}

#admin-control-panel input[type="number"] {
  width: 100%;
  padding: 10px 12px;
  margin-top: 6px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  box-sizing: border-box;
  transition: border 0.2s, box-shadow 0.2s;
}

#admin-control-panel input[type="number"]:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
  outline: none;
}

#admin-control-panel button.danger {
  background-color: #e53935;
  color: white;
  border: none;
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s;
  width: 100%;
}

#admin-control-panel button.danger:hover {
  background-color: #c62828;
}

#slot-controls {
  display: none;
}

/* Booking Modal Styling */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  background: #fff;
  padding: 24px;
  border-radius: 10px;
  width: 360px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.modal-content h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 20px;
  text-align: center;
  color: #333;
}

.modal-content h4 {
  font-size: 16px;
  margin-top: 20px;
  margin-bottom: 10px;
  color: #444;
  border-bottom: 1px solid #ddd;
  padding-bottom: 5px;
}

.modal-content input,
.modal-content select,
.modal-content textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 14px;
  box-sizing: border-box;
}

.modal-content input[type="file"] {
  padding: 6px;
  background-color: #f8f8f8;
  border: 1px solid #ccc;
}

.modal-buttons {
  display: flex;
  justify-content: center;
}

.modal-buttons .primary {
  background-color: #4caf50;
  color: white;
  padding: 10px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

#book-slot-btn {
  background-color: #2e7d32;
  color: white;
  border: none;
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: bold;
  width: 100%;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

#book-slot-btn:hover {
  background-color: #1b5e20;
  transform: translateY(-1px);
}

#book-slot-btn:active {
  transform: scale(0.98);
}

#edit-booking-btn {
  background-color: #1976d2;
  color: white;
  border: none;
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: bold;
  width: 100%;
  cursor: pointer;
  transition: background-color 0.3s;
}

#edit-booking-btn:hover {
  background-color: #0d47a1;
}

#grouped-booking-btn {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: bold;
  background-color: #1976d2;
  border: none;
  border-radius: 6px;
  color: white;
  cursor: pointer;
  transition: background-color 0.2s;
}

#grouped-booking-btn:hover {
  background-color: #0d47a1;
}

#bulk-booking-modal.modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#bulk-booking-modal .modal-content {
  background: white;
  padding: 20px;
  border-radius: 8px;
  width: 300px;
}
