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

#corex-progress-bar {
  background: linear-gradient(90deg, rgb(255, 111, 97) 0%, rgb(255, 131, 120) 50%, rgb(255, 111, 97) 100%);
  height: 3px;
  box-shadow: 0 0 8px rgba(255, 111, 97, 0.3);
  transition: width 300ms ease-out, opacity 200ms ease-out;
}

.turbo-progress-bar:not(#corex-progress-bar) {
  visibility: hidden;
}

* {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 111, 97, 0.7) #f9fafb;
}

/* Custom checkbox indeterminate state */
input[type="checkbox"]:indeterminate {
  background-color: rgb(255, 111, 97);
  border-color: rgb(255, 111, 97);
}

input[type="checkbox"]:indeterminate::before {
  display: block !important;
}

input[type="checkbox"]:indeterminate::after {
  display: none !important;
}
