/* Object Filter Panel Styles */

#object-filter-panel {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 300px;
  max-height: calc(100vh - 40px);
  background: rgba(0, 0, 0, 0.85);
  padding: 20px;
  border-radius: 8px;
  color: white;
  z-index: 1000;
  overflow-y: auto;
}

#object-filter-panel h2 {
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: 600;
}

#filter-container {
  margin-bottom: 20px;
}

.filter-item {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  cursor: pointer;
  padding: 6px 0;
}

.filter-item input[type="checkbox"] {
  margin-right: 8px;
  cursor: pointer;
}

.filter-item label {
  cursor: pointer;
  font-weight: normal;
  margin: 0;
  flex: 1;
  font-size: 14px;
}

.filter-preview {
  width: 20px;
  height: 20px;
  margin-left: 8px;
  object-fit: contain;
}

.control-group {
  margin-bottom: 15px;
}

.control-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: bold;
}

.zoom-controls {
  display: flex;
  gap: 10px;
}

.zoom-btn {
  flex: 1;
  padding: 8px;
  background: #7e1919;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s;
}

.zoom-btn:hover {
  background: #9a1f1f;
}

.info-text {
  font-size: 12px;
  color: #aaa;
  margin-top: 10px;
}

/* 반응형 */
@media screen and (max-width: 1024px) {
  #object-filter-panel {
    width: 250px;
  }
}

@media screen and (max-width: 768px) {
  #object-filter-panel {
    width: 200px;
    padding: 15px;
  }
}
