/* ปรับการแสดงผลบนจอเล็ก (มือถือ/แท็บเล็ต) */
@media (max-width: 991.98px) {
  /* ปุ่มย่อ/ขยาย sidebar ใช้เฉพาะจอใหญ่ บนจอเล็กใช้ปุ่มเมนูของ navbar แทน */
  #toggle-bar {
    display: none !important;
  }
  /* ล้าง inline style ที่ปุ่มย่อ/ขยาย sidebar ตั้งไว้ */
  .sidebar {
    display: block !important;
  }
  .main-panel {
    width: 100% !important;
  }
  div.main-panel > .content {
    padding: 10px 0;
  }
  .main-panel > .content > .container-fluid {
    padding-left: 10px;
    padding-right: 10px;
  }
  .navbar .navbar-brand.disaster-brand {
    white-space: normal;
    font-size: 1rem;
    line-height: 1.3;
    max-width: calc(100% - 60px);
  }
  .navbar .navbar-brand.disaster-brand img {
    width: 32px !important;
    margin-right: 8px !important;
  }
  .navbar .navbar-collapse > .text-center {
    margin: 4px 0 !important;
  }
  .card .card-body {
    padding: 0.75rem;
  }
  .table-responsive > .table {
    margin-bottom: 0;
  }
  .table-responsive > .table th,
  .table-responsive > .table td {
    white-space: nowrap;
  }
  .dashboard-filter,
  .dashboard-filter .form-group,
  .dashboard-filter .input-group {
    width: 100%;
  }
  .dashboard-filter .input-group > .form-control,
  .dashboard-filter .input-group > select {
    flex: 1 1 auto;
    width: 1%;
  }
}
