/* system alert hit list css start */
.system-whitelist-page-wrapper .table .badge,
.system-list-page-wrapper .table .badge {
  background-color: #2273E7 !important;
  height: 19px;
  width: 26px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: 400;
  position: relative;
  border-radius: 4px;
  top: -1px;
  margin-left: 1px;
}

.system-list-page-wrapper .dashboard-datatable .table thead th {
  padding: 13px 12px;
}

.system-list-page-wrapper .dashboard-tab-wrap {
  position: relative;
}

  .system-list-page-wrapper .dashboard-tab-wrap .btn-listing {
    position: absolute;
    right: 0;
    top: 4px;
  }

  .system-list-page-wrapper .dashboard-tab-wrap .btn-listing {
    right: 0;
    top: 5px;
  }

.add-credentials-modal .form-group .credential-list {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  max-height: 150px;
  overflow-y: auto;
  overflow-x: hidden;
  opacity: 0;
  transition: all 0.3s;
  border: 1px solid var(--border-color);
  border-radius: var(--bs-border-radius);
  box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1), 0px 2px 4px -2px rgba(0, 0, 0, 0.1);
  background-color: var(--white-color);
  z-index: 1050;
}

.add-credentials-modal .form-group .form-control:focus + .credential-list,
.add-credentials-modal .form-group .credential-list[style*="display: block"] {
  opacity: 1;
  z-index: 1050;
}

.add-credentials-modal .form-check:has(.form-check-input:checked) .form-label {
  background-color: var(--bg-color);
}

.add-credentials-modal .modal-body {
  min-height: 350px;
}

.add-credentials-modal .credential-list .form-check {
  margin-bottom: 0;
  padding-left: 0;
}

  .add-credentials-modal .credential-list .form-check .form-label {
    padding: 8px 9px 7px;
    margin-bottom: 0;
    margin: 4px;
    cursor: pointer;
    align-items: flex-start;
  }

.add-credentials-modal .form-check:last-child .form-lable {
  margin-bottom: 0;
}

.add-credentials-modal .credential-list .cred-name {
  color: var(--text-color-secondary);
  font-size: 14px;
  line-height: 1;
}

.add-credentials-modal .credential-list .text-muted {
  font-size: 10px;
  line-height: 1;
  padding-left: 9px;
  color: var(--text-color);
}

.add-credentials-modal #selectedChips {
  position: relative;
  z-index: 1;
  max-height: 200px;
  overflow-y: auto;
  overflow-x: hidden;
  word-wrap: break-word;
}

  .add-credentials-modal #selectedChips .chip,
  .add-credentials-modal #selectedChips .badge {
    background-color: var(--bg-color);
    border-radius: 8px;
    padding: 4px 8px;
    gap: 15px;
    word-wrap: break-word;
    max-width: 100%;
    white-space: normal;
    flex-wrap: wrap;
    align-items: flex-start;
    text-align: start;
  }

    .add-credentials-modal #selectedChips .chip p,
    .add-credentials-modal #selectedChips .chip span,
    .add-credentials-modal #selectedChips .badge span {
      font-size: 14px;
      font-weight: 400;
      color: var(--text-color-secondary);
      word-wrap: break-word;
      overflow-wrap: break-word;
      white-space: normal;
      margin-bottom: 0;
      line-height: 1.5;
      display: inline-block;
      max-width: 100%;
    }

.add-credentials-modal .modal-dialog {
  max-width: 741px;
}

  .add-credentials-modal .modal-dialog .modal-header {
    border-bottom: none;
  }

    .add-credentials-modal .modal-dialog .modal-header h1 {
      letter-spacing: 0.3px;
    }

.add-credentials-modal .form-group > label {
  font-size: 16px;
}

.add-credentials-modal .form-group + .form-group {
  margin-top: 22px;
}

.add-credentials-modal .credential-list .form-check-input {
  height: 16px;
  width: 16px;
  border-radius: 4px;
}

.add-credentials-modal .form-check-wrapper .form-check-label {
  font-size: 14px;
}

.no-data-found.has-white-image .export-btn img {
  filter: invert(2) brightness(2);
  width: 12px;
}

/* Dwell Time Area Tabs - Fixed Width Column Layout */
.dashboard-nav-tab .nav.nav-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px;
  border: none;
  margin-bottom: 0;
}

.dashboard-nav-tab .nav.nav-tabs .nav-item {
  width: 100%;
  min-width: 180px;
  max-width: 180px;
  flex: 0 0 180px;
}

