body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  transition: background-color 0.3s, color 0.3s;
}

.top-bar {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  padding: 8px 12px;
  border-radius: 4px;
  color: #333333;
  font-weight: bold;
  display: flex;
  gap: 10px;
  align-items: center;
}

.theme-button {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 2px 6px;
}

#map {
  width: 100vw;
  height: 100vh;
}

/* Modale */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  overflow-y: auto;
}

.modal {
  background: white;
  border-radius: 8px;
  width: 80%;
  max-width: 800px;
  max-height: 80vh;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #ddd;
}

.modal-header h2 {
  margin: 0;
  font-size: 1.5rem;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 5px 10px;
}

.modal-close:hover {
  color: #666;
}

/* Onglets */
.onglets {
  display: flex;
  background: #f0f0f0;
  border-bottom: 1px solid #ddd;
  padding: 0 20px;
}

.tab {
  padding: 12px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  border-bottom: 3px solid transparent;
  margin-right: 5px;
}

.tab:hover {
  background: #e0e0e0;
}

.tab.active {
  background: white;
  border-bottom-color: #0066cc;
  font-weight: bold;
}

.tab-content {
  padding: 20px;
  max-height: calc(80vh - 150px);
  overflow-y: auto;
}

.content {
  display: none;
}

.content.active {
  display: block;
}

/* Sélecteur de fuseau horaire */
.timezone-selector {
  position: absolute;
  top: 50px;
  right: 10px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  padding: 10px 15px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
}

.timezone-selector select {
  padding: 5px 8px;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 0.9rem;
  cursor: pointer;
}

.timezone-selector #selected-time {
  font-family: monospace;
  font-size: 1.1rem;
}
