/* FleetFlow AI — motion: keyframes and transitions (loaded after style.css). Tokens and values are documented in DESIGN_TOKENS.md. */

.sidebar { transition: width .2s ease; }
.sb-link { transition: background .15s ease, color .15s ease; }
.sb-link i { transition: color .15s ease; }
.sb-toggle { transition: left .2s ease, transform .2s ease; }
.main-panel { transition: margin-left .2s ease; }
.btn-ff { transition: background .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease; }
.table-ff tbody tr { transition: background .12s ease; }
.input-ff, .select-ff { transition: border-color .15s ease, box-shadow .15s ease; }
.switch-ff span { transition: background .15s ease; }
.switch-ff span::after { transition: transform .15s ease; }
.check-ff { transition: background .12s, border-color .12s; }
.radio-card { transition: border-color .15s, background .15s; }
.modal.fade .modal-dialog { transition: transform .18s ease-out; }
.toast-ff { animation: toast-in .2s ease-out; }
.toast-ff.out { animation: toast-out .18s ease-in forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes toast-out { to { opacity: 0; transform: translateY(8px); } }
.gbar { transition: filter .12s; }
.pallet { transition: transform .1s; }
.chart-tip { transition: opacity .1s ease; }
.ai-action { transition: box-shadow .15s; }
.queue-card { transition: box-shadow .15s, background .15s; }
.veh-card { transition: box-shadow .15s; }
.drv-card { transition: box-shadow .15s; }
.ff-static *, .ff-static *::before, .ff-static *::after { transition: none !important; animation: none !important; }
.thread-card { transition: box-shadow .15s, background .15s; }
.suggest-row { transition: border-color .15s; }
.agent-card { transition: box-shadow .15s; }
.level-card { transition: box-shadow .15s, background .15s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
