/* Shared mobile layout for listing, requirement, and dashboard pages */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  overflow-x: hidden;
}
img,
video,
svg,
canvas,
iframe {
  max-width: 100%;
  height: auto;
}
.breadcrumb {
  flex-wrap: wrap;
  row-gap: 0.25rem;
}
.breadcrumb-item {
  overflow-wrap: anywhere;
}
h1, h2, h3, .h1, .h2, .h3 {
  overflow-wrap: anywhere;
}
.table-responsive {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.btn {
  max-width: 100%;
  white-space: normal;
}
@media (max-width: 991.98px) {
  .if-dash-aside {
    margin-top: 0 !important;
  }
  .navbar-brand {
    max-width: calc(100% - 7.5rem);
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .navbar-brand img {
    height: 32px !important;
  }
  .content-wrapper .container {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }
  .if-req-hero {
    min-height: 0 !important;
  }
  .if-req-hero img,
  #requirement-hero {
    max-height: 240px !important;
    width: 100% !important;
    object-fit: contain;
  }
  .if-req-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch !important;
  }
  .if-req-actions .btn,
  .if-req-actions form {
    width: 100%;
  }
  .pagination {
    flex-wrap: wrap;
    justify-content: center;
  }
  .product-image {
    width: 100%;
    height: auto !important;
    max-height: 220px;
    object-fit: cover;
  }
}
