/* Only keep custom styles for map and frosted glass panels. Tailwind handles layout/colors. */
html, body, #map {
  height: 100%;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Inter', Arial, sans-serif;
  background: #181a1b;
  color: #f3f4f6;
  min-height: 100vh;
  overflow: hidden;
}
#map {
  width: 100vw;
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  border-radius: 0;
}
.frosted {
  background: rgba(36, 38, 43, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.floating-panel {
  box-shadow: 0 4px 32px 0 rgb(0 0 0 / 0.18);
  border-radius: 1.25rem;
}
.slide-panel {
  transition: transform 0.3s cubic-bezier(.4,0,.2,1), opacity 0.3s;
}
.slide-panel.closed {
  transform: translateX(110%);
  opacity: 0;
  pointer-events: none;
}
.slide-panel.open {
  transform: translateX(0);
  opacity: 1;
}

/* Custom marker styles */
.custom-marker {
  background: none !important;
  border: none !important;
}

.custom-marker div {
  transition: all 0.2s ease-in-out;
}

.custom-marker div:hover {
  transform: scale(1.2);
  box-shadow: 0 0 15px rgba(0,0,0,0.4);
}

/* Warning marker styles */
.warning-marker {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 16px;
}

.warning-marker.yellow {
  background-color: #f59e0b;
}

.warning-marker.red {
  background-color: #ef4444;
}

/* Priority colors */
.priority-high {
  background-color: #ef4444 !important;
}

.priority-medium {
  background-color: #f59e0b !important;
}

.priority-low {
  background-color: #10b981 !important;
}

/* Alert panel styles */
.alert-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.alert-type {
  font-weight: 600;
  color: #e5e7eb;
}

.alert-priority {
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.priority-High {
  background-color: #ef4444;
  color: white;
}

.priority-Medium {
  background-color: #f59e0b;
  color: white;
}

.priority-Low {
  background-color: #10b981;
  color: white;
}

.alert-issue {
  color: #d1d5db;
  margin-bottom: 0.5rem;
}

.alert-source {
  color: #9ca3af;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.solution-btn {
  width: 100%;
  padding: 0.5rem;
  background-color: #374151;
  color: #9ca3af;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  cursor: not-allowed;
}

.grid-overlay {
  pointer-events: none;
  position: absolute;
  top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: 2;
  opacity: 0.18;
  background-image: linear-gradient(90deg,rgba(255,255,255,0.18) 1px,transparent 1px),linear-gradient(180deg,rgba(255,255,255,0.18) 1px,transparent 1px);
  background-size: 80px 80px;
}

#alertsList {
  font-size: 0.875rem;
  color: #e5e7eb;
  overflow-y: auto;
  flex: 1;
}

#alertsList li {
  padding: 1rem;
  background: rgba(35, 37, 42, 0.5);
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
}

.alert-item {
  margin-bottom: 1rem;
  padding: 1rem;
  background: rgba(35, 37, 42, 0.5);
  border-radius: 0.5rem;
}

.alert-item:last-child {
  margin-bottom: 0;
}
