/* Teleradio Desk - Sistema Visual POS de Taller */
:root {
  color-scheme: light;
}

html,
body {
  overflow-x: hidden;
}

body {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #eef2f6;
  background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
  background-size: 20px 20px;
  color: #0f172a;
  -webkit-tap-highlight-color: transparent;
}

input,
textarea,
select {
  scroll-margin-top: 5rem;
  scroll-margin-bottom: 6rem;
}

.font-mono {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* Botones y chips táctiles */
.touch-chip {
  min-height: 44px;
  transition: transform 0.14s cubic-bezier(0.23, 1, 0.32, 1), background-color 0.15s ease-out, border-color 0.15s ease-out, box-shadow 0.15s ease-out;
  user-select: none;
}

.touch-chip:active {
  transform: scale(0.97);
}

.touch-btn {
  min-height: 44px;
  transition: transform 0.14s cubic-bezier(0.23, 1, 0.32, 1), background-color 0.15s ease-out, border-color 0.15s ease-out, box-shadow 0.15s ease-out;
  user-select: none;
}

.touch-btn:active {
  transform: scale(0.97);
}

/* Ocultar scrollbar horizontal en barras de filtros manteniendo scroll táctil */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Evita que la barra inferior móvil tape inputs al abrir el teclado virtual */
@media (max-width: 639px) {
  body:has(input:focus, textarea:focus, select:focus) #workshop-nav {
    display: none;
  }
}

/* Scrollbar sutil para columnas Kanban independientes en escritorio */
.scrollbar-thin::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.scrollbar-thin::-webkit-scrollbar-track {
  background: transparent;
}

.scrollbar-thin::-webkit-scrollbar-thumb {
  background-color: rgba(148, 163, 184, 0.45);
  border-radius: 9999px;
}

.scrollbar-thin::-webkit-scrollbar-thumb:hover {
  background-color: rgba(100, 116, 139, 0.7);
}

.scrollbar-thin {
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.45) transparent;
}