/* Layout containers */
body {
  margin: 0;
  padding: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: sans-serif;
  /* Filters section */
  /* Multi-select dropdown styles */
  /* Main content layout */
  /* Split.js gutter styles */
  /* Utility classes */
  /* DataTables wrapper styles */
  /* DataTables controls */
  /* DataTables scroll styles */
  /* Table styles */
  /* Alternate row background */
  /* Selection and highlight styles */
  /* Hover styles */
  /* Pagination styles */
  /* Rows per page dropdown */
  /* Search input */
  /* Page info text */
  /* Status badge styles */
  /* Modern scrollbar styles */
  /* For Webkit browsers (Chrome, Safari) */
  /* For Firefox */
  /* Specific styling for DataTables scrolling */
}
body .filters-container {
  padding: 15px;
  background: #0d3a7f;
  border-bottom: 1px solid #ddd;
  flex-shrink: 0;
  color: white;
  height: 65px;
}
body .filters-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
body .view-controls {
  display: flex;
  gap: 10px;
}
body .view-button {
  padding: 4px 6px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  gap: 4px;
  height: 30px;
  align-items: center;
  width: 77px;
}
body .view-button .svg-holder > span {
  display: none;
}
body .view-button .svg-holder .eyeopen, body .view-button .svg-holder .eyeclosed {
  width: 26px;
}
body .view-button .svg-holder .eyeopen svg {
  height: 13px;
  width: 23px;
}
body .view-button .svg-holder .eyeclosed svg {
  height: 20px;
  width: 26px;
}
body .view-button .svg-holder > span.show {
  display: flex;
}
body .view-button:hover {
  background: #f0f0f0;
}
body .view-button.active {
  background: #e9ecef;
}
body .custom-filter {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  flex-wrap: wrap;
  width: 80%;
  max-width: 745px;
  min-width: 615px;
}
body .custom-filter select {
  width: 200px;
  padding: 6px;
  border: 1px solid #ddd;
  border-radius: 4px;
}
body .multi-select-wrapper {
  position: relative;
  width: 170px;
}
body .multi-select-wrapper li {
  color: black;
  font-size: 12px;
}
body .multi-select-button {
  width: 100%;
  padding: 6px 30px 6px 10px;
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  text-align: left;
  position: relative;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body .multi-select-button:after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #666;
}
body .multi-select-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-top: 5px;
  max-height: 300px;
  overflow-y: auto;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
body .multi-select-dropdown.show {
  display: block;
}
body .multi-select-search {
  padding: 8px;
  border-bottom: 1px solid #ddd;
}
body .multi-select-search input {
  width: 100%;
  padding: 6px;
  border: 1px solid #ddd;
  border-radius: 4px;
}
body .multi-select-options {
  padding: 0;
  margin: 0;
  list-style: none;
}
body .multi-select-option {
  padding: 8px 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}
body .multi-select-option:hover {
  background-color: #f5f5f5;
}
body .multi-select-option.selected {
  background-color: #e9ecef;
}
body .multi-select-checkbox {
  margin: 0;
}
body .selected-options {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}
body .selected-option-badge {
  background-color: #e9ecef;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 2px 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 5px;
  font-size: 10px;
  color: black;
}
body .selected-option-badge .remove-option {
  cursor: pointer;
  color: #666;
  font-weight: bold;
}
body .selected-option-badge .remove-option:hover {
  color: #dc3545;
}
body #clearFilters {
  padding: 6px 12px;
  background-color: #dc3545;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
