html,
body {
  max-width: 100%;
}

@media (max-width: 767.98px) {
  html,
  body {
    overflow-x: hidden;
  }

  .layout-page,
  .content-wrapper {
    min-width: 0;
  }

  .container-xxl,
  .container-fluid {
    padding-left: 0.875rem;
    padding-right: 0.875rem;
    width: 100%;
  }

  .container-p-y {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }

  .layout-navbar {
    min-height: auto;
    padding: 0.625rem 0.875rem;
  }

  .navbar-nav-right {
    min-width: 0;
    width: 100%;
  }

  .navbar-nav-right h5 {
    font-size: 0.95rem;
    max-width: calc(100vw - 5.5rem);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .card {
    border-radius: 0.5rem;
  }

  .card-body {
    padding: 1rem;
  }

  .alert.d-flex {
    flex-direction: column;
  }

  .alert form,
  .alert form .btn {
    width: 100%;
  }

  .swal2-popup {
    width: calc(100% - 2rem) !important;
  }

  .swal2-html-container {
    margin-left: 0.5rem !important;
    margin-right: 0.5rem !important;
  }
}
