/*html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
    .position-static .dropdown-menu {
        width: 100%;
    }
    .content-wrapper {
        padding: 0 1rem;
    }

    .card-datatable.table-responsive {
        padding: 0 1rem;
    }

    .card-body {
        padding: 1.25rem;
    }
}*/

/* Avatar styles */
/*.avatar {
    cursor: pointer;
    height: 2.375rem;
    position: relative;
    width: 2.375rem;
}

    .avatar img {
        height: 100%;
        width: 100%;
    }

    .avatar .avatar-initial {
        align-items: center;
        background-color: #8592a3;
        bottom: 0;
        color: #fff;
        display: flex;
        font-weight: 500;
        justify-content: center;
        left: 0;
        position: absolute;
        right: 0;
        text-transform: uppercase;
        top: 0;
    }

    .avatar.avatar-online:after,
    .avatar.avatar-offline:after,
    .avatar.avatar-away:after,
    .avatar.avatar-busy:after {
        background-color: transparent;
        border-radius: 100%;
        box-shadow: 0 0 0 2px #fff;
        content: "";
        height: 8px;
        position: absolute;
        right: 3px;
        width: 8px;
        bottom: 0;
    }

    .avatar.avatar-online:after {
        background-color: #71dd37;
    }

    .avatar.avatar-offline:after {
        background-color: #8592a3;
    }

    .avatar.avatar-away:after {
        background-color: #ffab00;
    }

    .avatar.avatar-busy:after {
        background-color: #ff3e1d;
    }*/

/* Button styles */
/*.btn {
    border-radius: 0.375rem;
    font-size: 0.9375rem;
    padding: 0.4375rem 1.25rem;
}

.btn-outline-secondary {
    border-color: #8592a3;
    color: #8592a3;
}

.btn-primary {
    background-color: #696cff;
    border-color: #696cff;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}*/

/* Card styles */
/*.card {
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 2px 6px 0 rgba(67, 89, 113, 0.12);
    margin-bottom: 1.5rem;
    width: 100%;
}

.card-body {
    padding: 1.5rem;
}

.card-header {
    background-color: transparent;
    border-bottom: 0;
    padding: 1.5rem;
}
.card-datatable.table-responsive {
    padding: 0 1.5rem;
}*/

/* Container styles */
/*.container-fluid {
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding-left: 2rem;
    padding-right: 2rem;
    width: 100%;
}

.content-wrapper {
    padding: 0 2rem;
    margin-left: 0;
    margin-right: 0;
}
.custom-container {
    margin-left: 2vw;
    margin-right: 2vw; 
    max-width: 100%; 
}

.row.g-0 {
    margin-left: 0;
    margin-right: 0;
}

    .row.g-0 > .col-md-12 {
        padding-left: 0;
        padding-right: 0;
    }*/

/* Dropdown styles */
/*.dropdown-menu {
    border: none;
    margin-top: 0;
}

    .dropdown-menu li {
        margin-bottom: 1rem;
    }

        .dropdown-menu li:last-child {
            padding-bottom: 0.5rem;
        }

.dropdown-toggle.hide-arrow::after {
    display: none !important;
}

.navbar .dropdown-menu {
    float: none;
    position: absolute !important;
}

.position-static .dropdown-menu {
    left: 0;
    margin-top: 0;
    right: 0;
    width: auto;
}*/

/* Footer styles */
/*.footer {
    bottom: 0;
    line-height: 60px;
    position: absolute;
    white-space: nowrap;
    width: 100%;
}*/

/* Form styles */
/*.form-control {
    border: 1px solid #d9dee3;
    border-radius: 0.375rem;
    font-size: 0.9375rem;
    padding: 0.4375rem 0.875rem;
}

.form-label {
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
}

.form-select {
    border: 1px solid #d9dee3;
    border-radius: 0.375rem;
    font-size: 0.9375rem;
    padding: 0.4375rem 2.25rem 0.4375rem 0.875rem;
}*/

/* Navbar styles */
/*.navbar {
    background-color: #f5f5f5;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    margin: 1rem 2rem;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
}

.navbar-nav {
    align-items: center;
    display: flex;
}

    .navbar-nav.flex-grow-0 {
        flex-grow: 0;
    }

    .navbar-nav.ms-auto {
        margin-left: auto !important;
    }

.nav-link {
    align-items: center;
    display: flex;
    padding: 0.5rem 1rem;
}*/

