/* Fix Footer Positioning */
.footer {
    position: relative !important;  /* removes absolute so it doesn't overlap */
    
  }
  
  /* Bootstrap 5 Toggle Switch / Checkboxes / Sliders compatibility fix */
  .form-check-input {
    position: static !important;     /* allow native bootstrap positioning */
  }

.leaflet-container {
    height: 1200px;
    width: 100%;
    max-width: 100%;
    max-height: 100%;
  }

.floating-dropdown {
    position: absolute;
    top: 25px;
    left: 60px;
    z-index: 9999;

    background-color: rgba(255, 255, 255, 0.85);
    padding: 0; /* no extra container padding */
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* Tight button height */
.floating-dropdown .btn {
    background-color: transparent;
    color: #333;
    font-size: 0.85rem;
    padding: 2px 6px; /* very small padding */
    line-height: 1.2; /* reduces vertical height */
    height: auto; /* no forced tall height */
    border: none;
    box-shadow: none;
}

/* Dropdown menu compact */
.floating-dropdown .dropdown-menu {
    background-color: rgba(255, 255, 255, 0.95);
    min-width: 140px;
    font-size: 0.85rem;
    padding: 4px 0; /* reduce vertical space */
    line-height: 1.2; /* tighter list items */
    border: 1px solid rgba(0,0,0,0.2);
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.25);
    max-height: 50vh; 
    overflow-y: auto;
}

/* Dropdown items tighter */
.floating-dropdown .dropdown-item {
    padding: 3px 10px; /* smaller item padding */
    margin: 10px; 
}

  
  #availableSets .list-group-item,
  #assignedSets .list-group-item {
      color: white;
  }
  .dragging {
    opacity: 0.5;
    background-color: #f0f0f0;
}
.drag-list {
    min-height: 200px;
    border: 1px dashed #ccc;
    padding: 10px;
}

#availableSets,
#assignedSets {
  min-height: 90%;
  flex-grow: 1;
  overflow-y: auto;
  border: 1px solid #ccc;
  padding: 10px;
  background-color: #f8f9fa;
}

/* Style table cell and circles */
.circle-container {
  width: 70px;
  height: 70px;
  margin: 0 auto;
}

/* Ensure circle labels are white */
.circles-text {
  font-size: 0.8rem !important; /* or try 10px */
  font-weight: normal;
  color: white;
}

.circle-label {
  font-size: 0.6rem;  /* smaller text */
  color: white;
  margin-top: 0.25rem;
  line-height: 1.2;
  text-align: center;
  word-break: break-word;
}

#circle-table td {
  vertical-align: top;
}

#chart-container {
  height: 200px;
}

/* Tooltip Styling */
.custom-tooltip {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 8px 12px;
  border-radius: 5px;
  font-size: 0.8rem;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
  pointer-events: none;
  z-index: 999;
  text-align: center;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1); /* Invert black icon to white */
}

/* Force blue background for DataTable export buttons */
.dt-buttons .btn-primary {
  background-color: #007bff !important; /* Blue background */
  border-color: #007bff !important;     /* Matching border */
}

  #map {
    width: 98%;        /* shrink width a bit */
    height: 550px;     /* make map taller */
    margin: 10px;           /* adds margin all around */
    border-radius: 8px;     /* optional: rounded corners */
    box-shadow: 0 2px 8px rgba(0,0,0,0.2); /* optional: subtle shadow */
  }

