/* Roboto */
@font-face {
  src: url("./assets/fonts/Roboto-Bold.woff2") format("woff2");
  font-weight: 700;
  font-family: "Roboto";
}
@font-face {
  src: url("./assets/fonts/Roboto-Medium.woff2") format("woff2");
  font-weight: 500;
  font-family: "Roboto";
}
@font-face {
  src: url("./assets/fonts/Roboto-Regular.woff2") format("woff2");
  font-weight: 400;
  font-family: "Roboto";
}

body {
  background-color: #ffffff;
  font-size: 14px;
  color: #202124;
  line-height: 100%;
  font-style: normal;
  font-weight: 400;
  font-family: "Roboto", "Arial", sans-serif;
}
/* unified spacing scale */
:root {
  --section-gap: 16px;
}

.bg-color {
  background-color: #f8f9fa;
}
/* .main-wrapper {
  padding: 5px;
} */
.table-container {
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.05), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2);
  background-color: #fff;
  box-sizing: border-box;
  width: 100%;
  border-right: 1px solid rgba(0, 0, 0, 0.12);
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 5px;
}
.top-bar {
  background-color: #fff;
  padding: 7px 10px;
  width: 100%;
  align-items: center;
  box-sizing: border-box;
  border: 1px solid rgba(0, 0, 0, 0.12);
  display: flex;
  flex-wrap: wrap;
  flex: 1 1 65%;
  gap: 12px;

}
.filter-box .filter-btn {
  border: 1px solid #dadce0;
  color: #5f6368;
  background-color: transparent;
  font-size: 13px;
  font-family: "Roboto", "Arial", sans-serif;
  border-radius: 50px;
  padding: 0 15px;
  line-height: 30px;
  float: left;
  margin: 2px 2px;
  transition: all 0.1s;
  text-decoration: none;
  display: flex;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}
.input-css {
  font-family: "Roboto", "Arial", sans-serif;
  border: none;
  cursor: pointer;
}
.dataTables_wrapper {
  margin-top: 0;
}

/* Hide DataTable search input completely */
.dataTables_filter {
  display: none !important;
}

/* Hide DataTable pagination and info completely */
.dataTables_info,
.dataTables_paginate,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
  display: none !important;
}

.apply-btn {
  background-color: #e0ebfc;
  color: #174ea6;
  border-color: #e0ebfc;
  border: none;
  border-radius: 15px;
  padding: 0 9px;
  line-height: 23px;
}
.table.dataTable {
  margin: 0 !important; /* spacing handled by section container */
}

#locationTable_filter {
  input[type="search"] {
    width: 200px; /* Adjust width as needed */
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
  }
}
#locationTable_paginate {
  a {
    clear: both;
    box-sizing: border-box;
    display: inline-block;
    min-width: 1.5em;
    padding: 0.5em 1em;
    margin-left: 2px;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    color: inherit !important;
    border: 1px solid transparent;
    border-radius: 2px;
    background: transparent;
    font-size: 14px;
  }

  a.current {
    background: #1967d2;
    border-color: #1967d2;
    color: #fff !important;
  }
}
.dataTables_paginate {
  margin-top: 10px;
}

.input-css:focus-visible,
.select2-container:focus-visible {
  outline: 0;
}
.custom-dropdown {
  position: relative;
  display: inline-block;
  width: 125px; /* Adjust width as needed */
}

/* Style the actual select box */
.custom-dropdown select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #f9f9f9;
  appearance: none; /* Remove default arrow */
  -webkit-appearance: none; /* Remove default arrow for Safari */
  -moz-appearance: none; /* Remove default arrow for Firefox */
  cursor: pointer;
}

/* Add custom arrow icon */
.custom-dropdown::after {
  content: "▼";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none; /* Prevent click on the arrow */
  font-size: 12px;
  color: #333;
}