/* Spacing and typography */
/*.mb-4 {
    margin-bottom: 1.5rem !important;
}

.py-3 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}
.row {
    margin-right: 0;
    margin-left: 0;
}

.text-muted {
    color: #a1acb8 !important;
}

.fw-light {
    font-weight: 300 !important;
}

h4.py-3.mb-4 {
    padding: 1rem 0 !important;
    margin-bottom: 1.5rem !important;
}

hr.my-0 {
    border-top: 1px solid #d9dee3;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}

.table {
    margin-bottom: 0;
}

.table-responsive {
    padding: 0 1.5rem;
}

.datatable-order-history thead th {
    border-bottom: 1px solid #d9dee3;
    font-weight: 500;
    padding: 0.75rem;
}


html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}*/

/*the origin one, if fails then use back this to ask */
/*html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .position-static .dropdown-menu {
    width: 100%;
  }

  .content-wrapper {
    padding: 0 1rem;
  }

  .card-datatable.table-responsive {
    padding: 0 1rem;
  }

  .card-body {
    padding: 1.25rem;
  }

  .custom-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .main-wrapper {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

.avatar {
  cursor: pointer;
  height: 2.375rem;
  position: relative;
  width: 2.375rem;
}

  .avatar img {
    height: 100%;
    width: 100%;
  }

  .avatar .avatar-initial {
    align-items: center;
    background-color: #8592a3;
    bottom: 0;
    color: #fff;
    display: flex;
    font-weight: 500;
    justify-content: center;
    left: 0;
    position: absolute;
    right: 0;
    text-transform: uppercase;
    top: 0;
  }

  .avatar.avatar-online:after,
  .avatar.avatar-offline:after,
  .avatar.avatar-away:after,
  .avatar.avatar-busy:after {
    background-color: transparent;
    border-radius: 100%;
    box-shadow: 0 0 0 2px #fff;
    content: "";
    height: 8px;
    position: absolute;
    right: 3px;
    width: 8px;
    bottom: 0;
  }

  .avatar.avatar-online:after {
    background-color: #71dd37;
  }

  .avatar.avatar-offline:after {
    background-color: #8592a3;
  }

  .avatar.avatar-away:after {
    background-color: #ffab00;
  }

  .avatar.avatar-busy:after {
    background-color: #ff3e1d;
  }

.btn {
  border-radius: 0.375rem;
  font-size: 0.9375rem;
  padding: 0.4375rem 1.25rem;
}

.btn-outline-secondary {
  border-color: #8592a3;
  color: #8592a3;
}

.btn-primary {
  background-color: #696cff;
  border-color: #696cff;
}*/

/*.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}*/

/*.card {
  background-color: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 2px 6px 0 rgba(67, 89, 113, 0.12);
  margin-bottom: 1.5rem;
  width: 100%;
}

.card-body {
  padding: 2rem;
}

.card-header {
  background-color: transparent;
  border-bottom: 0;
  padding: 1.5rem;
}

.card-datatable.table-responsive {
  padding: 0 1.5rem;
}

.container-fluid {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding-left: 2rem;
  padding-right: 2rem;
  width: 100%;
}

.content-wrapper {
  padding: 0 2rem;
  margin-left: 0;
  margin-right: 0;
}

.custom-container {
  width: 100%;
  max-width: 100%;
}*/
/*
.row.g-0 {
    margin-left: 0;
    margin-right: 0;
}

.row.g-0 > .col-md-12 {
    padding-left: 0;
    padding-right: 0;
}*/

