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

/* Navigation responsive styles */
.nav-desktop {
  display: none !important;
}
.nav-mobile {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  padding: 0 !important;
}

.nav-mobile > div {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

/* Fix for button_to form element in mobile nav */
.nav-mobile form {
  display: inline-flex !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Remove container padding on mobile for nav */
@media (max-width: 767px) {
  nav .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex !important;
  }
  .nav-mobile {
    display: none !important;
  }
}

/* Text responsive styles */
.text-mobile {
  display: inline !important;
}
.text-desktop {
  display: none !important;
}

@media (min-width: 640px) {
  .text-mobile {
    display: none !important;
  }
  .text-desktop {
    display: inline !important;
  }
}
