/* Custom styles for better UI */
body {
  font-family: 'Inter', sans-serif; /* Using a modern font */
}
.card {
  transition: all 0.3s ease-in-out;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}
.menu-btn {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  transition: background-color 0.2s;
  font-weight: 500;
}
.menu-btn:hover, .menu-btn.active {
  background-color: rgba(255, 255, 255, 0.2);
}
.menu-btn i {
  width: 2rem;
  text-align: center;
}
#sidebar.collapsed {
    width: 5rem; /* 80px */
}
#sidebar.collapsed .menu-btn span, #sidebar.collapsed h1 {
    display: none;
}
#sidebar.collapsed .fa-bars:before {
    content: "\f00d"; /* Change to close icon */
}
#mainContent.sidebar-collapsed {
    margin-left: 5rem; /* 80px */
}
/* Leaflet map container */
#map1, #map2 {
  height: 250px;
  z-index: 10;
}
th, td {
    padding: 0.75rem;
    text-align: left;
    border: 1px solid #e2e8f0;
}
thead {
    background-color: #f8fafc;
}
#indicatorLevel1 .seg.active, #indicatorLevel2 .seg.active {
    opacity: 1 !important;
}
 #indicatorLevel1 .seg, #indicatorLevel2 .seg {
    opacity: 0.3;
    transition: opacity 0.3s;
}