/*.datatable-order-history thead th {
  border-bottom: 1px solid #dee2e6 !important;
}

.daterangepicker {
  font-family: Arial, sans-serif;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

  .daterangepicker td.active,
  .daterangepicker td.active:hover {
    background-color: #007bff;
    color: #fff;
  }

  .daterangepicker td.available:hover {
    background-color: #f0f0f0;
  }

  .daterangepicker .calendar-table {
    padding: 10px;
  }

  .daterangepicker .drp-buttons {
    border-top: 1px solid #ddd;
    padding: 10px;
    text-align: right;
  }

    .daterangepicker .drp-buttons .btn {
      margin-left: 5px;
    }

.dropdown-menu {
  border: none;
  margin-top: 0;
}

  .dropdown-menu li {
    margin-bottom: 1rem;
  }

    .dropdown-menu li:last-child {
      padding-bottom: 0.5rem;
    }

.dropdown-toggle.hide-arrow::after {
  display: none !important;
}

.navbar .dropdown-menu {
  float: none;
  position: absolute !important;
}

.position-static .dropdown-menu {
  left: 0;
  margin-top: 0;
  right: 0;
  width: auto;
}

.footer {
  bottom: 0;
  line-height: 60px;
  position: absolute;
  white-space: nowrap;
  width: 100%;
}

.form-control {
  border: 1px solid #d9dee3;
  border-radius: 0.375rem;
  font-size: 0.9375rem;
  padding: 0.4375rem 0.875rem;
}

.form-label {
  font-size: 0.9375rem;
  margin-bottom: 0.5rem;
}

.form-select {
  border: 1px solid #d9dee3;
  border-radius: 0.375rem;
  font-size: 0.9375rem;
  padding: 0.4375rem 2.25rem 0.4375rem 0.875rem;
}

.navbar {
  background-color: #f5f5f5;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  margin: 1rem 2rem;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
}

.navbar-nav.flex-grow-0 {
  flex-grow: 0;
}

.navbar-nav.ms-auto {
  margin-left: auto !important;
}

.nav-link {
  align-items: center;
  display: flex;
  padding: 0.5rem 1rem;
}

.navbar-nav {
  align-items: center;
  display: flex;
}

.main-wrapper {
  margin: 1rem 2rem;
  width: calc(100% - 4rem);
}

.mb-4 {
  margin-bottom: 1.5rem !important;
}

.pb-3 {
  padding-bottom: 1rem !important;
}

.py-3 {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

.row {
  margin-right: 0;
  margin-left: 0;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #d9dee3;
  padding-left: 0.875rem;
  padding-right: 20px;
  line-height: 36px;*/ /* Match the height of the container minus borders */
  /*height: 36px;*/ /* Match the container height minus borders */
/*}*/

/* Placeholder text */
/*.select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: #d9dee3;
  line-height: 36px;*/ /* Match the container height */
  /*vertical-align: middle;
  display: inline-block;
}*/

/* Container adjustments */
/*.select2-container .select2-selection--single {
  min-height: 38px !important;
  height: 38px !important;
  border: 1px solid #d9dee3;
  border-radius: 0.375rem;
  font-size: 0.9375rem;
  padding: 0;
  background-color: #f8f9fa;
}*/
/* Placeholder text */
/*.select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: #d9dee3;*/ /* Matching the placeholder text color */
/*}*/

/* Dropdown arrow container */
/*.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 26px;
  position: absolute;
  top: 1px;
  right: 1px;
  width: 20px;
}*/

  /* Dropdown arrow */
  /*.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #d9dee3 transparent transparent transparent;
    border-width: 5px 5px 0 5px;
    margin-left: -5px;
    position: relative;
    top: 50%;
  }*/

/* Dropdown arrow when open */
/*.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
  border-color: transparent transparent #d9dee3 transparent;
  border-width: 0 5px 5px 5px;
}*/

/* Clear button */
/*.select2-container--default .select2-selection--single .select2-selection__clear {
  height: 36px;
  line-height: 36px;
  margin-right: 25px;
  padding-left: 5px;
  color: rgb(108, 117, 125);
}*/

/* Dropdown container */
/*.select2-dropdown {
  border: 1px solid #d9dee3;
  border-radius: 0.375rem;
  margin-top: 1px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  background-color: #f8f9fa;
}*/

/* Search field in dropdown */
/*.select2-container--default .select2-search--dropdown .select2-search__field {
  border: 1px solid #d9dee3;
  border-radius: 0.375rem;
  padding: 0.4375rem 0.875rem;
  font-size: 0.9375rem;
  background-color: #fff;
}*/

/* Dropdown options */
/*.select2-container--default .select2-results__option {
  padding: 0.4375rem 0.875rem;
  font-size: 0.9375rem;
  color: rgb(108, 117, 125);
}*/

/* Selected and highlighted states */
/*.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: #e9ecef;
  color: rgb(108, 117, 125);
}

.select2-container--default .select2-results__option[aria-selected=true] {
  background-color: #e9ecef;
  color: rgb(108, 117, 125);
}*/

/* Width control */
/*.select2 {
  width: 100% !important;
}

.text-muted {
  color: #a1acb8 !important;
}

.fw-light {
  font-weight: 300 !important;
}

h4.py-3.mb-4 {
  padding: 1rem 0 !important;
  margin-bottom: 1.5rem !important;
}

hr.my-0 {
  border-top: 1px solid #d9dee3;
  margin-bottom: 0 !important;
  margin-top: 0 !important;
}

.table {
  margin-bottom: 0;
}

.table-responsive {
  padding: 0 1.5rem;
}

body {
  margin-bottom: 60px;
}*/

