body {
  margin: 0;
  padding: 0;
  height: 100vh;
  overflow: hidden;
}

#map {
  height: calc(100vh - 56px);
  width: 100%;
  z-index: 1;
}

/* Map styling */
.leaflet-container {
  background: #f5f5f5;
}

/* Custom marker styles */
.custom-marker {
  background-color: #ff4444;
  border: 2px solid white;
  border-radius: 50%;
  width: 12px !important;
  height: 12px !important;
  margin-left: -6px !important;
  margin-top: -6px !important;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
  transition: all 0.2s ease;
  cursor: pointer;
}

.custom-marker:hover {
  transform: scale(1.4);
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.6);
}

/* Marker tooltip */
.leaflet-tooltip {
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 3px;
  font-size: 12px;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.leaflet-tooltip-top:before {
  border-top-color: rgba(0, 0, 0, 0.7);
}

/* Media preview styles */
#mediaPreview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.media-preview-item {
  position: relative;
  width: 100px;
  height: 100px;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
}

.media-preview-item img,
.media-preview-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-preview-item .remove-media {
  position: absolute;
  top: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 20px;
  height: 20px;
  font-size: 12px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.audio-thumbnail {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f9fa;
  font-size: 24px;
}

/* Media capture container */
.capture-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.capture-container video,
.capture-container canvas {
  max-width: 100%;
  max-height: 70vh;
  margin-bottom: 20px;
}

.capture-controls {
  display: flex;
  gap: 10px;
}

/* Experience view styles */
.experience-media-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 15px;
}

/* Toast notification */
.toast-notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 10px 20px;
  border-radius: 4px;
  z-index: 1000;
  transition: opacity 0.5s ease-in-out;
}

.toast-notification.fade-out {
  opacity: 0;
}

/* Modal style improvements to match minimalist map */
.modal-content {
  border-radius: 2px;
  border: none;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.modal-header {
  border-bottom: 1px solid #eee;
}

.modal-footer {
  border-top: 1px solid #eee;
}

.experience-media-item {
  width: 200px;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
}

.experience-media-item img,
.experience-media-item video {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.experience-media-item audio {
  width: 100%;
  margin-top: 10px;
}

.experience-audio-item {
  width: 200px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

/* Geocoder control styles */
.leaflet-control-geocoder {
  box-shadow: 0 1px 5px rgba(0,0,0,0.4);
  background: white;
  border-radius: 4px;
}

.leaflet-control-geocoder input[type="text"] {
  font-size: 16px;
  width: 100%;
  min-width: 250px;
  border: none;
  background-color: #fff;
  padding: 10px;
}

.leaflet-control-geocoder-alternatives {
  width: 100%;
  max-height: 300px;
  overflow-y: auto;
  background-color: white;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.4);
}

.leaflet-control-geocoder-alternatives li {
  padding: 8px 12px;
  border-bottom: 1px solid #f2f2f2;
  cursor: pointer;
}

.leaflet-control-geocoder-alternatives li:hover {
  background-color: #f8f9fa;
}
