/*
 * 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.
 */

html, body {
  margin: 0;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100%;
}

/* ── Turbo progress bar ──────────────────────────── */
.turbo-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--progress-gradient);
  box-shadow: 0 0 8px var(--progress-glow);
  z-index: 9999;
}

/* ── Page transition fade ────────────────────────── */
body {
  transition: opacity 80ms ease;
}

[data-turbo-loading] body {
  opacity: 0.6;
}