/*latest*/
/*html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .position-static .dropdown-menu {
    width: 100%;
  }

  .content-wrapper {
    padding: 0 1rem;
  }

  .card-datatable.table-responsive {
    padding: 0 1rem;
  }

  .card-body {
    padding: 1.25rem;
  }

  .custom-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .main-wrapper {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

.avatar {
  cursor: pointer;
  height: 2.375rem;
  position: relative;
  width: 2.375rem;
}

  .avatar img {
    height: 100%;
    width: 100%;
  }

  .avatar .avatar-initial {
    align-items: center;
    background-color: #8592a3;
    bottom: 0;
    color: #fff;
    display: flex;
    font-weight: 500;
    justify-content: center;
    left: 0;
    position: absolute;
    right: 0;
    text-transform: uppercase;
    top: 0;
  }

  .avatar.avatar-online:after,
  .avatar.avatar-offline:after,
  .avatar.avatar-away:after,
  .avatar.avatar-busy:after {
    background-color: transparent;
    border-radius: 100%;
    box-shadow: 0 0 0 2px #fff;
    content: "";
    height: 8px;
    position: absolute;
    right: 3px;
    width: 8px;
    bottom: 0;
  }

  .avatar.avatar-online:after {
    background-color: #71dd37;
  }

  .avatar.avatar-offline:after {
    background-color: #8592a3;
  }

  .avatar.avatar-away:after {
    background-color: #ffab00;
  }

  .avatar.avatar-busy:after {
    background-color: #ff3e1d;
  }

.btn {
  border-radius: 0.375rem;
  font-size: 0.9375rem;
  padding: 0.4375rem 1.25rem;
}

.btn-outline-secondary {
  border-color: #8592a3;
  color: #8592a3;
}

.btn-primary {
  background-color: #696cff;
  border-color: #696cff;
}*/

/*.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}*/

/*.card {
  background-color: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 2px 6px 0 rgba(67, 89, 113, 0.12);
  margin-bottom: 1.5rem;
  width: 100%;
}

.card-body {
  padding: 2rem;
}

.card-header {
  background-color: transparent;
  border-bottom: 0;
  padding: 1.5rem;
}

.card-datatable.table-responsive {
  padding: 0 1.5rem;
}

.container-fluid {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding-left: 2rem;
  padding-right: 2rem;
  width: 100%;
}

.content-wrapper {
  padding: 0 2rem;
  margin-left: 0;
  margin-right: 0;
}

.custom-container {
  width: 100%;
  max-width: 100%;
}*/
/*
.row.g-0 {
    margin-left: 0;
    margin-right: 0;
}

.row.g-0 > .col-md-12 {
    padding-left: 0;
    padding-right: 0;
}*/

/*.datatable-order-history thead th {
  border-bottom: 1px solid #dee2e6 !important;
}

.daterangepicker {
  font-family: Arial, sans-serif;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

  .daterangepicker td.active,
  .daterangepicker td.active:hover {
    background-color: #007bff;
    color: #fff;
  }

  .daterangepicker td.available:hover {
    background-color: #f0f0f0;
  }

  .daterangepicker .calendar-table {
    padding: 10px;
  }

  .daterangepicker .drp-buttons {
    border-top: 1px solid #ddd;
    padding: 10px;
    text-align: right;
  }

    .daterangepicker .drp-buttons .btn {
      margin-left: 5px;
    }

.dropdown-menu {
  border: none;
  margin-top: 0;
}

  .dropdown-menu li {
    margin-bottom: 1rem;
  }

    .dropdown-menu li:last-child {
      padding-bottom: 0.5rem;
    }

.dropdown-toggle.hide-arrow::after {
  display: none !important;
}

.navbar .dropdown-menu {
  float: none;
  position: absolute !important;
}

.position-static .dropdown-menu {
  left: 0;
  margin-top: 0;
  right: 0;
  width: auto;
}

.footer {
  bottom: 0;
  line-height: 60px;
  position: absolute;
  white-space: nowrap;
  width: 100%;
}

.form-control {
  border: 1px solid #d9dee3;
  border-radius: 0.375rem;
  font-size: 0.9375rem;
  padding: 0.4375rem 0.875rem;
}

.form-label {
  font-size: 0.9375rem;
  margin-bottom: 0.5rem;
}

.form-select {
  border: 1px solid #d9dee3;
  border-radius: 0.375rem;
  font-size: 0.9375rem;
  padding: 0.4375rem 2.25rem 0.4375rem 0.875rem;
}

.navbar {
  background-color: #f5f5f5;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  margin: 1rem 2rem;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
}

.navbar-nav.flex-grow-0 {
  flex-grow: 0;
}

.navbar-nav.ms-auto {
  margin-left: auto !important;
}

.nav-link {
  align-items: center;
  display: flex;
  padding: 0.5rem 1rem;
}

.navbar-nav {
  align-items: center;
  display: flex;
}

.main-wrapper {
  margin: 1rem 2rem;
  width: calc(100% - 4rem);
}

.mb-4 {
  margin-bottom: 1.5rem !important;
}

.order-history-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}

.order-history-title {
  color: #666;
  font-weight: normal;
}

  .order-history-title span:last-child {
    color: #333;
  }

.badge {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
}

.badge-success {
  background: #e6f4ea;
  color: #1e7e34;
}

.order-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.table th {
  color: #666;
  font-weight: normal;
  font-size: 14px;
}
.pb-3 {
  padding-bottom: 1rem !important;
}

.py-3 {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

.row {
  margin-right: 0;
  margin-left: 0;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #d9dee3;
  padding-left: 0.875rem;
  padding-right: 20px;
  line-height: 36px;*/ /* Match the height of the container minus borders */
  /*height: 36px;*/ /* Match the container height minus borders */
