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

/* Bottom CTA Bar - Ensure it doesn't overlap with footer */
[data-controller="bottom-cta"] {
  box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1), 0 -2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Smooth animation for the bottom CTA */
[data-controller="bottom-cta"] {
  transform: translateY(100%);
  transition: transform 300ms ease-out;
}

/* Ensure footer has proper spacing when CTA is visible */
footer {
  transition: margin-bottom 300ms ease-out;
}