/* Hover and focus states */
.custom-dropdown select:hover,
.custom-dropdown select:focus {
  border-color: #007bff;
  outline: none;
}

/* Style the options */
.custom-dropdown select option {
  padding: 10px;
  background-color: #fff;
  color: #333;
}
/* daterange css */
.daterangepicker .ranges li.active {
  background-color: #1967d2;
}
.daterangepicker td.active,
.daterangepicker td.active:hover {
  background-color: #1967d2;
}

/* Disabled state */
.custom-dropdown select:disabled {
  background-color: #1967d2;
  cursor: not-allowed;
}
select {
  outline: 0;
}

.app-filter .custom-dropdown option {
  font-size: 14px;
}


.select2-dropdown {
  border: 1px solid rgba(0, 0, 0, 0.12);
}
.app-item {
  height: 38px;
  gap: 6px;
  overflow: hidden;
  width: 100%;
  float: left;
  display: flex;
  align-items: center;
  margin-bottom: 2.5px;
}

.app-img img {
  width: 100%;
  border-radius: 5px;
  margin-left: 1px;
  border: 0 none;
  width: 25px;
  height: 25px;
}

.label-container {
  float: left;
  padding-right: 10px;
}
.primary-label-wrap {
  display: flex;
  align-items: center;
  line-height: 0;
}
.app-item .primary-label {
  font-size: 12px;
  color: #212529 !important;
}
.primary-label span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}
.primary-label-wrap,
.secondary-label-wrap {
  display: flex;
  align-items: center;
  line-height: 0;
}
.check-boxes-inner label span {
  font-family: "Roboto", "Arial", sans-serif;
  font-size: 13px;
  padding: 1px 0;
  float: left;
  font-weight: 400;
}
.primary-label {
  font-family: "Roboto", "Arial", sans-serif;
  line-height: 13px;
  font-size: 0.875rem;
  letter-spacing: 0.0142857143em;
  font-weight: 400;
  color: #3c4043;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
  float: left;
  font-size: 12px;
  color: #212529 !important;
}
.primary-label span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
}

.select2-results__option--selectable {
  color: black !important;
}

.select-first-dropdown .select2-results__option {
  height: 25px;
  white-space: pre-wrap;
  overflow: hidden;
  text-overflow: ellipsis;
  align-content: center;
  font-size: 12px;
}
.select-second-dropdown .select2-results__option {
  height: 20px;
}
.select2-results__option--highlighted {
  background-color: #e0e0e0 !important;
}
.select2-results__option--selected {
  background-color: #e0ebfc !important;
  color: #0031a7 !important;
  font-weight: 500;
}

.select2-search__field:focus-visible {
  outline: 0;
}

.select2-selection__clear span {
  font-size: 14px;
}
.table-container tr td .app-item {
  height: 24px !important;
}
.table-container tr td .app-item {
  background-color: unset !important;
}
.table-container tr td .app-item:hover {
  background-color: unset;
}

/* card css */
.location-summary-card {
  flex: 1 1 35%;
  min-width: 200px;
  display: flex;
  justify-content: flex-end;
  gap: var(--section-gap);
  flex-wrap: nowrap; /* Keep cards in one row on all screen sizes */
}
.first-card {
  background-color: #fff;
  padding: 5px 15px;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #dadce0;
  display: flex;
  justify-content: space-between;
}
.first-card .title-header {
  font-size: 16px;
  color: #3c4043;
  font-weight: 400;
}
.sub_title {
  font-size: 17px;
  font-weight: 400;
  color: #000;
}

.label-value {
  font-family: Roboto, Arial, sans-serif;
  line-height: 20px;
  letter-spacing: 0;
  align-items: center;
}
.custom-dimension-box {
  color: black;
  height: 20px !important;
}
#loadingSpinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
}
.spinner-box {
  width: 100%;
  height: 100px;
}
.spinner {
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top: 4px solid #3498db;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

.app-width .primary-label-wrap,
.app-width .secondary-label-wrap {
  width: 211px;
}


.dataTables_length {
  display: none;
}
.top-bar-page {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--section-gap);
  padding: var(--section-gap);
  box-sizing: border-box;
  /* margin-bottom: var(--section-gap); */
}