.dashboard-nav-tab .nav.nav-tabs .nav-link {
  width: 100%;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--text-color-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--bs-border-radius);
  background-color: var(--white-color);
  display: block;
}

.dashboard-nav-tab .nav.nav-tabs .nav-item.show .nav-link,
.dashboard-nav-tab .nav.nav-tabs .nav-link.active,
.dashboard-nav-tab .nav.nav-tabs .nav-link:focus,
.dashboard-nav-tab .nav.nav-tabs .nav-link:hover {
  font-weight: 600;
  color: var(--text-color);
  background-color: var(--bg-color);
  border-color: var(--accent-color, #2273E7);
}

.system-alert-page-wrapper .form-group.has-search-icon {
  min-width: 365px;
}

.system-alert-page-wrapper .date-wrapper label {
  margin-right: 10px;
}

.system-alert-page-wrapper .date-wrapper {
  padding-right: 16px;
  margin-right: 10px;
  border-right: 1px solid var(--text-color);
}

  .system-alert-page-wrapper .date-wrapper .input-group:has(.custom-datepicker:focus),
  .system-alert-page-wrapper .date-wrapper .input-group:has(.custom-datepicker.active),
  .system-alert-page-wrapper .date-wrapper .input-group:focus {
    outline: 2px solid var(--accent-color) !important;
  }

  .system-alert-page-wrapper .date-wrapper .custom-datepicker {
    width: 148px;
    border: none;
    outline: none !important;
    margin-left: 0 !important;
    border-radius: inherit !important;
  }

  .system-alert-page-wrapper .date-wrapper .input-group {
    position: relative;
    border: 1px solid var(--border-color);
    border-radius: 6px;
  }

  .system-alert-page-wrapper .date-wrapper button {
    background-color: transparent;
    padding: 10px;
    border: none;
  }

  .system-alert-page-wrapper .date-wrapper .form-group {
    position: relative;
  }

.system-alert-page-wrapper .dashboard-cards-outer {
  gap: 20px;
}

  .system-alert-page-wrapper .dashboard-cards-outer .dashboard-card {
    border-right: none;
    border-radius: 8px;
    border: 1px solid var(--border-color);
  }

/* system alert overstay list css start */
.system-alert-page-wrapper #hitlistOverviewSearchContainer,
.system-overstay-page-wrapper #overstayListSearchContainer {
  position: relative;
}

  .system-alert-page-wrapper #hitlistOverviewSearchContainer::after,
  .system-overstay-page-wrapper #overstayListSearchContainer::after {
    position: absolute;
    content: "";
    height: 15px;
    width: 15px;
    right: 10px;
    top: 13px;
    background-image: url("../img/search-icon.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 15px;
    pointer-events: none;
  }

  .system-alert-page-wrapper #hitlistOverviewSearchContainer
  .form-control:not(:placeholder-shown) ~ *::after,
  .system-alert-page-wrapper #hitlistOverviewSearchContainer:has(.form-control:not(:placeholder-shown))::after,
  .system-overstay-page-wrapper #overstayListSearchContainer
  .form-control:not(:placeholder-shown) ~ *::after,
  .system-overstay-page-wrapper #overstayListSearchContainer:has(.form-control:not(:placeholder-shown))::after {
    opacity: 0;
  }

.overstay-reminder-modal .modal-body > p {
  color: var(--text-color-secondary);
  font-size: 12px;
}

.area-detail-section .area-info-wrap ul {
  margin: 0 -30px;
}

.overstay-reminder-modal .area-detail-section .area-info-wrap {
  padding: 0 0 15px 0;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid var(--border-color);
}

  .overstay-reminder-modal .area-detail-section .area-info-wrap ul li {
    width: fit-content;
    padding: 0 30px;
  }

.overstay-reminder-modal .area-detail-section + .area-detail-section {
  margin-top: 22px;
}

.overstay-reminder-modal .area-detail-section {
  gap: 14px;
}

  .overstay-reminder-modal .area-detail-section .area-detail-section-title .area-detail-section-tag {
    font-size: 16px;
  }

.overstay-reminder-modal:not(.overstay-review-modal) .modal-dialog {
  max-width: 317px;
}

.overlay-clear-modal .modal-header button {
  background-color: transparent;
}

.system-overstay-page-wrapper .title-wrapper p {
  font-size: 18px;
}

  .system-overstay-page-wrapper .title-wrapper p.sub-text {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-color-secondary);
  }

