/* Styles for GDGoC Poster Studio */

* {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

/* Custom Scrollbar for Controls */
.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.6);
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(51, 65, 85, 0.8);
  border-radius: 9999px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: rgba(100, 116, 139, 0.9);
}

/* Range Input Customization */
input[type="range"] {
  height: 6px;
  background: #1e293b;
  border-radius: 9999px;
  appearance: none;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #a855f7;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  transition: transform 0.1s ease, background-color 0.1s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  background: #c084fc;
}

/* Tab Switching */
.tab-pane.hidden {
  display: none !important;
}

/* Canvas Viewport */
#canvasWrapper {
  max-height: calc(100vh - 8rem);
  max-width: calc(100vw - 32rem);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0f172a;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

#posterCanvas {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.15s ease-out;
}