/* unified section wrapper spacing for consistent gaps around the table */
.section-container {
  margin: 0 var(--section-gap);
  margin-bottom: var(--section-gap);
}
.display-column {
  text-align: center;
  font-size: 11px;
}

/* Force column widths for sticky columns */
#locationTable th:nth-child(1),
#locationTable td:nth-child(1) {
  width: 20px !important;
  min-width: 20px !important;
  max-width: 20px !important;
  text-align: center !important;
  vertical-align: middle !important;
}

#locationTable th:nth-child(2),
#locationTable td:nth-child(2) {
  width: 275px !important;
  min-width: 275px !important;
  max-width: 275px !important;
  white-space: normal !important;
  word-wrap: break-word !important;
  word-break: break-word !important;
  line-height: 1.2 !important;
  vertical-align: top !important;
  text-align: left !important;
  vertical-align: middle !important;
}

#locationTable th:nth-child(3),
#locationTable td:nth-child(3) {
  width: 80px !important;
  min-width: 80px !important;
  max-width: 80px !important;
}

/* Allow table rows to expand for wrapped text */
#locationTable tbody tr {
  height: auto !important;
}

#locationTable tbody td {
  height: auto !important;
  padding: 0px !important;
}

/* Fixed columns wrapper */
.DTFC_LeftWrapper #locationTable th:nth-child(1),
.DTFC_LeftWrapper #locationTable td:nth-child(1) {
  width: 20px !important;
  min-width: 20px !important;
  max-width: 20px !important;
  text-align: center !important;
  vertical-align: middle !important;
}

.DTFC_LeftWrapper #locationTable th:nth-child(2),
.DTFC_LeftWrapper #locationTable td:nth-child(2) {
  width: 275px !important;
  min-width: 275px !important;
  max-width: 275px !important;
  white-space: normal !important;
  word-wrap: break-word !important;
  word-break: break-word !important;
  line-height: 1.2 !important;
  vertical-align: top !important;
  text-align: left !important;
  vertical-align: middle !important;
}

.DTFC_LeftWrapper #locationTable th:nth-child(3),
.DTFC_LeftWrapper #locationTable td:nth-child(3) {
  width: 80px !important;
  min-width: 80px !important;
  max-width: 80px !important;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.filter-btn.btn-active {
  background-color: #e0ebfc;
  color: #174ea6;
  border-color: #e0ebfc;
  /* font-weight: 500; */
}

.filter-btn.btn-active input {
  background-color: #e0ebfc;
  color: #174ea6;
  border-color: #e0ebfc;
  /* font-weight: 500; */
}
.dataTables_scrollHead thead th.date-column {
  white-space: nowrap !important;
}
.total-records,
.total-unique-records {
  margin-bottom: 5px;
  font-weight: 400 !important;
}
.dataTables_scrollBody tbody .date-column div:not(:last-child) {
  border-bottom: 1px solid #e0e0e0 !important;
}
.dataTables_scrollBody tbody .date-column div {
  padding-right: 8px;
}
.dataTables_scrollBody tbody .date-column {
  padding: 0px 0px !important;
}
.ping-value {
  font-weight: 400 !important;
}
.dataTables_scrollHead thead tr .date-column {
  text-align: right !important;
}
.date-column {
  vertical-align: center !important;
}
.date-column .total-records-cell,
.date-column .total-unique-records-cell,
.date-column .rate {
  padding: 10px 5px;
}
.table-container tbody tr:hover td {
  background-color: #f2f2f2 !important;
}

