* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family:
    "Source Sans Pro", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #f0f5ff;
  color: #333;
}

.container {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

.header {
  background: linear-gradient(135deg, #1e5799 0%, #207cca 100%);
  color: white;
  padding: 15px 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 5px;
}

.logo h1 {
  font-size: 1.5rem;
  font-weight: 600;
}

.logo-icon {
  font-size: 1.8rem;
}

.logo span img {
  height: 35px;
  width: 35px;
  vertical-align: middle;
  mix-blend-mode: plus-lighter;
  margin-top: -5px;
}

.search-container {
  display: flex;
  gap: 10px;
  flex: 1;
  max-width: 500px;
  margin: 0 20px;
}

.search-container input {
  flex: 1;
  padding: 10px 15px;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.search-container button {
  padding: 10px 20px;
  background-color: #ff9800;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s;
}

.search-container button:hover {
  background-color: #e68900;
}

.map-container {
  flex: 1;
  position: relative;
}

#map {
  height: 100%;
  width: 100%;
}

.legend {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.9);
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  max-width: 250px;
}

.legend h3 {
  margin-bottom: 10px;
  font-size: 1rem;
  color: #1e5799;
}

.legend-item {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.legend-color {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-right: 10px;
}

.legend-text {
  font-size: 0.9rem;
}

.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ff5722;
  color: white;
  padding: 15px 25px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 90%;
  animation:
    fadeIn 0.5s,
    fadeOut 0.5s 32.5s forwards;
}

.toast-icon {
  font-size: 1.2rem;
}

.toast-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  margin-left: auto;
}

.info-panel {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.9);
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  max-width: 300px;
}

.info-panel h3 {
  margin-bottom: 10px;
  color: #1e5799;
  font-size: 1rem;
}

.info-item {
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
}

.info-label {
  font-weight: 600;
  color: #555;
}

.info-value {
  color: #333;
}

.prediction-controls {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.9);
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  max-width: 200px;
}

.prediction-controls h3 {
  margin-bottom: 10px;
  color: #1e5799;
  font-size: 1rem;
}

.time-slider {
  width: 100%;
  margin: 10px 0;
}

.time-display {
  text-align: center;
  font-weight: 600;
  color: #1e5799;
  margin-bottom: 5px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    bottom: 0;
  }
  to {
    opacity: 1;
    bottom: 20px;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
    bottom: 20px;
  }
  to {
    opacity: 0;
    bottom: 0;
  }
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 15px;
  }

  .search-container {
    max-width: 100%;
    margin: 0;
  }

  .legend {
    max-width: 200px;
  }

  .info-panel {
    max-width: 250px;
  }

  .prediction-controls {
    max-width: 180px;
  }
}

/* Added */
.leaflet-top,
.leaflet-left {
  position: relative;
  margin-top: 35vh;
}
/* Added */
