* {
  font-family: "Lato", sans-serif;
}

.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;
}

.ts-control {
  position: relative;
  padding-right: 30px;
}

.ts-control::after {
  content: "▾";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: #6c757d;
  pointer-events: none;
}

.mapboxgl-ctrl-group:has(.mapbox-gl-draw_polygon) {
  display: none !important;
}

.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-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: rgba(255, 255, 255, 0.4) !important;
  backdrop-filter: blur(var(--glass-blur, 10px)) !important;
  -webkit-backdrop-filter: blur(var(--glass-blur, 10px));
  color: #000 !important;
  border-radius: 14px;
  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 {
  background: transparent;
  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, 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: 10px;
  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;
}

.eczane-header-left {
  display: flex;
  flex-direction: column;
}

.eczane-title {
  font-weight: 700;
  font-size: 1.05rem;
}

.eczane-date {
  font-size: 0.85rem;
  color: #6c757d;
}

.eczane-card {
  background: #fff;
  border-radius: 10px;
  padding: 10px 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  margin-bottom: 10px;
}

.eczane-card-title {
  font-weight: 700;
  color: #c62828;
  margin-bottom: 4px;
}

.eczane-card-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
}

.eczane-card-row.phone a {
  font-weight: 600;
}

.glass-effect {
  background: rgba(255, 255, 255, 0.4) !important;
  backdrop-filter: blur(var(--glass-blur, 10px)) !important;
  -webkit-backdrop-filter: blur(var(--glass-blur, 10px));
  color: #000 !important;
}

.glass-effect-border {
  border-radius: 25px !important;
}

.glass-effect-low {
  background: rgba(255, 255, 255, 0.00000004);
  backdrop-filter: blur(1000px);
  -webkit-backdrop-filter: blur(5px);
}

.layer-card {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(var(--glass-blur, 10px));
  -webkit-backdrop-filter: blur(var(--glass-blur, 10px));
}

.maplibregl-ctrl-group button+button {
  border: none !important;
}

.accordion,
.accordion-item,
.accordion-button,
.accordion-body {
  background: transparent !important;
}

.accordion-item {
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.15) !important;
}

.accordion-button {
  background: rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(12px);
}

.accordion-button:not(.collapsed) {
  background: rgba(255, 255, 255, 0.22) !important;
}

.nav-tabs,
.nav-tabs .nav-link {
  color: black !important;
  background-color: transparent !important;
}

.nav-link.glass-effect.active {
  color: #000 !important;
  background-color: rgba(255, 255, 255, 0.35) !important;
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-radius: 8px;
  font-weight: 800;
}

.dropdown-menu.glass-effect {
  background-color: rgba(255, 255, 255, 0.78) !important;
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
  padding: 6px 0;
  z-index: 10000;
}

.dropdown-menu.glass-effect .dropdown-item {
  background-color: transparent !important;
  color: #000 !important;
  font-weight: 500;
}

.dropdown-menu.glass-effect .dropdown-item:hover,
.dropdown-menu.glass-effect .dropdown-item:focus {
  background-color: rgba(0, 0, 0, 0.06) !important;
  color: #000 !important;
}

.context-menu-root.context-menu-list {
  background-color: rgba(255, 255, 255, 0.55) !important;
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
  font-weight: 500;
}

.context-menu-item>.context-menu-list {
  background-color: rgba(255, 255, 255, 0.78) !important;
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.context-menu-item {
  background-color: transparent !important;
  color: #000 !important;
  font-weight: 500;
}

.context-menu-item:hover,
.context-menu-item.context-menu-hover {
  background-color: rgba(0, 0, 0, 0.06) !important;
  color: #000 !important;
}

.context-menu-list {
  z-index: 10000 !important;
}

#featureDetails {
  position: relative;
  z-index: -1;
}