/* Vertical divider after sticky block (ID, App, Rate) */
#locationTable.dataTable thead th:nth-child(3),
#locationTable.dataTable tbody td:nth-child(3),
.DTFC_LeftWrapper #locationTable thead th:nth-child(3),
.DTFC_LeftWrapper #locationTable tbody td:nth-child(3) {
  border-right: 1px solid #e0e0e0 !important;
}

/* Ensure divider remains visible in the fixed header/body clones */
.DTFC_LeftHeadWrapper th:nth-child(3),
.DTFC_LeftBodyWrapper td:nth-child(3),
.dataTables_scrollHead thead th:nth-child(3),
.dataTables_scrollHeadInner table thead th:nth-child(3) {
  border-right: 1px solid #e0e0e0 !important;
}

.DTFC_LeftWrapper .table-container {
  border-left: 1px solid #e0e0e0 !important;
  border-bottom: 1px solid #e0e0e0 !important;
  border-radius: unset !important;
}
.DTFC_LeftWrapper .table-container tbody {
  border-bottom: 1px solid #e0e0e0 !important;
}
.low-difference-records {
  background-color: #ffcccc; /* Light red background */
  color: #a70000; /* Dark red text */
  font-weight: bold;
}
.location-id {
  padding-left: 2px;
}
.DTFC_LeftBodyLiner .display-column div:not(:last-child) {
  border-bottom: 1px solid #e0e0e0 !important;
}

.DTFC_LeftBodyWrapper table.dataTable tbody td {
  padding: 0px 0px 0px 3px !important;
}

.select2.select2-container .select2-selection--multiple {
  height: auto;
  min-height: 34px;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
}

.select2.select2-container .select2-selection--multiple .select2-search--inline .select2-search__field {
  margin-top: 0;
}

.select2.select2-container .select2-selection--multiple .select2-selection__rendered {
  display: flex;
  padding: 0px 4px;
  line-height: 29px;
  margin: 0px 0px;
  overflow-x: auto;
  margin-left: 4px;
}

.select2.select2-container .select2-selection--multiple .select2-selection__choice {
  background-color: #f8f8f8;
  border: 1px solid #ccc;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  margin: 4px 4px 0 0;
  padding: 0 6px 0 22px;
  height: 24px;
  line-height: 24px;
  font-size: 12px;
  position: relative;
  min-width: 114px;
}
.select2.select2-container .select2-selection--multiple .select2-selection__choice__display {
  min-width: 82px !important;
  display: block;
  text-overflow: ellipsis;
  overflow: hidden;
}

.select2.select2-container .select2-selection--multiple .select2-selection__choice .select2-selection__choice__remove {
  position: absolute;
  top: 0;
  left: 0;
  height: 22px;
  width: 22px;
  margin: 0;
  text-align: center;
  color: #e74c3c;
  font-weight: bold;
  font-size: 16px;
}
.select2-selection__rendered::-webkit-scrollbar {
  height: 5px; /* Scrollbar height for horizontal scrolling */
}
.select2-selection__rendered::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 4px;
}

.select2-selection__rendered::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}

.select2-container--default .select2-selection--multiple .select2-selection__clear {
  height: 29px !important;
  width: 21px !important;
  margin-right: unset;
  margin-top: unset;
}

.select2-container--default .select2-selection--multiple.select2-selection--clearable {
  padding-right: 20px !important;
}
.select2-selection--multiple {
  display: flex !important;
  flex-direction: column-reverse;
}
.select2-search--inline {
  border-bottom: 1px dashed lightgrey;
  margin-left: 7px;
}

/* new appfilter css  */
.custom-dropdown {
  position: relative;
  display: inline-block;
  width: 270px;
}

.dropdown-label {
  padding: 8px;
  border: 1px solid #ccc;
  background-color: #fff;
  cursor: pointer;
  user-select: none;
}

.dropdown-content {
  display: none;
  position: absolute;
  width: 100%;
  max-height: 200px;
  overflow-y: auto;
  background-color: #fff;
  border: 1px solid #ccc;
  z-index: 1000;
}

