/* GIS Dashboard Custom Styles */

/* Marker Cluster Styles */
.marker-cluster-small {
  background-color: rgba(110, 204, 57, 0.6);
}

.marker-cluster-small div {
  background-color: rgba(110, 204, 57, 0.8);
  color: white;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  width: 100%;
  height: 100%;
}

.marker-cluster-medium {
  background-color: rgba(241, 211, 87, 0.6);
}

.marker-cluster-medium div {
  background-color: rgba(241, 211, 87, 0.8);
  color: white;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  width: 100%;
  height: 100%;
}

.marker-cluster-large {
  background-color: rgba(253, 156, 115, 0.6);
}

.marker-cluster-large div {
  background-color: rgba(253, 156, 115, 0.8);
  color: white;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  width: 100%;
  height: 100%;
}

.marker-cluster {
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Custom Marker Styles */
.custom-marker {
  animation: markerBounce 0.5s ease-in-out;
}

@keyframes markerBounce {
  0% {
    transform: translateY(-10px);
    opacity: 0;
  }
  50% {
    transform: translateY(5px);
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Distance Marker Styles */
.distance-marker {
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }
}

/* Leaflet Popup Customization */
.leaflet-popup-content-wrapper {
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.leaflet-popup-content {
  margin: 0;
  min-width: 200px;
}

.leaflet-popup-content h3 {
  margin: 0 0 10px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid #1976d2;
}

.leaflet-popup-content table {
  width: 100%;
  border-collapse: collapse;
}

.leaflet-popup-content table td {
  padding: 4px 8px;
  border: none;
}

.leaflet-popup-content table tr:nth-child(even) {
  background-color: #f5f5f5;
}

/* Map Control Styles */
.leaflet-control-zoom {
  border: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.leaflet-control-zoom a {
  border-radius: 4px;
  transition: all 0.2s ease;
}

.leaflet-control-zoom a:hover {
  background-color: #1976d2 !important;
  color: white !important;
}

/* Heatmap Gradient Override */
.leaflet-heatmap-layer {
  opacity: 0.7;
}

/* Loading Animation */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .leaflet-popup-content {
    min-width: 150px;
  }
  
  .marker-cluster div span {
    font-size: 12px;
  }
}

/* Map Container */
.leaflet-container {
  font-family: 'Roboto', sans-serif;
}

/* Attribution Control */
.leaflet-control-attribution {
  font-size: 10px;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 2px 8px;
  border-radius: 4px;
}

/* 
Custom styles for InspectionReportList Photo Viewer 
Ensures PhotoView appears above Material-UI Dialog
*/

.PhotoView-Portal {
  z-index: 9999 !important;
}

.PhotoView-Backdrop {
  z-index: 9998 !important;
  backdrop-filter: blur(8px);
}

.PhotoView-PhotoWrap {
  z-index: 9999 !important;
}

.PhotoView-PhotoBox {
  z-index: 9999 !important;
}

.PhotoView-PhotoSlider {
  z-index: 9999 !important;
}

.PhotoView-Footer {
  z-index: 9999 !important;
}

.photo-thumbnail {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
              box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.photo-thumbnail:hover {
  transform: scale(1.05) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
}

.photo-overlay {
  transition: opacity 0.3s ease !important;
}

.photo-zoom-icon {
  transition: transform 0.3s ease !important;
}

.custom-photo-provider .PhotoView-Portal {
  z-index: 9999 !important;
}

.custom-photo-provider .PhotoView-Backdrop {
  z-index: 9998 !important;
}

.image-grid-container::-webkit-scrollbar {
  width: 8px;
}

.image-grid-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.image-grid-container::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

.image-grid-container::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

.thumbnail-loading {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.custom-photo-toolbar {
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.custom-photo-toolbar .MuiIconButton-root {
  color: white;
  transition: background-color 0.2s ease;
}

.custom-photo-toolbar .MuiIconButton-root:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.image-description-overlay {
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.PhotoView-PhotoSlider .PhotoView-PhotoBox {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.PhotoView-Backdrop {
  backdrop-filter: blur(12px) !important;
  background: rgba(0, 0, 0, 0.85) !important;
}

@media (max-width: 600px) {
  .photo-thumbnail {
    border-radius: 8px;
  }
  
  .custom-photo-toolbar {
    padding: 4px;
    gap: 4px;
  }
  
  .image-description-overlay {
    max-width: 95% !important;
    font-size: 0.75rem;
  }
  
  .PhotoView-PhotoBox {
    padding: 10px !important;
  }
}


/*# sourceMappingURL=main.7c8b5d932bee6a0789be.css.map*/