/* Command Panel (Buttons) */
#command-panel {
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Full Page Overlay */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: auto;
  background: var(--bg-color);
  backdrop-filter: blur(6px);
  transform: translateX(100%);
  transition: transform 0.4s ease;
}
.overlay.active {
  transform: translateX(0);
}
.overlay .content {
  background: var(--overlay-bg-color);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  min-width: 200px;
}

/* Slim Overlay*/
.slimoverlay {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: auto;
  background: transparent;
  transform: translateX(100%);
  transition: transform 0.4s ease;
}
.slimoverlay.active {
  transform: translateX(0);
}
.slimoverlay .blur {
  width: 50%;
  background: var(--bg-color);
  backdrop-filter: blur(6px);
}
.slimoverlay .blur .content {
  background: var(--overlay-bg-color);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  min-width: 200px;
}