/* ARK_MOTION_V26 - Animation nhe, khong doi layout/scrollbar */
@keyframes arkV26Page { from { opacity: .65; } to { opacity: 1; } }
@keyframes arkV26Fade { from { opacity: .28; } to { opacity: 1; } }
@keyframes arkV26Form { from { opacity: .12; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }
@keyframes arkV26Popup { from { opacity: .15; translate: 0 7px; } to { opacity: 1; translate: 0 0; } }

html.ark-motion-v26 body { animation: arkV26Page 180ms ease-out both; }
html.ark-motion-v26 .ark-v26-in { animation: arkV26Fade 230ms ease-out both; }
html.ark-motion-v26 .ark-v26-form-in { animation: arkV26Form 320ms cubic-bezier(.2,.75,.2,1) both; }
html.ark-motion-v26 .ark-v26-popup-in { animation: arkV26Popup 220ms cubic-bezier(.2,.75,.2,1) both; }

/* Khong thay kich thuoc, chieu cao, overflow, position cua cac thanh phan. */
html.ark-motion-v26 :is(#tabs button, .pill button, .modes .mode,
  .ag-btnrow button, .toolbar button, .chip, .icon-btn) {
  transition: background-color 170ms ease, border-color 170ms ease,
    color 170ms ease, box-shadow 170ms ease, filter 170ms ease;
}
html.ark-motion-v26 :is(.card, .kpi, .fpanel) {
  transition: border-color 200ms ease, background-color 200ms ease;
}
html.ark-motion-v26 :is(#agForm, #skForm, #tlForm) {
  scroll-margin-top: 94px;
}
@media (prefers-reduced-motion: reduce) {
  html.ark-motion-v26 body,
  html.ark-motion-v26 .ark-v26-in,
  html.ark-motion-v26 .ark-v26-form-in,
  html.ark-motion-v26 .ark-v26-popup-in {
    animation: none !important;
  }
  html.ark-motion-v26 :is(button, .chip, .card, .kpi, .fpanel) {
    transition: none !important;
  }
}
