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

/* Flash message animation */
@keyframes slideUp {
  0% { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

.animate-slide-up {
  animation: slideUp 0.3s ease-out;
}

/* Print styles — hide admin chrome when printing quote preview */
@media print {
  .no-print {
    display: none !important;
  }

  /* Hide workflow header, stepper, slide-out nav, overlay */
  header,
  aside,
  [data-workflow-nav-target="overlay"] {
    display: none !important;
  }

  /* Reset body to clean white background for print */
  body {
    background: white !important;
  }

  /* Remove border radius and padding constraints on the document */
  #quote-document {
    border: none !important;
    padding: 0 !important;
    max-width: none !important;
  }

  /* Ensure table doesn't break across pages awkwardly */
  tr {
    page-break-inside: avoid;
  }
}
