* {
    box-sizing: border-box;
    }

body {
    margin: 0px;
    padding: 0px;
}

.btn-primary {
    background-color: #075496 !important;
    border: 1px solid #465fb7 !important;
}

.btn-primary:hover {
    background-color: #1b69ad !important;
}

::-webkit-scrollbar {
	width: 5px;
	height: 8px;
	background-color: #aaa; 
}
::-webkit-scrollbar-thumb {
	background: #075496;
    cursor: pointer;
}
::-moz-selection { 
    color: white;
    background: #ff9914;
}

::selection {
    color: white;
    background: #ff9914;
}


.editable:hover {
    background-color: #ff9914;
    color: white;
    cursor: pointer;
}

.editable-dh:hover {
    background-color: #ff9914;
    color: white;
    cursor: pointer;
}

#resultTable th {
    text-align: center;
}

#elementTable th {
    vertical-align: middle !important;
    text-align: center;
    background-color: #105fa3;
    color: white;
    font-family: monospace;
    font-size: 13px;
}

#elementTable td {
    vertical-align: middle !important;
    text-align: center;
}

#elementTable th:first-child {
    border-top-left-radius: 8px;
}

#elementTable th:last-child {
    border-top-right-radius: 8px;
}

#elementTable {
    border-collapse: separate;
    border-spacing: 0;
}

#elementTable tbody tr:last-child td:first-child {
    border-bottom-left-radius: 8px;
}

#elementTable tbody tr:last-child td:last-child {
    border-bottom-right-radius: 8px;
}

.filter-badge {
    margin-right: 5px;
}

#resultTable .btn-outline-danger {
    display: block;
    margin: auto;
}

.leaflet-control-attribution a {
    display: none;
}

.custom-div-icon {
    width: 20px;
    height: 20px;
    background-color: white;
    border: 1px solid black;
    text-align: center;
    font-size: 6px;
    line-height: 9px;
    font-weight: bold;
}

.red-dot-icon {
    background-color: red;
    border-radius: 50%;
    border: 1px solid black;
}

.purple-rectangle-icon {
    background-color: rgb(221, 0, 255);
    border: 1px solid black;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.source-icon {
    background-color: rgb(242, 255, 0);
    border: 1px solid black;
    border-radius: 50% / 40%; 
}

.shaft-icon {
    background-color: rgb(98, 42, 48);
    border: 1px solid black;
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}



.checkbox-container, .overlay-checkbox-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
    padding: 10px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    overflow-y: auto;
    max-height: 550px;
}

.checkbox-container label, .overlay-checkbox-container label {
    display: flex;
    align-items: center;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 8px 12px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    width: 100%;
    cursor: pointer;
}

.checkbox-container label:hover, .overlay-checkbox-container label:hover {
    background-color: #e9ecef;
}

.checkbox-container input[type="checkbox"], .overlay-checkbox-container input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #075496;
    border-radius: 3px;
    margin-right: 10px;
    position: relative;
    cursor: pointer;
}

.checkbox-container input[type="checkbox"]:checked, .overlay-checkbox-container input[type="checkbox"]:checked {
    background-color: #ff872d;
}

.checkbox-container input[type="checkbox"]:focus, .overlay-checkbox-container input[type="checkbox"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(7, 84, 150, 0.25);
}

.checkbox-container {
    font-size: 12px;
}

.scrollable-tooltip {
    max-height: 200px;
    overflow-y: auto;
}

.tooltip-content {
    font-size: 12px;
    line-height: 1.4;
}

.tooltip-content div {
    margin-bottom: 5px;
}

.tooltip-content .stid-list {
    word-break: break-all;
}

.leaflet-tooltip {
    max-width: 300px !important;
}

.fixed-box {
    position: fixed;
    top: 120px;
    left: 10px;
    width: 200px;
    padding: 12px;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    background-color: white;
    max-height: 50vh;
    overflow-y: auto;
    font-size: 13px;
}

.element-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.selected-element {
    font-weight: bold;
    color: #075496;
}

.overall-stats, .zonal-grades {
    margin-bottom: 15px;
}