body #clearFilters:hover {
  background-color: #c82333;
}
body .content-container {
  display: flex;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
body .table-container {
  min-width: 500px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: flex-grow 0.3s ease;
}
body .map-container {
  min-width: 500px;
  transition: flex-grow 0.3s ease;
      position: relative;
}
body .table-container.full-width,
body .map-container.full-width {
  flex: 1 !important;
}
body #map {
  width: 100%;
  height: 100%;
}
body #map {
  width: 100%;
  height: 100%;
}
body #map .gm-style-iw-d {
  padding: 10px 30px 0px 0px;
}
body #map .gm-style-iw-d > div > div {
  padding: 0px !important;
}
body #map .gm-style-iw-chr {
  position: absolute;
  right: 0;
  top: 0px;
}
body .gutter {
  background-color: #686868;
  background-repeat: no-repeat;
  background-position: 50%;
}
body .gutter.gutter-horizontal {
  cursor: col-resize;
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==");
}
body .hidden {
  display: none !important;
}
body .dataTables_wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}
body .dataTables_length,
body .dataTables_filter {
  padding: 8px;
  flex-shrink: 0;
  font-size: 12px;
}
body .dataTables_scroll {
  flex: 1;
  min-height: 0;
}
body .dataTables_scrollBody {
  flex: 1;
  overflow-y: auto !important;
  border-bottom: 1px solid #ddd;
  max-height: calc(100vh - 136px) !important;
}
body .dataTables_scrollHead, body .dataTables_scrollHeadInner, body .dataTables_scrollHeadInner table thead tr th {
  height: 40px !important;
}
body .dataTables_scrollHeadInner table thead tr th {
  padding: 0px 10px;
}
body table.dataTable {
  margin: 0 !important;
  width: 100% !important;
}
body table.dataTable thead th {
  background-color: #E8ECF4;
  color: #4A5568;
  font-weight: 600;
  padding: 15px;
  border: none;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
body table.dataTable tbody td {
  padding: 10px 10px;
  border-bottom: 1px solid #F0F2F7;
  color: #2D3748;
  font-size: 12px;
}
body table.dataTable tbody tr:nth-child(even) {
  background-color: #F8FAFC;
}
body table.dataTable tbody tr.selected,
body .dataTables_wrapper .dataTables_scroll .dataTables_scrollBody table.dataTable tbody tr.selected {
  background-color: rgba(9, 44, 97, 0.15) !important;
}
body table.dataTable tbody tr.selected > .sorting_1,
body table.dataTable tbody tr.selected > td {
  background-color: rgba(13, 110, 253, 0.1) !important;
}
@keyframes highlightPulse {
  0% {
    background-color: rgba(255, 223, 0, 0.5);
  }
  50% {
    background-color: rgba(255, 223, 0, 0.3);
  }
  100% {
    background-color: rgba(13, 110, 253, 0.1);
  }
}
body table.dataTable tbody tr.highlight-pulse {
  animation: highlightPulse 2s ease-out forwards;
}
body table.dataTable tbody tr:hover {
  background-color: rgba(0, 0, 0, 0.05) !important;
}
body table.dataTable tbody tr.selected:hover,
body table.dataTable tbody tr.selected:hover > .sorting_1 {
  background-color: rgba(9, 44, 97, 0.15) !important;
}
body .dataTables_wrapper .dataTables_paginate {
  padding: 20px;
}
body .dataTables_wrapper .dataTables_paginate .paginate_button {
  padding: 8px 12px;
  margin: 0 4px;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  color: #4A5568 !important;
}
body .dataTables_wrapper .dataTables_paginate .paginate_button.current {
  background: #ffffff !important;
  border-color: #3182CE !important;
  color: #3182CE !important;
}
body .dataTables_length select {
  padding: 6px 30px 6px 12px;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  color: #4A5568;
  background-color: white;
}
body .dataTables_filter input {
  padding: 8px 12px;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  color: #4A5568;
  width: 200px;
}
body .dataTables_info {
  color: #718096;
  font-size: 12px;
  padding: 5px 10px;
}
body .status-cars {
  background-color: #ffd700;
  color: #051e5a;
  padding: 4px 12px;
  border-radius: 12px;
  display: inline-block;
  border: 2px solid #debd02;
  font-weight: bold;
}
body .status-intersection {
  background-color: #910d0d;
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  display: inline-block;
  border: 2px solid #7f0201;
  font-weight: bold;
}
body .status-transit {
  background-color: #051e5a;
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  border-radius: 12px;
  border: 2px solid #04246f;
  display: inline-block;
  font-weight: bold;
}
body .status-technology {
  background-color: #009e99;
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  border: 2px solid #01716d;
  display: inline-block;
  font-weight: bold;
}
body .status-bikeped {
  background-color: #259625;
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  border: 2px solid #1a741a;
  display: inline-block;
  font-weight: bold;
}
body .status-other {
  background-color: #bf3570;
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  border: 2px solid #8e1e4f;
  display: inline-block;
  font-weight: bold;
}
body .status-parking {
  background-color: #f58109;
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  border: 2px solid #d26e03;
  display: inline-block;
  font-weight: bold;
}
body ::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
body ::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}
body ::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}
body ::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}
body * {
  scrollbar-width: thin;
  scrollbar-color: #c1c1c1 #f1f1f1;
}
body .dataTables_scrollBody {
  scrollbar-width: thin;
  scrollbar-color: #c1c1c1 #f1f1f1;
}
body .dataTables_scrollBody::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
body .dataTables_scrollBody::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}
body .dataTables_scrollBody::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}
body .dataTables_scrollBody::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}
body .map-legend {
  margin: 10px;
  background: white;
  padding: 12px;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  max-width: 280px;
  border: 1px solid #ddd;
      bottom: 15px!important;
}
body .legend-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
body .legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #2D3748;
}
body .legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}
body .legend-dot.roadway {
  background-color: #ffd700;
}
body .legend-dot.intersection {
  background-color: #7f0201;
}
body .legend-dot.transit {
  background-color: #051e5a;
}
body .legend-dot.technology {
  background-color: #009e99;
}
body .legend-dot.bikeped {
  background-color: #259625;
}
body .legend-dot.other{
  background-color: #bf3570;
}
body .legend-dot.parking {
  background-color: #f58109;
}
body .description-cell {
  position: relative;
  padding-right: 25px;
}
body .keyword-search {
  padding: 6px;
  width: 200px;
  border: 1px solid #ddd;
  border-radius: 4px;
}
body .expand-btn {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px;
  color: #0d3a7f;
  display: flex;
  align-items: center;
  justify-content: center;
}
body .expand-btn:hover {
  color: #1e56b0;
}
body .expand-btn svg {
  transition: transform 0.2s ease;
}
body .expand-btn.expanded svg {
  transform: rotate(45deg);
}
body .map-info-box {
  position: absolute;
  bottom: 20px;
  right: 10px;
  background: white;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  padding: 10px;
  max-width: 300px;
  z-index: 10;
  border: 1px solid #ccc;
  font-size: 13px;
  
}

