/**
 * Mobile-specific fixes for the NativeBio website
 * These styles only target mobile views to avoid breaking desktop layout
 */

/* Reset problematic styles that might be affecting layout */
.main-container {
  width: auto !important;
  max-width: 1320px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  /* padding-left: 15px !important;
  padding-right: 15px !important; */
}

/* Fix the logo positioning */
.navbar-brand {
  padding: 15px !important;
  margin: 0 !important;
  display: inline-block !important;
}

/* Fix BIOREPOSITORY link alignment */
a[href*="biorepository"] {
  display: block !important;
  text-align: right !important;
  margin: 10px 0 !important;
  color: #0d6efd !important;
  font-weight: normal !important;
}

/* Fix the Donate button in the header */
.header-top-wrapper a[href*="donate"] {
  background-color: #0056b3 !important;
  color: white !important;
  font-weight: 500 !important;
  padding: 0 15px !important;
  height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  border-radius: 0 !important;
}

/* Mobile-specific adjustments */
@media (max-width: 767px) {

  /* Ensure content is properly centered */
  .container {
    width: 100% !important;
    max-width: 100% !important;
    /* padding-left: 15px !important;
    padding-right: 15px !important; */
  }

  /* Fix hamburger menu alignment */
  .navbar-toggler {
    position: absolute !important;
    right: 0 !important;
    top: 0 !important;
    height: 40px !important;
    width: 40px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
  }

  /* Fix header layout */
  .header-top-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 40px !important;
    position: relative !important;
  }

  /* Ensure hero text is visible and centered */
  .field--name-field-hero-text {
    text-align: center !important;
    color: white !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
  }
}