@import url("premium-brand.css");

.kx-sync-progress-slot {
  height: 4px;
  margin: 0 0 12px;
  overflow: hidden;
  border-radius: 999px;
  background: transparent;
  opacity: 0;
  transition: opacity .16s ease, background-color .16s ease;
}

.kx-sync-progress-slot[data-active="true"],
.kx-sync-progress-slot[data-settling="true"] {
  opacity: 1;
  background: #e6edf7;
}

.kx-sync-progress-bar {
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0b4aa2, #2384ff, #0b4aa2);
  transform: translateX(-120%);
}

.kx-sync-progress-slot[data-active="true"] .kx-sync-progress-bar {
  animation: kxSyncIndeterminate 1.05s ease-in-out infinite;
}

.kx-sync-progress-slot[data-settling="true"] .kx-sync-progress-bar {
  width: 100%;
  transform: translateX(0);
  transition: transform .18s ease, width .18s ease;
}

@keyframes kxSyncIndeterminate {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(340%); }
}

@media (prefers-reduced-motion: reduce) {
  .kx-sync-progress-slot,
  .kx-sync-progress-bar {
    transition: none !important;
  }

  .kx-sync-progress-slot[data-active="true"] .kx-sync-progress-bar {
    animation: none;
    transform: translateX(70%);
  }
}