.dropdown-content.open {
  display: block;
}

.dropdown-search {
  width: 100%;
  padding: 8px;
  border: none;
  border-bottom: 1px solid #ccc;
  box-sizing: border-box;
}

.dropdown-options {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dropdown-options li {
  padding: 8px;
  cursor: pointer;
  user-select: none;
  overflow: hidden;
  text-overflow: ellipsis;
  color: black;
}

.dropdown-options li:hover {
  background-color: #f0f0f0;
}

.selected-options {
  display: inline-flex;
  padding:0px 10px;
  margin-left: 10px;
  font-weight: normal;
  font-size: 14px;
  /* color: #555; */
}

.selected-options span {
  display: inline-block;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 96px;
}

.selected-options .extra {
  font-weight: bold;
}
.filter-box {
  position: relative;
  display: inline-block;
}
.filter-box.apps-filter-by {
  width: auto !important;
}

/* Ensure consistent spacing for filter labels */
.filter-btn label,
.filter-btn > div:first-child {
  text-align: left;
  flex-shrink: 0;
}

.filter-btn .selected-options {
  flex: 1;
  text-align: left;
  margin-left: 0;
}

#appFilterLabel {
  cursor: pointer;
  padding: 0 32px 0 15px;
}
#metricFilterLabel{
  cursor: pointer;
}
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 250px;
  border: 1px solid #ccc;
  background-color: #fff;
  z-index: 10;
  border-radius: 4px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dropdown-content.open {
  display: block;
}

.dropdown-search {
  width: 100%;
  padding: 8px;
  border: none;
  border-bottom: 1px solid #ccc;
  outline: none;
  box-sizing: border-box;
}

.dropdown-options {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 200px;
}

.dropdown-item {
  padding: 8px;
  cursor: pointer;
}

.dropdown-item:hover {
  background-color: #f0f0f0;
}

.selected-options .extra {
  color: #555;
  font-weight: bold;
}
/* Dropdown item styles */
.dropdown-item {
  padding: 8px 12px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
  font-family: "Roboto", "Arial", sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
}

/* Hover state */
.dropdown-item:hover {
  background-color: #f0f0f0;
  color: #333;
}

/* Selected state */
.dropdown-item.selected {
  background-color: #1967d2; /* Example: blue background */
  color: white;
}

/* Add extra customization for hover on selected items */
.dropdown-item.selected:hover {
  background-color: #0056b3; /* Darker blue */
  color: white;
}

.dropdown-search-container {
  /* position: relative; */
  position: sticky;
  top: 0;
}
.selected-options .extra {
  color: #1967d2;
}

.dropdown-search {
  width: 100%;
  padding-right: 24px; /* Add space for the clear button */
}

.clear-search {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 18px;
  color: #888;
  display: none; /* Initially hidden */
}

.clear-search:hover {
  color: #000;
}
.noResult p {
  color: rgb(95, 99, 104);
  font-size: 15px;
  padding: 10px 10px 10px 14px;
  margin: 0px !important;
}

.filter-date label::after {
  content: ":";         
  margin: 0 6px;        
  color: inherit;     
}

.filter-date label {
  margin-right: 0 !important; /* ensure no double spacing */
}
@media (max-width: 1710px) {
  .select2-container--default {
    width: 200px !important;
  }
}
@media (max-width: 1650px) {
  .top-bar-page {
    grid-template-columns: 5fr 5fr;
  }

  .first-card .title-header {
    font-size: 14px;
  }
  .sub_title {
    font-size: 15px;
  }

}
@media (max-width: 1350px) {
  .first-card {
    display: unset;
  }
  .top-bar-page {
    grid-template-columns: 6fr 4fr;
  }
  .first-card .title-header {
    font-size: 14px;
  }
}

