.legend-overlay {
  font-size: 13px;
  line-height: 1.3;
}
.btncizim {
  border: 1px solid black;
  border-radius: 10%;
  cursor: pointer;
}

.query-card {
  padding: 10px;
  border-bottom: 1px solid #ddd;
  cursor: pointer;
}
.query-card:hover {
  background: #f0f0f0;
}
#queryResultsPanel {
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding-right: 5px;
  scrollbar-width: none;
}
#scrollableTabs {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}
#scrollableTabs::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.scroll-btn {
  background: transparent;
  border: none;
  color: #666;
  font-size: 18px;
  padding: 4px;
  cursor: pointer;
  transition: color 0.2s;
}
.scroll-btn:hover {
  color: #000;
}
.category-select-container {
  border: 1px solid var(--bs-border-color, #dee2e6);
  border-top: none;
  background: var(--bs-body-bg, #fff);
  border-radius: 0 0 0.375rem 0.375rem;
  padding: 1rem;
}
.search-card.active {
  border: 1px solid #007bff;
  background-color: #f0f8ff;
}
.left-card.active {
  border: 1px solid #007bff;
  background-color: #f8f9fa;
}
.search-wrapper .form-control {
  font-size: 14px;
  padding: 4px 8px;
}
.search-wrapper .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.search-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.search-tabs .tab-btn {
  padding: 4px 10px;
  font-size: 13px;
  background: #f8f8f8;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
}

.search-tabs .tab-btn.active {
  color: white;
}

.search-tabs .badge {
  background: #fff;
  font-size: 11px;
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: 10px;
}

.tab-panel {
  display: none;
}
#dashboardModal {
  z-index: 10000;
}
.dx-tooltip {
  z-index: 10500 !important;
}
.nk-home-header {
  color: black;
}
#geo360Modal {
  z-index: 10000 !important;
}
#imarModal {
  z-index: 10000 !important;
}
#cameraVideo,
.video-js,
.video-js .vjs-tech {
  height: 700px !important;
  max-height: 700px !important;
  width: 100% !important;
  object-fit: contain !important;
}
.mapbox-gl-draw-point {
  width: 312px !important;
  height: 312px !important;
  border-radius: 50%;
  border: 2px solid #000;
  background-color: #fff;
}
.style-flipper-control {
  z-index: 9999; 
  left: 50%;               
  transform: translateX(-50%); 
}


 .forminput {
  margin-right: 40px;
 }