.overall-stats h5, .zonal-grades h5 {
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.basin-title {
    font-size: 15px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.average-value {
    color: #ff0000;
    font-weight: bold;
}

.highest-value {
    color: #34b2ef;
    font-weight: bold;
}

.zone-list {
    max-height: 300px;
    overflow-y: auto;
}

.zone-item {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.zone-item:last-child {
    border-bottom: none;
}

.zone-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.zone-stat {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
}

.dark-mode {
    background-color: #121212;
    color: #ffffff;
}

.settings-button {
    position: absolute;
    top: 15px;
    left: 10px;
    z-index: 1000;
}

.filter-container {
    display: none;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
    padding: 10px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 5px;
}

.filter-toggle {
    cursor: pointer;
    margin-bottom: 10px;
}

.filter-toggle:hover {
    background-color: #ededed;
}

#sidebar {
    z-index: 1000;
    max-height: 650px;
    overflow: auto;
    padding-right: 5px;
}

#sidebar .btn {
    width: 100%;
    margin-bottom: 10px;
    font-size: 14px;
}

.filter-arrow {
    margin-left: 10px;
    transition: transform 0.3s;
}

.btn-style {
    background-color: #245d98;
}

#zoneAveragesList {
    padding-left: 0px;
    padding-top: 10px;
}

.sortable {
    position: relative;
    cursor: pointer;
}

.sortable::after {
    content: ""; 
    font-size: 0.8em;
    position: absolute;
    right: 2px; 
    top: 50%;
    transform: translateY(-50%);
    visibility: hidden;
}

.sortable.sorted-asc::after {
    content: "▲";
    visibility: visible;
}

.sortable.sorted-desc::after {
    content: "▼";
    visibility: visible;
}

#selectedDH {
    background-color: #ff872d;
    padding: 5px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    color: white;
    vertical-align: super;
    display: none;
}

#selectedElementPPM {
    background-color: #075496;
    padding: 5px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    color: white;
    vertical-align: super;
    display: none;
}

#selectedElementHighestPPM {
    background-color: #ffffff;
    padding: 5px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    color: rgb(0, 187, 255);
    vertical-align: super;
    display: none;
}


.dark-mode .checkbox-container label {
    background: #282828;
}

.dark-mode .leaflet-marker-icon {
    color: black;
}

.dark-mode .modal-content {
    color: black;
}

.dark-mode .filter-toggle {
    color: black;
}

.dark-mode .legend-wrapper {
    color: black;
}

.dark-mode .checkbox-container {
    background: #282828;
    color: white;
}

.dark-mode .overlay-checkbox-container {
    background: #282828;
    color: white;
}

.dark-mode .checkbox-container {
    background: #282828;
}

.dark-mode .overlay-checkbox-container label {
    background: #282828;
}

.dark-mode .checkbox-container label {
    background: #282828;
}

.dark-mode .checkbox-container label:hover {
    background-color: #484848;
    border-color: #adb5bd;
}

.dark-mode .overlay-checkbox-container label:hover {
    background-color: #484848;
    border-color: #adb5bd;
}

.dark-mode .fixed-box {
    background: #252525;
}

.dark-mode #selectedElement {
    background: #4f4f4f;
    color: black !important;
}

.legend-wrapper {
    z-index: 999;
}

#heatmapLegend {
    z-index: 1000;
}


#map-legend {
    z-index: 1000;
}

.legend-wrapper, #heatmapLegend {
    flex-direction: column;
    background-color: #ffffffb3;
    border: 1px solid #dee2e678;
    border-top-right-radius: 5px;
    padding: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    max-width: 200px;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    transform: translateX(0);
    opacity: 1;
    position: absolute;
    bottom: 0px;
}

.legend-wrapper.hidden, #heatmapLegend.hidden {
    transform: translateX(calc(100% + 10px));
    opacity: 0;
}

.legend-wrapper.hidden {
    display: none;
}

.legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.legend-item:last-child {
    margin-bottom: 0;
}

.point-dot {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10px;
    font-weight: bold;
    color: black;
}

.legend-text {
    font-size: 14px;
    color: #333;
}

.icon-width {
    height: 15px;
    width: 25px;
}

.select-style {
    width: max-content;
    float: right;
}

.toggle-element-selection {
    float: right;
}

#sidebarCOAFilters {
    font-size: 11px;
}

.overlay-checkbox-container {
    font-size: 11px;
}

.map-title {
    text-align: center;
    margin-top: -34px;
}

.main-title {
    margin: auto;
    width: max-content;
    margin-top: -10px;
}

