.main-sidebar {
  transition: transform 0.3s ease-in-out;
}

.collapsed {
  transform: translateX(-100%);
}

.navbar {
  flex-wrap: nowrap;
}

.navbar-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}

.navbar-nav .nav-item {
  flex-shrink: 0;
}

.navbar-nav .nav-link {
  white-space: nowrap;
}

@media (max-width: 767px) {
  body.h-100 {
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  body {
    min-height: 100vh;
  }

  .page-header,
  .page-header h3,
  .page-header .page-subtitle {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .main-content-container {
    padding-bottom: 70px;
  }

  .main-sidebar {
    position: fixed;
    top: 56px;
    width: 100%;
    height: calc(100vh - 56px);
    transform: translateX(-100%);
    overflow-y: auto;
  }

  .main-sidebar.active {
    transform: translateX(0);
  }

  .toggle-sidebar {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1051;
  }

  .navbar {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    width: 100%;
  }

  .main-navbar {
    flex: 1;
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .navbar-nav {
    display: flex;
    flex: 1;
    justify-content: baseline;
  }

  #client-select {
    order: 2;
    margin: 0 85px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .main-sidebar__search {
    display: none;
  }

  .profile {
    display: none;
  }

  .top_profile {
    display: flex !important;
  }

  .logo-img {
    display: none !important;
  }

  .main-footer {
    flex-direction: column;
  }

  .no-scroll {
    overflow: hidden;
  }

  .contact-support {
    display: none;
  }

  .client-select-label {
    display: none !important;
  }

  .stats-small {
    margin-bottom: 1rem;
  }

  .card-info {
    display: none;
  }

  .dash-card .card-body {
    padding: 1rem;
    text-align: center;
  }

  .stats-small__label {
    font-size: 1rem;
  }

  .stats-small__value {
    font-size: 1.5rem;
  }

  .page-header {
    text-align: center;
  }

  .page-header h3 {
    font-size: 1.2rem;
  }

  .page-header .page-subtitle {
    font-size: 1rem;
  }

  .dash-view-select-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 1rem;
    margin-left: 10px;
  }

  .dash-header-actions {
    justify-content: center;
    width: 100%;
  }

  .dash-export-btn {
    width: 80%;
  }

  .dash-view-select {
    width: 80%;
    padding: 0.5rem;
    border-radius: 0.25rem;
    text-align: center;
  }

  .dash-view-select-label {
    display: none;
  }

  .permit-counts-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .permit-breakdown-btn {
    width: 100%;
  }

  .permit-counts-summary {
    grid-template-columns: 1fr;
  }

  .permit-type-tile {
    min-width: 100%;
    max-width: none;
  }
}

@media (min-width: 768px) {
  .contact-mobile-button {
    display: none;
  }
}
