/* HTML Studio Custom Styles */

@layer utilities {
  .no-scrollbar::-webkit-scrollbar {
    display: none;
  }
  .no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(156, 163, 175, 0.4);
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(156, 163, 175, 0.7);
}

.dark ::-webkit-scrollbar-thumb {
  background: rgba(75, 85, 99, 0.5);
}
.dark ::-webkit-scrollbar-thumb:hover {
  background: rgba(107, 114, 128, 0.8);
}

/* Device Preview Frames */
.preview-device-desktop {
  width: 100%;
  height: 100%;
}

.preview-device-tablet {
  width: 768px;
  max-width: 100%;
  height: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
}

.preview-device-mobile {
  width: 375px;
  max-width: 100%;
  height: 100%;
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

/* Monaco container */
.monaco-editor-container {
  height: 100%;
  width: 100%;
  border-radius: 0.375rem;
  overflow: hidden;
}

/* Drag & Drop Visual Indicator */
.dragging-section {
  opacity: 0.5;
  scale: 0.98;
}

/* Glow & Animation Effects */
.glow-indigo {
  box-shadow: 0 0 20px -5px rgba(99, 102, 241, 0.4);
}
