/* Quick mode switcher */
.mode-switcher {
  position: fixed;
  top: 10px;
  right: 14px;
  z-index: 10000;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #ddd;
  padding: 6px 10px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.mode-switcher a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
}

/* Highlight canvas area while dragging files */
#canvas-container.drag-hover {
  outline: 3px dashed rgba(0, 0, 0, 0.5);
  outline-offset: 6px;
  border-radius: 12px;
  transition: outline 0.2s ease-in-out, outline-offset 0.2s ease-in-out;
}

/* Drop overlay */
#drop-overlay {
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 600;
  font-size: 3rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  border: 3px dashed #fff;
  border-radius: 12px;
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 999;
  transition: opacity 0.3s ease-in-out, transform 0.2s ease-in-out;
}

#drop-overlay.active {
  display: flex;
  opacity: 1;
  transform: scale(1);
}

/* Canvas switcher and template button row */
.canvas-switcher {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}