/*}*/

/* Placeholder text */
/*.select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: #d9dee3;
  line-height: 36px;*/ /* Match the container height */
  /*vertical-align: middle;
  display: inline-block;
}*/

/* Container adjustments */
/*.select2-container .select2-selection--single {
  min-height: 38px !important;
  height: 38px !important;
  border: 1px solid #d9dee3;
  border-radius: 0.375rem;
  font-size: 0.9375rem;
  padding: 0;
  background-color: #f8f9fa;
}*/
/* Placeholder text */
/*.select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: #d9dee3;*/ /* Matching the placeholder text color */
/*}*/

/* Dropdown arrow container */
/*.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 26px;
  position: absolute;
  top: 1px;
  right: 1px;
  width: 20px;
}*/

  /* Dropdown arrow */
  /*.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #d9dee3 transparent transparent transparent;
    border-width: 5px 5px 0 5px;
    margin-left: -5px;
    position: relative;
    top: 50%;
  }*/

/* Dropdown arrow when open */
/*.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
  border-color: transparent transparent #d9dee3 transparent;
  border-width: 0 5px 5px 5px;
}*/

/* Clear button */
/*.select2-container--default .select2-selection--single .select2-selection__clear {
  height: 36px;
  line-height: 36px;
  margin-right: 25px;
  padding-left: 5px;
  color: rgb(108, 117, 125);
}*/

/* Dropdown container */
/*.select2-dropdown {
  border: 1px solid #d9dee3;
  border-radius: 0.375rem;
  margin-top: 1px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  background-color: #f8f9fa;
}*/

/* Search field in dropdown */
/*.select2-container--default .select2-search--dropdown .select2-search__field {
  border: 1px solid #d9dee3;
  border-radius: 0.375rem;
  padding: 0.4375rem 0.875rem;
  font-size: 0.9375rem;
  background-color: #fff;
}*/

/* Dropdown options */
/*.select2-container--default .select2-results__option {
  padding: 0.4375rem 0.875rem;
  font-size: 0.9375rem;
  color: rgb(108, 117, 125);
}*/

/* Selected and highlighted states */
/*.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: #e9ecef;
  color: rgb(108, 117, 125);
}

.select2-container--default .select2-results__option[aria-selected=true] {
  background-color: #e9ecef;
  color: rgb(108, 117, 125);
}*/

/* Width control */
/*.select2 {
  width: 100% !important;
}

.text-muted {
  color: #a1acb8 !important;
}

.fw-light {
  font-weight: 300 !important;
}

h4.py-3.mb-4 {
  padding: 1rem 0 !important;
  margin-bottom: 1.5rem !important;
}

hr.my-0 {
  border-top: 1px solid #d9dee3;
  margin-bottom: 0 !important;
  margin-top: 0 !important;
}

.table {
  margin-bottom: 0;
}

.table-responsive {
  padding: 0 1.5rem;
}

body {
  margin-bottom: 60px;
}*/



/* Base Styles and Global Settings */
html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
}

body {
  color: #697a8d;
  margin-bottom: 60px;
}

/* Responsive Typography */
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

