.map-result-panel {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translate(-50%, 100%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  padding: 12px 18px;
  max-width: 320px;
  background: rgba(255, 255, 255, 0.95);
  color: #333;
  font-weight: 500;
  font-size: 14.5px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  text-align: center;
}

/* Show state */
.map-result-panel.show {
  transform: translate(-50%, 0); /* ma slide upwards pero dugay2 madula man */
  opacity: 1;
}
.tomb-layer-floating-panel {
  position: absolute;
  top: 90px;
  right: 16px;
  width: 220px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  color: #333;
  border-radius: 12px;
  padding: 12px 0 14px;
  z-index: 1100;
  font-size: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  overflow: hidden;
}

.tomb-layer-floating-panel {
  position: absolute;
  top: 90px;
  right: 16px;
  width: 220px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  color: #333;
  border-radius: 12px;
  padding: 12px 0 14px;
  z-index: 1100;
  font-size: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  overflow: hidden;
  font-family: "Lora", sans-serif;
}

/* Header wrapper with balanced padding */
.tomb-panel-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid #ddd;
  margin-bottom: 10px;
  height: 42px;
}

/* Center title */
.tomb-panel-header .header-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 15px;
  color: var(--primary-color);
}

/* Eye icon stays on the right, vertically centered */
.tomb-panel-header .toggle-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  color: var(--primary-color);
  cursor: pointer;
}

/* Layer list */
.tomb-layer-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
}

.tomb-layer-list label {
  display: flex;
  align-items: center;
  font-size: 13.5px;
  font-weight: 500;
  color: #444;
}

/* Colored box */
.color-box {
  width: 16px;
  height: 16px;
  display: inline-block;
  border-radius: 4px;
  margin: 0 6px;
  border: 1px solid #999;
}
