/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

body {
  font-family: "Inter", sans-serif;
}

/* Turbo progress bar */
.turbo-progress-bar {
  height: 3px;
  background: linear-gradient(to right, #2563eb, #3b82f6);
  box-shadow: 0 0 8px rgba(37, 99, 235, 0.4);
}

/* Page transition loading state */
main {
  transition: opacity 150ms ease;
}

html[aria-busy="true"] body {
  cursor: progress;
}

html[aria-busy="true"] main {
  opacity: 0.6;
  pointer-events: none;
}