body .map-info-box.hidden {
  display: none;
}
body .map-info-box details {
  padding:10px;
  background: #ebebec;
  transition:all 300ms ease-in-out;

}
body .map-info-box details:hover {
cursor: pointer;
 background: #ececec;
}
body .map-info-box details > div {
 
  color: #051e5a;
}
body .close-info-box {
  position: absolute;
  top: 4px;
  right: 6px;
  border: none;
  background: transparent;
  font-size: 18px;
  cursor: pointer;
  color: #999;
}

body .close-info-box:hover {
  color: #333;
}
.project-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    border-radius: 4px 4px 0 0;
    margin: -12px -12px 12px -12px;
}

.nav-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.multiple-indicator {
    font-size: 12px;
    font-weight: 600;
    color: #495057;
}

.project-counter {
    font-size: 11px;
    color: #6c757d;
}

.nav-controls {
    display: flex;
    gap: 4px;
    margin-right: 20px;
}

.nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nav-btn:hover:not(:disabled) {
    background: #e9ecef;
    border-color: #adb5bd;
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.nav-btn svg {
    color: #495057;
}

.project-details {
    /* Existing styles for project details remain the same */
}

/* Enhance the map info box to accommodate the navigation header */
#mapInfoBox {
    /* Ensure the box is wide enough for the navigation controls */
    min-width: 320px;
}