.setting-modal .checkbox-list-outer .form-check:first-child,
.setting-modal .checklist-outer .setting-title-tag,
.system-whitelist-page-wrapper .title-wrapper {
  margin-bottom: 24px;
}

.setting-modal .gray-box {
  background-color: var(--bg-color);
  border-radius: 6px;
  padding: 16px;
}

  .setting-modal .gray-box + .gray-box {
    margin-top: 20px;
  }

  .setting-modal .gray-box .setting-title-tag {
    background-color: #EBEEF6;
    padding: 0px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
    height: 36px;
    line-height: 35px;
  }

.setting-modal .time-syncing {
  margin-left: 16px;
  border-left: 1px solid var(--border-color);
  padding-left: 16px;
}

.setting-modal .form-check-input {
  height: 16px;
  width: 16px;
}

.setting-modal .time-syncing input {
  width: 157px;
}

.setting-modal .btn-wrapper {
  margin-top: 20px;
}

  .setting-modal .btn-wrapper .btn {
    line-height: 1;
  }

.setting-modal .checkbox-list-outer label p {
  font-size: 16px;
}

.setting-modal .checkbox-list-outer .form-check:not(:first-child) {
  padding-right: 5px !important;
  margin-bottom: 5px;
}

.setting-modal .checkbox-list-outer .form-check p em {
  display: block;
  color: var(--badge-blue-color);
  font-size: 12px;
  font-weight: 400;
}

.setting-modal .modal-header {
  padding-bottom: 0;
}

.system-dispatch-empty-wrapper .title-wrapper {
  margin-bottom: 52px;
}

.system-dispatch-empty-wrapper .no-data-found {
  min-height: 550px;
  background: white;
  border: none;
  border-radius: 0;
  gap: 22px;
}

  .system-dispatch-empty-wrapper .no-data-found .text-center .fw-semibold {
    margin-bottom: 5px;
  }

  .system-dispatch-empty-wrapper .no-data-found .text-center .fw-medium {
    font-size: 14px;
  }

.system-dispatch-page-wrapper .live-update-info {
  background-color: #0080001A;
  color: #008000;
  padding: 5px 8px;
  border-radius: 8px;
  line-height: 1.29;
  margin-right: 16px;
}

  .system-dispatch-page-wrapper .live-update-info .green-dot {
    height: 12px;
    width: 12px;
    display: inline-block;
    border-radius: 50%;
    background-color: #008000;
  }

  .system-dispatch-page-wrapper .live-update-info p {
    font-size: 14px;
    font-weight: 400;
  }

.system-dispatch-page-wrapper .btn.btn-tertiary {
  padding: 5px 4px;
  font-size: 12px;
  font-weight: 400;
  border-color: transparent;
}

.system-dispatch-page-wrapper .btn + .btn {
  margin-left: 13px;
}

.dispatch-setting-wrapper .dashboard-form-header .btn-secondary:hover,
.system-dispatch-page-wrapper .btn.btn-tertiary:hover {
  border-color: var(--border-color);
}

.system-dispatch-page-wrapper .btn.btn-tertiary img {
  width: 16px;
}

.system-dispatch-page-wrapper.dashboard-page-wrapper .dashboard-cards-outer {
  gap: 20px;
  justify-content: flex-start;
  margin-bottom: 35px;
}

  .system-dispatch-page-wrapper.dashboard-page-wrapper .dashboard-cards-outer .dashboard-card {
    flex: 0 0 24%;
    max-width: 24%;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 17px 15px;
  }

    .system-dispatch-page-wrapper.dashboard-page-wrapper .dashboard-cards-outer .dashboard-card h2 {
      margin-bottom: 0;
    }

.system-dispatch-page-wrapper .table-count {
  padding: 13px 12px;
  line-height: 1.5;
  font-weight: 600;
}

.system-dispatch-page-wrapper .title-wrapper .fw-semibold {
  line-height: 1.6;
}

.system-dispatch-page-wrapper .dashboard-datatable .table td {
  padding: 30px 12px;
}

.dispatch-setting-wrapper .dashboard-form-header.outer-header {
  background-color: var(--bg-color);
}

.dispatch-setting-wrapper .dashboard-form-header h2 {
  font-size: 16px;
}

.dispatch-setting-wrapper .dashboard-form-header a {
  height: 36px;
  width: 36px;
  border: 1px solid var(--border-color);
  background-color: var(--white-color);
  border-radius: 8px;
}