.search-wrapper {
  border: 1px solid rgb(141, 141, 141);
  border-radius: 5px;
  padding: 2px;
}
 .selected-marker {
  outline: 2px dashed red;
  outline-offset: 2px;
}
#bilgiHTML .list-group-item {
  font-size: 14px;
  padding: 6px 10px;
  cursor: pointer;
}
#bilgiHTML .list-group-item:hover {
  background-color: #f5f5f5;
}
#bilgiHTML .badge {
  font-size: 12px;
}
#bilgiHTML {
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding-right: 5px;
  scrollbar-width: none;
}
.draw-sidebar{
  width:100%;  height:100%;
  display:flex; flex-direction:column;  
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Helvetica Neue", sans-serif;
}
.ds-header{ padding:8px; border-bottom:1px solid #eee; }
.ds-tools{ display:flex; gap:6px; flex-wrap:wrap; }
.ds-btn{
  border:1px solid #ddd; background:#fafafa; border-radius:6px; padding:6px 8px; cursor:pointer; font-size:14px;
}
.ds-btn:hover{ background:#f0f0f0; }
.ds-sep{ width:1px; background:#eee; margin:0 4px; }

.ds-body{ display:flex; flex-direction:column; height:83%; }
.ds-bulk{ display:flex; gap:8px; padding:8px; border-bottom:1px solid #f2f2f2; }
.ds-bulk-btn{ flex:1; padding:6px 8px; border-radius:6px; border:1px solid #ddd;  cursor:pointer;}
.ds-bulk-btn:hover{ background:#f6f6f6; }
.ds-bulk-btn.danger{ border-color:#f3a7a7; color:#a40000; }

.ds-list{ overflow:auto; height:83%; padding:6px 8px; }
.ds-item{ border:1px solid #eee; border-radius:8px; padding:8px; margin-bottom:8px;  }
.ds-item-head{ display:flex; align-items:center; justify-content:space-between; gap:8px; }
.ds-item-left{ display:flex; gap:8px; align-items:center; }
.ds-ico{ font-size:16px; }
.ds-title .ds-name{ font-weight:600; }
.ds-title .ds-sub{ font-size:12px; color:#666; }
.ds-item-actions{ display:flex; gap:6px; }
.mini{ border:1px solid #ddd; background:#fafafa; border-radius:6px; padding:4px 6px; cursor:pointer; font-size:13px; }
.mini.danger{ border-color:#f3a7a7; color:#a40000; }
.mini:hover{ background:#f0f0f0; }

.draw-label {
  padding: 2px 6px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .1);
}

.draw-label-halo {
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: #000;
  text-shadow:
    -1px -1px 0 #fff,
     1px -1px 0 #fff,
    -1px  1px 0 #fff,
     1px  1px 0 #fff;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.draw-label-total {
  font-weight: bold;
  font-size: 12px;
}

.draw-free-label {
  padding: 2px 4px;
  border-radius: 4px;
  user-select: none;
}

.ds-btn.active {
  background-color: #8cadd1;
  color: white;
  border-color: #0056b3;
}

.ds-item.highlight {
  animation: highlightFlash 1.2s ease-out;
  background-color: rgba(255, 230, 150, 0.8);
  border-left: 4px solid #ff9800;
}

@keyframes highlightFlash {
  0%   { background-color: rgba(255, 230, 150, 0.8); }
  50%  { background-color: rgba(255, 200, 80, 1); }
  100% { background-color: transparent; }
}

.ds-toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  padding: 4px 0;
  border-top: 1px solid #eee;
}

.ds-toggle-wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  margin-top: 10px;
}

.ds-toggle-label {
  font-size: 13px;
  color: #333;
}

.ds-toggle {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 20px;
}

.ds-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.ds-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.2s;
  border-radius: 20px;
}

.ds-slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.2s;
  border-radius: 50%;
}

.ds-toggle input:checked + .ds-slider {
  background-color: #007bff;
}

.ds-toggle input:checked + .ds-slider:before {
  transform: translateX(18px);
}

.ds-tools-row {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.ds-tools-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 6px;
  width: 100%;
  margin-bottom: 8px;
}

.ds-tools-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 20px;
  border-top: 1px solid #eee;
  padding-top: 6px;
}
.ds-btn.danger {
  border: 1px solid #c0392b !important;
}
.ds-btn.indir {
  border: 1px solid #44c02b !important;
}


.coord-switch {
  margin-top: 10px;
  margin-left: auto;
  position: relative;
  width: 90px;
  height: 28px;
}

.coord-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.coord-switch label {
  position: absolute;
  cursor: pointer;
  background-color: #ccc;
  border-radius: 30px;
  width: 100%;
  height: 100%;
  transition: 0.3s;
  font-size: 12px;
  color: #fff;
  text-align: center;
  line-height: 28px;
  user-select: none;
}

.coord-switch input:checked + label {
  background-color: #007bff;
}

.coord-switch label::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  transition: 0.3s;
}

.coord-switch input:checked + label::before {
  transform: translateX(62px);
}
.ds-collapse-icon {
  width: 20px;
  text-align: center;
  margin-right: 6px;
  color: #666;
  transition: transform 0.2s ease;
}
.ds-item-head:hover .ds-collapse-icon {
  color: #000;
}
.filterRow .ts-wrapper {
  width: 100% !important;
}