/* Responsive Layout Adjustments */
@media (max-width: 768px) {
  .position-static .dropdown-menu {
    width: 100%;
  }

  .content-wrapper {
    overflow-x: auto;
  }

  .card {
    min-width: 450px;
  }

  .daterangepicker {
    position: fixed !important;
    top: auto !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    margin: 0;
    padding: 0;
    border-radius: 15px 15px 0 0;
    max-height: 80vh;
    overflow-y: auto;
  }

  .navbar {
    min-width: 450px;
  }

  .table-responsive {
    min-width: 250px;
  }

  .row.g-2 {
    min-width: 250px;
  }

  .col-sm-12 {
    min-width: 250px;
  }

  .card-body py-3 {
    min-width: 250px;
  }

}

/* Avatar Styles */
.avatar {
  cursor: pointer;
  height: 2.375rem;
  position: relative;
  width: 2.375rem;
}

.avatar img {
  height: 100%;
  width: 100%;
}

.avatar .avatar-initial {
  align-items: center;
  background-color: #8592a3;
  bottom: 0;
  color: #fff;
  display: flex;
  font-weight: 500;
  justify-content: center;
  left: 0;
  position: absolute;
  right: 0;
  text-transform: uppercase;
  top: 0;
}

/* Avatar Status Indicators */
.avatar.avatar-online:after,
.avatar.avatar-offline:after,
.avatar.avatar-away:after,
.avatar.avatar-busy:after {
  background-color: transparent;
  border-radius: 100%;
  box-shadow: 0 0 0 2px #fff;
  content: "";
  height: 8px;
  position: absolute;
  right: 3px;
  width: 8px;
  bottom: 0;
}

.avatar.avatar-online:after {
  background-color: #71dd37;
}

.avatar.avatar-offline:after {
  background-color: #8592a3;
}

.avatar.avatar-away:after {
  background-color: #ffab00;
}

.avatar.avatar-busy:after {
  background-color: #ff3e1d;
}

/* Button Styles */
.btn {
  border-radius: 0.375rem;
  font-size: 0.9375rem;
  padding: 0.4375rem 1.25rem;
}

.btn-outline-secondary {
  border-color: #8592a3;
  color: #8592a3;
}

.btn-primary {
  background-color: #696cff;
  border-color: #696cff;
}

/* Card Styles */
.card {
  background-color: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 2px 6px 0 rgba(67, 89, 113, 0.12);
  margin-bottom: 1.5rem;
  width: 100%;
}

.card-body {
  padding: 2rem;
}

.card-header {
  background-color: transparent;
  border-bottom: 0;
  padding: 1.5rem;
}

.card-datatable.table-responsive {
  padding: 0 1.5rem;
}

/* Container and Wrapper Styles */
.container,
.container-fluid,
.container-sm,
.container-md,
.container-lg,
.container-xl,
.container-xxl {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding-left: 2rem;
  padding-right: 2rem;
  width: 100%;
}

.content-wrapper {
  padding: 0 0rem;
  margin-left: 0;
  margin-right: 0;
}

.custom-container {
  width: 100%;
  max-width: 100%;
}

.main-wrapper {
  margin: 1rem 2rem;
  width: calc(100% - 4rem);
}

/* Datatable Styles */
.table-responsive {
  position: relative;
  width: 100%;
  overflow: hidden; 
}

/* Table styles */
.datatable-order-history {
  width: 100% !important;
  overflow-x: auto; 
  display: block; 
}

/* Maintain other styles */
.datatable-order-history thead th {
  border-bottom: 1px solid #dee2e6 !important;
  padding-top: 1rem !important;
  font-size: 0.85rem !important;
  min-width: 250px;
}

.datatable-order-history tbody td {
  font-size: 1rem !important;
  min-width: 250px; 
}

.datatable-order-history td {
  vertical-align: middle !important;
}

/* Other styles remain the same */
.dataTables_length {
  padding-left: 1rem;
  margin-bottom: 1rem !important;
  font-size: 1rem !important;
}

.dataTables_info {
  padding-left: 1rem;
  padding-top: 1rem;
  vertical-align: middle;
  font-size: 1rem !important;
}

.dataTables_paginate {
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-size: 1rem !important;
}

.dataTables_info {
  padding-left: 1rem;
  padding-top: 1rem;
  vertical-align: middle;
  font-size: 1rem !important; 
}

.dataTables_paginate {
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-size: 1rem !important; 
}

