/* Clean, modern fade-in transition on page load */
body {
  animation: pageFadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes pageFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Disable native Turbo progress bar */
.turbo-progress-bar {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

/* Custom premium progress bar */
.custom-turbo-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background-color: #4f46e5;
  background-image: linear-gradient(90deg, #4f46e5 0%, #818cf8 50%, #4f46e5 100%);
  background-size: 200% 100%;
  animation: shimmerProgressBar 2s infinite linear;
  box-shadow: 0 0 10px rgba(79, 70, 229, 0.7), 0 0 5px rgba(79, 70, 229, 0.4);
  z-index: 99999;
  pointer-events: none;
  opacity: 0;
  width: 0%;
  display: none;
}

@keyframes shimmerProgressBar {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
