/* Mobile Menu Fix */
@media (max-width: 991px) {
  /* Header positioning */
  .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
  }

  /* Main content padding to account for fixed header */
  .main-content {
    padding-top: 5rem;
  }

  /* Mobile menu toggle button */
  .mobile-menu-toggle {
    display: block;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.25rem;
    z-index: 1001;
  }

  /* Navigation container */
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    z-index: 999;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
  }

  /* Show navigation when active */
  .nav.show {
    display: block !important;
  }

  /* Navigation list */
  .nav-list {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  /* Navigation items */
  .nav-item {
    margin: 0.5rem 0;
    width: 100%;
  }

  /* Navigation links */
  .nav-link {
    display: block;
    padding: 0.75rem 1rem;
    color: white;
    text-decoration: none;
    border-radius: 0.25rem;
    transition: background-color 0.2s;
  }

  .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }

  /* Date filter */
  .date-filter {
    margin: 1rem 0 0 0;
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  .date-filter-input {
    width: 100%;
    margin-bottom: 0.5rem;
    padding: 0.5rem;
  }

  .reset-btn {
    width: 100%;
    margin: 0;
  }
}
/* Fix for status text in mobile view */
@media (max-width: 767px) {
  .status {
    white-space: nowrap !important;
  }

  .status br {
    display: none !important;
  }

  .status br::before {
    content: " " !important;
    white-space: pre !important;
  }

  /* Force space replacement for br tags */
  .table td:last-child .status {
    line-height: 1.2;
  }
}