/* Daterangepicker Styles */
.daterangepicker {
  font-family: Arial, sans-serif;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.daterangepicker td.active,
.daterangepicker td.active:hover {
  background-color: #007bff;
  color: #fff;
}

.daterangepicker td.available:hover {
  background-color: #f0f0f0;
}

.daterangepicker .calendar-table {
  padding: 10px;
}

.daterangepicker .drp-buttons {
  border-top: 1px solid #ddd;
  padding: 10px;
  text-align: right;
}

.daterangepicker .drp-buttons .btn {
  margin-left: 5px;
}

/* Dropdown Styles */
.dropdown-menu {
  border: none;
  margin-top: 0;
  color: #697a8d;
  z-index: 9999 !important;
}

.dropdown-menu li {
  color: #697a8d;
  margin-bottom: 0.5rem;
}

.dropdown-menu .dropdown-item {
  color: #697a8d !important;
  text-decoration: none;
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus,
.dropdown-menu .dropdown-item:active {
  color: #697a8d !important;
  background-color: #f5f5f9;
}

.dropdown-menu .dropdown-item.active,
.dropdown-menu .dropdown-item:active {
  color: #697a8d !important;
  background-color: #f5f5f9;
}

.dropdown-toggle::after {
  display: none !important;
}

/* Container styles */
.container-xxl {
  padding-right: 1rem;
  padding-left: 1rem;
  width: 100%;
}

/* Footer styles */
.content-footer {
  margin-top: auto;
}

/* Footer Styles */
.footer {
  bottom: 0;
  line-height: 20px;
  position: absolute;
  white-space: nowrap;
  width: 100%;
  padding-top: 0.1rem !important;
  padding-bottom: 0.1rem !important;
}

/* Form Styles */
.form-control {
  border: 1px solid #d9dee3;
  border-radius: 0.375rem;
  font-size: 0.9375rem;
  padding: 0.4375rem 0.875rem;
  position: relative !important;
  z-index: 1 !important;
}

.form-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: inherit;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.form-select {
  border: 1px solid #d9dee3;
  border-radius: 0.375rem;
  font-size: 0.9375rem;
  padding: 0.4375rem 2.25rem 0.4375rem 0.875rem;
  color: #697a8d;
}

/* Navbar Styles */
.navbar {
  background-color: #f5f5f5;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  margin: 1rem 2rem;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
}

.navbar-nav.flex-grow-0 {
  flex-grow: 0;
}

.navbar-nav.ms-auto {
  margin-left: auto !important;
}

.nav-link {
  align-items: center;
  display: flex;
  padding: 0.5rem 1rem;
}

.navbar-nav {
  align-items: center;
  display: flex;
}

.navbar .dropdown-menu {
  float: none;
  position: absolute !important;
}

/* Order History Styles */
.order-history-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}

.order-history-title {
  color: #666;
  font-weight: normal;
}

.order-history-title span:last-child {
  color: #333;
}

/* Badge Styles */
:root {
  --bs-primary-rgb: 9, 0, 136;
  --bs-secondary-rgb: 133, 146, 163;
  --bs-success-rgb: 113, 221, 55;
  --bs-info-rgb: 3, 195, 236;
  --bs-warning-rgb: 255, 171, 0;
  --bs-danger-rgb: 255, 62, 29;
}

/* Label background styles */
.badge.bg-label-primary {
  background-color: rgba(var(--bs-primary-rgb), 0.1) !important;
  color: rgb(var(--bs-primary-rgb)) !important;
}

.badge.bg-label-secondary {
  background-color: rgba(var(--bs-secondary-rgb), 0.1) !important;
  color: rgb(var(--bs-secondary-rgb)) !important;
}

.badge.bg-label-success {
  background-color: rgba(var(--bs-success-rgb), 0.1) !important;
  color: rgb(var(--bs-success-rgb)) !important;
}

.badge.bg-label-info {
  background-color: rgba(var(--bs-info-rgb), 0.1) !important;
  color: rgb(var(--bs-info-rgb)) !important;
}

.badge.bg-label-warning {
  background-color: rgba(var(--bs-warning-rgb), 0.1) !important;
  color: rgb(var(--bs-warning-rgb)) !important;
}

.badge.bg-label-danger {
  background-color: rgba(var(--bs-danger-rgb), 0.1) !important;
  color: rgb(var(--bs-danger-rgb)) !important;
}

/* Solid background styles */
.badge.bg-primary {
  background-color: rgb(var(--bs-primary-rgb)) !important;
  color: #fff !important;
}

.badge.bg-secondary {
  background-color: rgb(var(--bs-secondary-rgb)) !important;
  color: #fff !important;
}

.badge.bg-success {
  background-color: rgb(var(--bs-success-rgb)) !important;
  color: #fff !important;
}

.badge.bg-info {
  background-color: rgb(var(--bs-info-rgb)) !important;
  color: #fff !important;
}

.badge.bg-warning {
  background-color: rgb(var(--bs-warning-rgb)) !important;
  color: #fff !important;
}

.badge.bg-danger {
  background-color: rgb(var(--bs-danger-rgb)) !important;
  color: #fff !important;
}

.badge {
  display: inline-flex;
  padding: 4px 8px;
  font-size: 0.8125em;
  font-weight: 500;
  line-height: 1rem;
  align-items: center;
  vertical-align: middle;
  white-space: nowrap;
  border-radius: 0.25rem;
  text-transform: uppercase;
}

.badge-success {
  background: #e6f4ea;
  color: #1e7e34;
}

/* Order Details Grid */
.order-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Base container */
.select-container {
  position: relative !important;
  width: 100% !important;
  z-index: 9999 !important; 
}

/* Selection box styling */
.select2-container .select2-selection--single {
  height: calc(1.5em + 0.875rem + 2px) !important;
  display: flex !important;
  align-items: center !important;
  border: 1px solid #d9dee3 !important;
  border-radius: 0.375rem !important;
  padding: 0.4375rem 0.875rem !important;
  background-color: #fff !important;
}

/* Dropdown positioning and styling */
.select2-container--open .select2-dropdown {
  position: absolute !important;
  top: calc(100% + 2px) !important;
  left: 0 !important;
  width: 100% !important;
  margin-top: 2px !important;
  border: 1px solid #d9dee3 !important;
  border-radius: 0.375rem !important;
  background-color: white !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
  z-index: 9999 !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Prevent dropdown from breaking out */
.select2-dropdown {
  max-width: 100% !important;
  width: 100% !important;
  overflow: hidden !important;
}

/* Results container */
.select2-results {
  display: block !important;
  width: 100% !important;
  max-height: 200px !important;
  overflow-y: auto !important;
  background-color: white !important;
}

.select2-results__options {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #495057 !important;
}

.select2-results__option {
  padding: 0.4375rem 0.875rem !important;
  margin: 0 !important;
  cursor: pointer !important;
  color: #495057 !important;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: #495057 !important;
  font-size: 0.9375rem;
}

/* Search box */
.select2-search--dropdown {
  padding: 8px !important;
  background-color: white !important;
}

.select2-search--dropdown .select2-search__field {
  width: 100% !important;
  padding: 0.4375rem 0.875rem !important;
  border: 1px solid #d9dee3 !important;
  border-radius: 0.375rem !important;
  box-sizing: border-box !important;
}

/* Parent container positioning */
.select-container {
  position: relative !important;
  width: 100% !important;
  z-index: 1050 !important;
}

/* Remove any transitions that might cause layout shifts */
.select2-container,
.select2-dropdown,
.select2-search,
.select2-results {
  transition: none !important;
}

.amount-column {
  width: 140px;
  text-align: right;
}

.col-md-3 {
  box-sizing: border-box;
}

.date-column {
  width: 140px;
}

.layout-navbar,
.content-footer {
  flex: 0 0 auto;
}

.mb-4 {
  margin-bottom: 1.5rem !important;
}

.mt-4 {
  position: relative !important;
  z-index: 1 !important;
}

.pb-3 {
  padding-bottom: 1rem !important;
}

.py-3 {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

.row {
  margin-right: 0;
  margin-left: 0;
  display: flex;
  align-items: center;
}

.text-light {
  color: #b4bdc6 !important;
}

.text-muted {
  color: #a1acb8 !important;
}

.fs-7 {
  font-size: 0.875rem !important;
}

.fw-light {
  font-weight: 300 !important;
}

.fw-medium {
  color: #697a8d !important;
}

h4.py-3.mb-4 {
  padding: 1rem 0 !important;
  margin-bottom: 1.5rem !important;
}

hr.my-0 {
  border-top-color: #212529 !important;
  opacity: 0.25;
  margin-bottom: 0 !important;
  margin-top: 0 !important;
}

.table {
  margin-bottom: 0;
}

.table td {
  font-size: 0.9375rem;
}

.table td.text-light {
  color: #a1acb8 !important;
}

.table td:not(.text-light) {
  color: #697a8d;
}




