/* FileConvert — custom styles */

/* Smooth scrolling */
html { scroll-behavior: smooth; }

/* File input drag states */
.dragging {
  border-color: #6366f1 !important;
  background-color: #eef2ff !important;
}

/* Transition for format option cards */
.format-option input:checked + div {
  box-shadow: 0 0 0 2px #6366f1;
}

/* Scrollbar styling */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #e5e7eb; border-radius: 9999px; }
::-webkit-scrollbar-thumb:hover { background: #d1d5db; }

/* Code block selection */
code::selection, pre::selection { background: #6366f1; color: white; }

/* Focus-visible ring */
:focus-visible { outline: 2px solid #6366f1; outline-offset: 2px; }

/* Dark mode */
html.dark ::-webkit-scrollbar-thumb {
  background: #374151;
}
html.dark ::-webkit-scrollbar-thumb:hover {
  background: #4b5563;
}
html.dark .dragging {
  background-color: rgba(99,102,241,0.15) !important;
}
