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

button, [type="button"], [type="submit"], [role="button"], a[href], select, summary, label[for], label:has(input[type="file"]) {
  cursor: pointer;
}

@keyframes slide-in-right {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.animate-slide-in {
  animation: slide-in-right 0.25s ease-out;
}

/* Turbo progress bar — slim lime bar at top */
.turbo-progress-bar {
  height: 3px;
  background-color: #65a30d; /* lime-600 */
  box-shadow: 0 0 8px rgba(101, 163, 13, 0.4);
}

/* Form submit loading state */
[data-submitting] {
  opacity: 0.7;
  pointer-events: none;
}