.dispatch-setting-wrapper .dashboard-form-header .btn.btn-secondary {
  padding: 7px 12px;
}

.dispatch-setting-wrapper .dashboard-form-header .btn-tertiary {
  font-size: 12px;
  height: 30px;
  padding: 3px 9px;
}

.dispatching-config-wrapper .title-block h3 {
  font-size: 14px;
  line-height: 1.3;
}

.dispatching-config-wrapper .title-block img {
  margin-right: 4px;
}

.dispatching-config-wrapper .title-block p {
  font-size: 14px;
  color: var(--text-color-secondary);
  letter-spacing: -0.1px;
}

.dispatching-config-wrapper .btn-wrapper {
  margin-bottom: 14px;
}

.dispatching-config-wrapper .dispatching-info > ul {
  gap: 14px;
}

.dispatching-config-wrapper .dispatching-info li {
  border: 1px solid var(--border-color);
  padding: 15px 12px;
  border-radius: 6px;
}

  .dispatching-config-wrapper .dispatching-info li p {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-color-secondary);
  }

  .dispatching-config-wrapper .dispatching-info li span {
    font-size: 18px;
    color: var(--text-color-secondary);
  }

.dispatching-config-wrapper .gray-box {
  background-color: var(--bg-color);
  border-radius: 8px;
  padding: 24px 16px;
}

  .dispatching-config-wrapper .gray-box h4 {
    font-size: 16px;
    margin-bottom: 22px;
    padding-left: 8px;
  }

  .dispatching-config-wrapper .gray-box .no-data-found {
    min-height: 272px;
    background: inherit;
    border: none;
    gap: 0;
  }

    .dispatching-config-wrapper .gray-box .no-data-found .fw-medium {
      font-size: 14px;
    }

.dispatching-config-wrapper .dashboard-table-header p {
  font-size: 20px;
}

.add-curbside-modal .gray-box {
  background-color: var(--bg-color);
  padding: 16px;
}

.add-curbside-modal .gray-box-outer {
  margin-top: 24px;
}

.add-curbside-modal .gray-box h4 {
  font-size: 14px;
}

.add-curbside-modal .gray-box .btn.btn-delete {
  background-color: var(--error-bg);
  min-width: auto;
  width: 40px;
  height: 32px;
  margin-top: 25px;
}

.add-curbside-modal .gray-box .form-group {
  max-width: calc(48% - 23px);
  flex: 0 0 calc(48% - 23px);
}

.add-curbside-modal .add-vehical-field {
  margin-top: 24px;
}

#taxiTable thead th {
  padding: 13px 12px;
  border-bottom: 1px solid var(--border-color);
  line-height: 1.44;
  white-space: nowrap;
  font-weight: 500;
}

#taxiTable tbody td {
  padding: 26px 12px;
}

.dispatch-taxi-page .dispatching-config-wrapper .title-block {
  margin-bottom: 42px;
}

.dispatching-config-wrapper .card {
  border-color: var(--border-color);
  border-radius: 8px;
  flex: 0 0 360px;
  max-width: 360px;
}

.dispatching-config-wrapper .card-body h5 {
  font-size: 16px;
  line-height: 1;
}

.dispatching-config-wrapper .card-body .card-title span {
  color: var(--text-color-secondary);
  font-size: 11px;
  line-height: 1;
}

.dispatching-config-wrapper .card-body .gray-box {
  padding: 12px 16px;
  font-size: 11px;
}

.dispatching-config-wrapper .title-row {
  margin-bottom: 12px;
}

.dispatching-config-wrapper .action-btn-listing .btn {
  padding: 0;
  min-width: auto;
  height: 32px;
  width: 32px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  line-height: 1;
}

@media(max-width: 1280px) {
  #overstayListSearchContainer .form-control,
  #hitlistOverviewSearchContainer .form-control {
    width: 100% !important;
  }
}

@media(max-width: 1199px) {
  .system-filter-block {
    flex-wrap: wrap;
    gap: 1rem;
  }

    .system-filter-block .header-actions {
      width: 100%;
      justify-content: flex-end;
    }

  #overstayListSearchContainer,
  #hitlistOverviewSearchContainer {
    flex: 1;
  }

    #overstayListSearchContainer label,
    #hitlistOverviewSearchContainer label {
      width: 100% !important;
    }

  .system-dispatch-empty-wrapper .title-wrapper {
    margin-bottom: 20px;
  }
}