.heatmap-legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.heatmap-legend-color {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.heatmap-legend-text {
    font-size: 14px;
    color: #333;
}

.element-price-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.element-price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.element-price-card input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.element-price-card label {
    display: block;
    cursor: pointer;
}

.element-price-card label::before,
.element-price-card label::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.element-price-card label::before {
    border: 2px solid #ff872d;
    background-color: transparent;
}

.element-price-card label::after {
    content: '\2714';
    background-color: #ff872d;
    color: #464646;
    text-align: center;
    line-height: 20px;
    font-size: 12px;
    opacity: 0;
}

.element-price-card input[type="checkbox"]:checked + label::before {
    background-color: #ff872d;
}

.element-price-card input[type="checkbox"]:checked + label::after {
    opacity: 1;
}
.element-symbol {
    font-size: 24px;
    font-weight: bold;
}

.element-name {
    font-size: 14px;
    color: #666;
}

.element-price {
    font-size: 18px;
    font-weight: bold;
    color: #28a745;
}

.price-value {
    color: #28a745;
    font-weight: bold;
}

#elementPricesBtn {
    position: absolute;
    left: 10px;
    top: 70px;
}

#elementPricesContainer h4 {
    margin-bottom: 15px;
    border-bottom: 2px solid #ebebeb;
    padding-bottom: 5px;
    text-align: center;
}

.empty-space {
    margin-bottom: 15px;
}

.empty-space-top {
    margin-top: 15px;
}

.data-points {
    margin-bottom: 15px;
}

#elementSelect {
    width: auto;
    position: absolute;
    left: 15px;
    margin-top: 15px;
}



@keyframes glow {
    0% {
      box-shadow: 0 0 5px #e0e0e0;
    }
    50% {
      box-shadow: 0 0 15px #ff4c4c;
    }
    100% {
      box-shadow: 0 0 5px #e0e0e0;
    }
  }


#selectedElementContainer {
    display: flex;
    align-items: center;
    margin-bottom: 7px;
    justify-content: end;
}

#selectedElementName {
    font-size: 16px;
    margin-right: 5px;
}

#selectedElement {
    font-weight: bold;
    background: #e0e0e0;
    padding: 5px;
    border-radius: 50%;
    cursor: pointer;
    height: 30px;
    width: 30px;
    line-height: 20px;
    font-size: 14px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    animation: glow 2s infinite;
}

#selectedElement:hover {
    animation: none;
    box-shadow: 0 0 15px #ff4c4c;
  }





  .dashboard-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.dashboard-column {
    flex: 1;
    min-width: 250px;
    margin-top: 20px;
}

#averages-column {
    max-width: 250px;
}

#filters-column {
    max-width: 250px;
}

#map-column {
    flex: 2;
    min-width: 400px;
}

#map {
    height: 650px;
    width: 100%;
    border-radius: 8px;
}

#elementAverageBox, #sidebar {
    height: 100%;
}

#elementAverageBox {
    padding: 15px;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    max-height: 650px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

#zoneAveragesContainer {
    position: relative;
    flex-grow: 1;
    overflow: hidden;
    min-height: 340px;
}

.zone-stat-title {
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
    font-weight: bold;
    font-size: 15px;
    padding-bottom: 5px;
}

#zoneAveragesBox {
    overflow-y: auto;
    max-height: calc(100% - 30px); 
    padding-right: 5px;
}

/* Dark mode styles */
.dark-mode .zone-stat-title {
    background: #121212;
}


@media (max-width: 1200px) {
    .dashboard-column {
        flex-basis: 100%;
    }

    #map {
        height: 450px;
    }
}

.legend-wrapper, #elementPricesBtn, .settings-button {
    z-index: 1000;
}

@media (max-width: 768px) {
    #elementAverageBox, #sidebar {
        max-height: 300px;
        overflow-y: auto;
    }
}

.chart-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chart-wrapper {
    width: 48%;
}

#modalSelectedElementContainer {
    display: flex;
    align-items: center;
    position: absolute;
    right: 45px;
}

#modalSelectedElementName {
    font-size: 16px;
    margin-right: 5px;
}

#modalSelectedElement {
    font-weight: bold;
    background: #e0e0e0;
    padding: 5px;
    border-radius: 50%;
    height: 30px;
    width: 30px;
    line-height: 20px;
    font-size: 14px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#top20Modal .modal-xl {
    max-width: 90%;
}

#top20Table {
    font-size: 14px;
}

.zone-filter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
    justify-content: center;
}

.form-check-inline {
    margin-right: 0;
}