.glass-grid.dx-datagrid,
.glass-grid .dx-datagrid,
.glass-grid .dx-datagrid *,
.glass-grid .dx-row,
.glass-grid .dx-row-alt,
.glass-grid .dx-state-hover,
.glass-grid .dx-selection,
.glass-grid .dx-row-focused,
.glass-grid .dx-header-row,
.glass-grid .dx-datagrid-filter-row,
.glass-grid .dx-datagrid-header-panel,
.glass-grid .dx-datagrid-rowsview,
.glass-grid .dx-datagrid-content,
.glass-grid .dx-datagrid-headers {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  font-weight: 600;
}

/*glasstablo*/
.glass-grid table {
  background: transparent;
  border-collapse: collapse !important;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 8px;
  overflow: hidden;
}

.glass-grid table thead,
.glass-grid table tbody,
.glass-grid table tr,
.glass-grid table th,
.glass-grid table td {
  background: transparent;
  box-shadow: none;
}

.glass-grid table th,
.glass-grid table td {
  padding: 10px 12px;
  color: #1f1f1f;
  vertical-align: top;
  border-bottom: 1px solid rgba(0, 0, 0, 0.18);
}

.glass-grid table tr:last-child td {
  border-bottom: none;
}

.glass-grid table th:first-child,
.glass-grid table td:first-child {
  font-weight: 600;
  white-space: normal;
}

.glass-grid table th:not(:last-child),
.glass-grid table td:not(:last-child) {
  border-right: 1px solid rgba(0, 0, 0, 0.18);
}

.glass-grid table tr:hover,
.glass-grid table tr:nth-child(even),
.glass-grid table tr:nth-child(odd) {
  background: transparent;
}

/*glasstablo*/
.glass-grid .dx-row-alt>td,
.glass-grid .dx-state-hover>td,
.glass-grid .dx-selection>td,
.glass-grid .dx-row-focused>td {
  background: transparent !important;
  background-color: transparent !important;
}

.glass-grid .dx-row>td,
.glass-grid .dx-header-row>td,
.glass-grid .dx-datagrid-borders *,
.glass-grid .dx-column-lines>td,
.glass-grid .dx-row-lines>td {
  border-color: rgba(0, 0, 0, 0.15) !important;
}

.glass-grid table {
  border-collapse: collapse !important;
}

.glass-grid .dx-data-row>td {
  color: #1f1f1f;
  padding: 10px 12px;
}

.glass-grid .dx-header-row>td {
  font-weight: 600;
  color: #222;
}

.glass-grid .dx-texteditor,
.glass-grid .dx-texteditor-container,
.glass-grid .dx-texteditor-input {
  background: transparent !important;

  box-shadow: none !important;
}

.glass-grid .dx-scrollable-scrollbar,
.glass-grid .dx-scrollbar,
.glass-grid .dx-scrollbar-thumb {
  display: none !important;
}

.glass-grid .dx-focused,
.glass-grid .dx-highlight-outline,
.glass-grid .dx-cell-modified::after,
.glass-grid .dx-datagrid-invalid::after {
  outline: none !important;
  border: none !important;
}

.glass-grid .dx-icon,
.glass-grid .dx-texteditor-input {
  color: #000 !important;
}

.glass-grid .dx-item-content {
  color: #000 !important;
}

.glass-grid .dx-datagrid-search-panel .dx-icon-search {
  color: #ff0000 !important;
}

#eczaneMahalleSelect,
#eczaneIlceSelect {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  color: #333;
}

/* Tom Select glass input */
.ts-control {
  background-color: rgba(220, 220, 220, 0.55) !important;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(0, 0, 0, 0.15) !important;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  color: #2b2b2b;
}

.ts-control input::placeholder {
  color: rgba(0, 0, 0, 0.55);
}

.focus .ts-control,
.ts-control:focus-within {
  background-color: rgba(220, 220, 220, 0.65) !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
}

.ts-dropdown {
  background-color: rgba(220, 220, 220, 0.95) !important;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

/* Tom Select glass input */

#layerGroups {
  margin-top: 10px !important;
}


.bottom-table-panel {
  width: 100%;
  max-height: 90vh;
  min-height: 90vh;
  padding-right: 5px;
  scrollbar-width: none;
  overflow-y: auto;
  overflow-x: hidden;
}