/* Keep location summary cards in one row on all screen sizes */
@media (max-width: 768px) {
  .location-summary-card {
    flex-wrap: nowrap !important;
    gap: 8px;
    min-width: 150px;
  }
  
  .first-card .title-header {
    font-size: 12px;
  }
  
  .sub_title {
    font-size: 13px;
  }
}

@media (width: 1024px) {
  .first-card {
    flex-direction: column;
    justify-content: flex-start;
  }
}

@media (min-width: 425px) and (max-width: 1023px) {
  .first-card {
    min-width: 120px;
    padding: 5px 8px;
    display: flex !important; /* ensure horizontal layout at <=768px */
    align-items: center;
    justify-content: space-between; /* place date and record side by side with space around */
  }
}

@media (max-width: 768px) {
  #dateRange {
    max-width: 100%; /* Allow the filter to take full width */
    font-size: 12px;
    padding: 10px;
  }
  
  /* Additional styling for location summary cards on smaller screens */
  .location-summary-card {
    flex-wrap: nowrap !important;
    gap: 6px;
    min-width: 120px;
  }
  
  .first-card {
    min-width: 100px;
    padding: 4px 6px;
  }
  
  .first-card .title-header {
    font-size: 11px;
  }
  
  .sub_title {
    font-size: 12px;
  }
}

@media (max-width: 780px) {
  /* .top-bar {
    display: grid;
  } */
  .filter-btn {
    width: fit-content;
  }
}
@media (max-width: 651px) {
  .dataTables_wrapper .dataTables_length {
    display: none !important;
  }
}
@media (max-width: 411px) {
  .filter-box {
    display: block;
    border-radius: 5px;
  }
  .filter-box .filter-btn {
    float: none;
    display: flex;
    justify-content: left;
    margin-bottom: 10px;
  }
  .daterangepicker {
    left: 75px !important;
  }
}

@media (max-width: 320px) {
  .filter-box {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .filter-box .filter-btn {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 11px !important;
    flex-wrap: nowrap !important;
    overflow: hidden !important;
  }

  .filter-date.filter-btn {
    padding: 0 30px !important; 
    font-size: 13px;
  }
  
  .filter-btn label {
    flex-shrink: 0 !important;
  }
  
  .input-css {
    width: auto !important;
    min-width: 0 !important;
    max-width: calc(100% - 70px) !important;
    flex: 1 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  
  .daterangepicker {
    left: 5px !important;
    width: 300px !important;
    max-width: 95vw !important;
  }
  
  .top-bar {
    padding: 3px !important;
    gap: 5px !important;
    flex-wrap: wrap !important;
  }
  
  .top-bar-page {
    padding: 5px !important;
    margin-bottom: var(--section-gap)
  }
  
  /* Force location summary cards to stay in one row on very small screens */
  .location-summary-card {
    flex-wrap: nowrap !important;
    gap: 4px !important;
    width: 100% !important;
    justify-content: space-between !important;
  }
  
  .first-card {
    flex: 1 !important;
    min-width: 0 !important;
    padding: 3px 4px !important;
    width: calc(33.33% - 3px) !important;
  }
  
  .first-card .title-header {
    font-size: 9px !important;
    line-height: 1.2;
  }
  
  .sub_title {
    font-size: 10px !important;
    line-height: 1.2;
  }
}

@media (max-width: 450px) {
  .dataTables_wrapper .dataTables_length {
    display: none !important;
  }
  .select2-dropdown,
  .select2-container {
    width: 200px !important;
  }
}

@media (min-width: 769px) {
  .top-bar {
    flex: 1 1 50%;
    min-width: 280px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  .location-summary-card {
    flex: 1 1 35%;
    min-width: 200px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: nowrap; /* keep cards in one row */
  }
}

@media (width: 320px) {
  .table-spacing {
    margin: 0px 6px;
  }
}

@media (min-width: 375px) {
  .table-spacing {
    margin: 0px 16px;
  }
}