.form-check-input[type="radio"] {
    display: none;
}

.form-check-label {
    padding: 5px 10px;
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-check-input[type="radio"]:checked + .form-check-label {
    background-color: #075496;
    color: white;
    border: solid 1px #ff9000;
}

.form-check-label:hover {
    background-color: #e9ecef;
}

.highest-value-2 { color: #34b2ef !important; }
.average-value-2 { color: #ff0000 !important; }
.dollar-value-2 { color: #28a745 !important; }

.info-popup {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.info-popup-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.info-popup h2 {
    margin-top: 0;
    color: #333;
}

.info-popup ul {
    padding-left: 20px;
}

.info-popup li {
    margin-bottom: 5px;
}

/* Dark mode styles */
.dark-mode .info-popup-content {
    background-color: #333;
    color: #fff;
}

.dark-mode .close-btn {
    color: #fff;
}

.dark-mode .close-btn:hover,
.dark-mode .close-btn:focus {
    color: #aaa;
}

.dark-mode .info-popup h2 {
    color: #fff;
}


.modal-body {
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    padding-top: 0;
}

#zoneFilterContainer {
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 1020;
    padding: 15px 0;
    margin-bottom: 15px;
    border-bottom: 1px solid #dee2e6;
}

.top20button {
    display: block;
    margin: auto;
    width: 260px;
    height: 35px;
    border: 1px solid #003f75;
    border-radius: 5px;
    background-color: #1a6cb5;
    color: white;
    font-weight: bold;
    font-size: 14px;
    margin-top: -51px;
    margin-bottom: 20px;
}

.top20button:hover {
    background-color: #1a7bcf;
}

.plss-tooltip {
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid #ff7800;
    border-radius: 4px;
    padding: 5px;
    font-size: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.custom-plss-tooltip {
    text-align: left;
}

.custom-plss-tooltip strong {
    color: #ff7800;
}

.ownership-tooltip {
    overflow: hidden;
}

.ownership-tooltip strong {
    color: #4a83ec;
}

.blm-claims-tooltip strong {
    color: #009425;
}

.circle-icon {
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: #000;
    font-size: 10px;
    margin-right: 5px;
}

.white-circle {
    background-color: white;
    border: 1px solid #000;
}

.red-circle {
    background-color: red;
    border: 1px solid #000;
}

.purple-circle {
    background-color: rgb(221, 0, 255);
    border: 1px solid #000;
}

.yellow-circle {
    background-color: yellow;
    border: 1px solid #000;
}

.green-circle {
    background-color: #2ddf16;
    border: 1px solid #000;
}

.icon-label {
    font-size: 8px;
    color: #000;
    text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
}

.circle-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
}

.icon-label {
    font-size: 8px;
    color: #000;
    text-shadow: 
        -1px -1px 0 #fff,  
         1px -1px 0 #fff,
        -1px  1px 0 #fff,
         1px  1px 0 #fff;
    pointer-events: none; 
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
}

.icon-label-controls {
    margin-top: 10px;
    margin-bottom: 10px;
}

.icon-controls-container {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }
  
  .control-header {
    margin-bottom: 15px;
    font-weight: bold;
    color: #075496;
    border-bottom: 2px solid #075496;
    padding-bottom: 5px;
  }
  
  .control-group {
    margin-bottom: 15px;
  }
  
  .control-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
  }
  
  .radio-group {
    display: flex;
    gap: 15px;
  }
  
  .radio-group input[type="radio"] {
    display: none;
  }
  
  .radio-group label {
    cursor: pointer;
    padding: 5px 10px;
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    border-radius: 20px;
    transition: all 0.3s ease;
  }
  
  .radio-group input[type="radio"]:checked + label {
    background-color: #075496;
    color: white;
    border-color: #075496;
  }
  
  #dhLabelsControl input[type="checkbox"] {
    margin-right: 5px;
  }
  
  #dhLabelsControl label {
    display: flex;
    align-items: center;
    cursor: pointer;
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .radio-group {
      flex-direction: column;
      gap: 10px;
    }
  }

  #iconSizeMode label {
    border-radius: 5px;
  }


#iconSizeMode label {
    align-items: center;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 8px 12px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    width: 100%;
    cursor: pointer;
    display: inline-flex;
    font-size: 11px;
}

#iconSizeMode label:hover {
    background-color: #e9ecef;
}

