/* Lees Business Command Centre — custom styles */

/* Scrollbars */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(100,116,139,.35); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: rgba(100,116,139,.55); }

/* htmx indicators — opacity so they don't reflow layout */
.htmx-indicator { opacity: 0; transition: opacity 200ms ease; }
.htmx-request  .htmx-indicator { opacity: 1; }
.htmx-request.htmx-indicator    { opacity: 1; }

/* Buttons that swap label ↔ spinner during an htmx request */
.btn-swap .btn-busy { display: none; }
.btn-swap.htmx-request .btn-idle { display: none; }
.btn-swap.htmx-request .btn-busy { display: inline-flex; }

/* Smooth transitions */
* { transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform, filter; transition-timing-function: cubic-bezier(.4,0,.2,1); transition-duration: 150ms; }
html { scroll-behavior: smooth; }

/* Disable transitions during sidebar resize (avoids flicker) */
.no-transition, .no-transition * { transition: none !important; }

/* Kanban column (future) */
.kanban-col { min-height: 60vh; }
.kanban-card { cursor: grab; }
.kanban-card.dragging { opacity: .4; }

/* Focus ring defaults */
:focus-visible { outline: 2px solid rgb(59 130 246); outline-offset: 2px; }
