/* Scrollbar estilizada */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0F1117; }
::-webkit-scrollbar-thumb { background: #2A2D3E; border-radius: 3px; }

/* Transições de modal */
#modal-overlay { transition: opacity 0.2s ease; }
#modal-box     { transition: transform 0.2s ease; }

/* Kanban drag visual */
.kanban-card.dragging { opacity: 0.5; transform: rotate(2deg); }
.kanban-col.drag-over { outline: 2px dashed #5270FF; }

/* Kanban column scroll */
.kanban-col {
  min-width: 220px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

/* Tag chips */
.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(82, 112, 255, 0.15);
  color: #9CAEF7;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 999px;
  cursor: pointer;
}
.tag-chip:hover { background: rgba(239, 68, 68, 0.2); color: #f87171; }

/* Toggle switch */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: #2A2D3E;
  border-radius: 22px;
  transition: 0.2s;
}
.toggle-slider:before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  left: 3px;
  bottom: 3px;
  background: #9CAEF7;
  border-radius: 50%;
  transition: 0.2s;
}
.toggle-switch input:checked + .toggle-slider { background: rgba(82,112,255,0.4); }
.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(18px);
  background: #5270FF;
}

/* Log row expansion */
.log-row { display: none; }
.log-row.open { display: table-row; }

/* Spinner */
.spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}
@keyframes spin { to { transform: rotate(360deg); } }