#iconSizeMode input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #075496;
    border-radius: 3px;
    margin-right: 10px;
    position: relative;
    cursor: pointer;
}

#iconSizeMode input[type="radio"]:checked {
    background-color: #ff872d;
}

#iconSizeMode input[type="radio"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(7, 84, 150, 0.25);
}

.divmapdata {
    background: white;
}

.dark-mode .divmapdata {
    background: #121212;
}

.dark-mode #iconSizeMode label {
    background: #282828;
}

.dark-mode #iconSizeMode label:hover {
    background-color: #484848;
    border-color: #adb5bd;
}

#top20AverageTable th {
    text-align: center;
    vertical-align: middle;
}

#top20HighestTable th {
    text-align: center;
    vertical-align: middle;
}

.table th .header-main {
    font-size: 1em;
    display: block;
}

.table th .header-sub {
    font-size: 0.8em; 
    display: block;
    font-weight: normal; 
}

.element-prices-category-header {
    margin-bottom: 5px;
}

.element-prices-category-subtext {
    font-size: 0.8em;
    color: #6c757d;
    margin-top: -5px;
    margin-bottom: 15px;
}

.overlay-opacity-control {
    margin-top: 15px;
    width: 100%;
}

.overlay-opacity-control label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.opacity-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 10px;
    border-radius: 5px;
    background: #d3d3d3;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
}

.opacity-slider:hover {
    opacity: 1;
}

.opacity-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #075496;
    cursor: pointer;
}

.opacity-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #075496;
    cursor: pointer;
}

/* Dark mode styles */
.dark-mode .opacity-slider {
    background: #555;
}

.dark-mode .opacity-slider::-webkit-slider-thumb {
    background: #ff872d;
}

.dark-mode .opacity-slider::-moz-range-thumb {
    background: #ff872d;
}

.overlay-opacity-control label {
    margin-top: -10px; 
    margin-bottom: 10px;
    cursor: default;
}

.overlay-opacity-control label:hover {
    background: #fff;
}

#exportConfirmModal .modal-body {
    white-space: pre-wrap;
    word-wrap: break-word;
    font-size: 16px;
    line-height: 1.5;
}

#exportConfirmModal .export-highlight {
    font-weight: bold;
    font-size: 18px;
    color: #075496;
}

#exportConfirmModal .modal-body {
    white-space: pre-wrap;
    word-wrap: break-word;
    font-size: 16px;
    line-height: 1.5;
}

#exportConfirmModal .export-highlight {
    font-weight: bold;
    font-size: 18px;
    color: #075496;
}

#exportConfirmModal .modalSelectedElementContainer {
    display: inline-flex;
    align-items: center;
    margin-right: 5px;
}

#exportConfirmModal .modalSelectedElementName {
    font-size: 18px;
    margin-right: 5px;
    text-decoration: underline;
}

#exportConfirmModal .modalSelectedElement {
    font-weight: bold;
    background: #e0e0e0;
    padding: 5px;
    border-radius: 50%;
    height: 30px;
    width: 30px;
    line-height: 20px;
    font-size: 14px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

::-webkit-scrollbar {
    width: 8px;
    height: 3px;
    background-color: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(0, 112, 216, 0.818);
    border-radius: 5px;
    cursor: pointer;
}

}

::-webkit-scrollbar-thumb:hover {
    background-color: rgba(245, 155, 0, 0.818);
}

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px transparent;
    -webkit-box-shadow: inset 0 0 6px transparent;
    background-color: transparent;
}

.depth-filter-buttons {
    width: 100%;
}


.tooltip-i {
    position: absolute;
    z-index: 1001;
    background-color: rgb(49, 115, 208);
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 3px 8px;
    font-size: 12px;
    line-height: 1.4;
    pointer-events: none;
}

.element-category-filter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: center;
}

    .element-category-filter-container .form-check-inline {
        margin-right: 0;
    }

    .element-category-filter-container .form-check-input[type="radio"] {
        display: none;
    }

    .element-category-filter-container .form-check-label {
        padding: 5px 10px;
        background-color: #f8f9fa;
        border: 1px solid #ced4da;
        border-radius: 20px;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .element-category-filter-container .form-check-input[type="radio"]:checked + .form-check-label {
        background-color: #075496;
        color: white;
        border: solid 1px #ff9000;
    }

    .element-category-filter-container .form-check-label:hover {
        background-color: #e9ecef;
    }