/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
.dark ::-webkit-scrollbar-thumb {
  background: #475569;
}

/* SVG Selection Glow */
.selected-glow {
  filter: drop-shadow(0 0 12px rgba(16, 185, 129, 0.75));
}

/* CAD Grid Background */
.cad-grid {
  background-size: 40px 40px;
  background-image: linear-gradient(to right, rgba(148, 163, 184, 0.05) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
}
.dark .cad-grid {
  background-image: linear-gradient(to right, rgba(51, 65, 85, 0.2) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(51, 65, 85, 0.2) 1px, transparent 1px);
}