/********** Template CSS **********/
:root {
  --primary: 226, 30, 38;
  /* Bright Red #E21E26 */
  --primary-dark: 180, 20, 26;
  --secondary: 17, 17, 17;
  /* Rich Black */
  --light: #f8f9fa;
  --lighter: #ffffff;
  --dark: #000000;

  --gray-50: 249, 250, 251;
  --gray-100: 243, 244, 246;
  --gray-200: 229, 231, 235;
  --gray-300: 209, 213, 219;
  --gray-400: 156, 163, 175;
  --gray-500: 107, 114, 128;
  --gray-600: 75, 85, 99;
  --gray-700: 55, 65, 81;
  --gray-800: 31, 41, 55;
  --gray-900: 17, 24, 39;

  --font-heading: "Inter", sans-serif;
}

* {
  border-radius: 0 !important;
}

html {
  font-size: 14px;
  /*height: 100%;*/
  overflow-y: scroll;
}

body {
  color: rgba(var(--gray-800), 1);
  height: 100%;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #e1e1e1;
  border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
  background: #d1d1d1;
}

.bg-light {
  background-color: var(--light) !important;
}

.text-primary,
.text-info,
.spinner-border,
.spinner-grow {
  color: #e21e26 !important;
}

.bg-primary,
.progress-bar {
  background-color: #e21e26 !important;
}

.bg-lighter {
  background-color: var(--lighter);
}

.back-to-top {
  display: none !important;
}

/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease-out,
    visibility 0s linear 0.3s;
  z-index: 99999;
  background: rgba(17, 17, 17, 0.8) !important;
  backdrop-filter: blur(8px);
}

#spinner.show {
  transition:
    opacity 0.3s ease-out,
    visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

.loader-container {
  position: relative;
  width: 100px;
  height: 100px;
}

.loader-circle {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 4px solid rgba(255, 255, 255, 0.05);
  border-top-color: rgb(var(--primary));
  border-radius: 50% !important;
  animation: spin 1s linear infinite;
}

.loader-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  filter: brightness(0) invert(1);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(0.9);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

/*** Button ***/
.btn {
  transition: 0.5s;
}

.btn.btn-primary,
.btn.btn-secondary,
.btn-danger {
  color: #ffffff;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 8px 20px;
  border: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: rgb(var(--primary));
}

.btn-primary:hover {
  background-color: rgb(var(--primary-dark)) !important;
}

/* .btn-slanted {
  transform: skew(-15deg);
}

.btn-slanted span {
  display: inline-block;
  transform: skew(15deg);
} */

.btn-outline-square {
  width: 40px;
  height: 40px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
  background-color: #ffffff;
  border-color: rgba(var(--gray-300), 1);
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
  border-radius: 0;
  font-size: 13px;
}

.bg-img {
  background-color: #ececec;
  height: 100%;
}

.copyright {
  font-size: 11px;
  line-height: 120%;
  color: rgba(var(--gray-500), 1);
}

.footer-section {
  margin-top: auto;
}

.footer {
  width: 100%;
  font-size: 11px;
  line-height: 120%;
  color: rgba(var(--gray-500), 1);
  border-top: solid 1px rgba(var(--gray-200), 1);
}

/*** Login ***/
.loginSidebar {
  width: 100%;
  overflow-y: auto;
  background: white;
  transition: 0.5s;
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  justify-items: center;
  max-width: 450px;
  margin: 60px auto;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-top: 5px solid rgb(var(--primary));
}

@media (min-width: 576px) {
  .loginSidebar {
    /* max-width: 488px; */
    /* padding: 64px; */
  }
}

.gradient-bg {
  background: linear-gradient(0deg,
      rgba(var(--primary), 1) 0%,
      rgba(var(--primary), 0.8) 100%);
  width: 100%;
  height: 220px;
  position: absolute;
  z-index: 1;
}

.loginSidebar .heading {
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 0;
  color: rgba(var(--gray-700), 1);
}

.logo img {
  width: 100%;
  display: block;
  margin: 0 auto;
}

/*** Layout ***/
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 280px;
  height: 100vh;
  overflow-y: auto;
  transition: 0.5s;
  z-index: 999;
  background-color: #111111;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar .logo img {
  max-width: 128px;
  width: 100%;
  display: block;
  margin: 0 auto;
}

.content {
  margin-left: 280px;
  min-height: 100vh;
  background: #f4f7f6;
  transition: 0.5s;
  position: relative;
  display: flex;
  flex-direction: column;
}

@media (min-width: 992px) {
  .sidebar {
    margin-left: 0;
  }

  .sidebar.open {
    margin-left: -280px;
  }

  .content {
    width: calc(100% - 280px);
  }

  .content.open {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 991.98px) {
  .sidebar {
    padding-top: 48px;
    margin-left: -280px;
    -webkit-box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 12px 0 12px 0 rgba(0, 0, 0, 0.1);
  }

  .sidebar.open {
    margin-left: 0;
  }

  .content {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 575.98px) {
  .container-fluid {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

.sidebar .navbar .navbar-nav {
  padding: 0;
  margin-top: 0.5rem;
}

.sidebar .navbar .navbar-nav .nav-link {
  margin: 2px 0;
  padding: 12px 16px;
  color: #888;
  background-color: transparent;
  line-height: 1;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: 12px;
}

.sidebar .navbar .navbar-nav .nav-link i {
  width: 24px;
  height: 24px;
  margin-right: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #888;
  transition: 0.3s;
  font-size: 16px;
}

.sidebar .navbar .navbar-nav .nav-link.disabled {
  color: rgba(var(--gray-400), 1);
  background: rgba(var(--gray-100), 1);
}

.sidebar .navbar .navbar-nav .nav-link.disabled i {
  color: rgba(var(--gray-400), 1);
}

.sidebar .navbar .navbar-nav .nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.sidebar .navbar .navbar-nav .nav-link:hover i {
  color: rgb(var(--primary));
}

.sidebar .navbar .navbar-nav .nav-link.active {
  color: #ffffff;
  background: rgb(var(--primary));
  position: relative;
}

.sidebar .navbar .navbar-nav .nav-link.active i {
  color: #ffffff;
}

.sidebar .navbar .navbar-nav hr {
  margin: 12px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 1;
}

.sidebar .navbar .dropdown-toggle::after {
  position: absolute;
  top: 18px;
  left: 8px;
  border: none;
  font-family: "finexCRM" !important;
  content: "\e901";
  font-size: 14px;
  transition: 0.5s;
  color: rgba(var(--gray-700), 1);
}

.sidebar .navbar .dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(-180deg);
}

.sidebar .navbar .dropdown-toggle.disabled::after {
  color: rgba(var(--gray-400), 1);
}

.sidebar .navbar-nav .dropdown-menu {
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  background-color: rgba(var(--secondary-100), 1);
}

.sidebar .navbar .dropdown-item {
  margin: 0 0 1px;
  padding: 0.5rem 1rem;
  color: var(--dark);
  padding: 0.5rem 1.25rem 0.5rem 2.5rem;
  margin-bottom: 1px;
}

.sidebar .dropdown-item:hover,
.sidebar .dropdown-item:focus {
  background-color: rgba(var(--secondary-200), 1);
}

.content .dropdown-menu {
  padding: 15px 0 !important;
  -webkit-box-shadow: 0 6px 24px 0 rgba(0, 0, 0, 0.3);
  box-shadow: 0 6px 24px 0 rgba(0, 0, 0, 0.3);
  overflow: hidden;
  background-color: #ffffff;
}

.content .navbar .dropdown-item {
  margin: 0;
  padding: 10px 50px 10px 30px;
  color: rgb(var(--dark));
  position: relative;
  transition: all 0.5s;
}

.content .navbar .dropdown-item.active {
  color: white;
}

/* .content .navbar .dropdown-item:after {
  content: "";
  display: block;
  position: absolute;
  left: 30px;
  bottom: -1px;
  width: calc(100% - 60px);
  border-bottom: solid 1px rgba(var(--gray-200), 1);
} */

.content .navbar .dropdown-item:hover:after,
.content .navbar .dropdown-item:last-child:after {
  display: none;
}

.content .dropdown-item:hover,
.content .navbar .dropdown-item.active:hover,
.content .dropdown-item:focus {
  background-color: rgba(var(--gray-100), 1);
  color: rgb(var(--dark));
}

.bread-crumb {
  margin-left: 1rem;
}

.bread-crumb .page-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
  font-size: 14px;
  color: rgba(var(--gray-500), 1);
  margin: 0;
}

.bread-crumb .page-heading a {
  transition: 0.5s;
  color: rgba(var(--gray-500), 1);
}

.bread-crumb .page-heading a:hover {
  color: rgba(var(--gray-900), 1);
}

.bread-crumb .page-heading .separator {
  display: block;
  margin: 0 10px;
  color: rgba(var(--gray-400), 1);
}

@media (max-width: 575.98px) {
  .bread-crumb .page-heading .separator {
    margin: 0 4px;
  }
}

.bread-crumb .page-heading .active {
  display: block;
  font-weight: 600;
  color: rgba(var(--primary), 1);
}

.hello-admin {
  font-size: 14px;
  margin-right: 20px;
  color: rgba(var(--gray-800), 1);
}

.dropdown-menu .hello-admin {
  margin-right: 0;
  font-weight: bold;
  padding: 10px 30px 20px 30px;
}

.content .navbar-header {
  border-bottom: solid 1px rgba(var(--gray-200), 1);
  background-color: #ffffff;
}

.content .navbar-header .navbar-nav .nav-link {
  padding: 0px 0px;
  line-height: 1;
  color: var(--dark);
  outline: none;
  background-color: rgba(var(--gray-200), 1);
  border-radius: 4px;
}

.content .navbar-header .navbar-nav .nav-link:hover,
.content .navbar-header .navbar-nav .nav-link.active {
  color: var(--primary);
}

.content .navbar-header .sidebar-toggler,
.content .navbar-header .navbar-nav .nav-link i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(var(--gray-500), 1);
  transition: 0.5s;
}

.content .navbar-header .navbar-nav .nav-link i {
  font-size: 24px;
  color: rgba(var(--gray-900), 1);
}

.content .navbar-header .navbar-nav .nav-link:hover {
  background-color: rgba(var(--gray-300), 1);
}

.content .navbar-header .sidebar-toggler:hover {
  color: rgba(var(--gray-900), 1);
}

.content .navbar-header .dropdown-toggle::after {
  margin-left: 6px;
  vertical-align: middle;
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  transition: 0.5s;
  display: none;
}

.content .navbar-header .dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(-180deg);
}

@media (max-width: 575.98px) {
  .content .navbar-header .navbar-nav .nav-link {
    margin-left: 15px;
  }
}

.content h4 {
  /* font-size: 1.25rem; */
  color: var(--dark);
}

/*** Date Picker ***/
.bootstrap-datetimepicker-widget.bottom {
  top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
  border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
  font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
  padding: 10px;
  border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
  background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
  border-bottom-color: var(--primary);
}

.table-container {
  background-color: rgba(var(--gray-50), 1);
  border: solid 1px rgba(var(--gray-200), 1);
  border-radius: 4px;
  padding: 8px;
}

.table-container.table-responsive {
  overflow: visible;
}

@media (min-width: 576px) {
  .table-container {
    padding: 16px;
  }
}

.table-container .table {
  margin: 0;
}

.table-container .table> :not(caption)>*>* {
  background-color: transparent;
}

.table-container .table>tbody>tr:last-child>* {
  border: 0;
}

.table-container .table-group-divider {
  border-top: 0;
}

.table-container td p:last-child {
  margin-bottom: 0;
}

/*** DataTable ***/
table.dataTable thead>tr>th.dt-orderable-asc:hover,
table.dataTable thead>tr>th.dt-orderable-desc:hover,
table.dataTable thead>tr>td.dt-orderable-asc:hover,
table.dataTable thead>tr>td.dt-orderable-desc:hover {
  outline: 0;
}

table.dataTable>thead>tr>th,
table.dataTable>thead>tr>td,
div.dt-container.dt-empty-footer tbody>tr:last-child>* {
  border-bottom: solid 1px rgba(var(--gray-200), 1);
}

.table-hover>tbody>tr:hover>* {
  --bs-table-bg-state: rgba(var(--gray-100), 1);
}

div.dt-container select.dt-input {
  margin-right: 8px;
}

div.dt-container .dt-paging .dt-paging-button {
  background-color: rgba(var(--gray-200), 1);
  padding: 0.5em 0.75em;
  line-height: 1;
}

div.dt-container .dt-paging .dt-paging-button:hover {
  background: rgba(var(--gray-300), 1);
  color: rgba(var(--gray-800), 1) !important;
  border-color: rgba(var(--gray-300), 1);
}

div.dt-container .dt-paging .dt-paging-button.current,
div.dt-container .dt-paging .dt-paging-button.current:hover {
  background: rgba(var(--primary), 1);
  color: white !important;
  border-color: rgba(var(--primary), 1);
}

div.dt-container .dt-paging .dt-paging-button.disabled,
div.dt-container .dt-paging .dt-paging-button.disabled:hover,
div.dt-container .dt-paging .dt-paging-button.disabled:active {
  background: rgba(var(--gray-200), 1);
  color: rgba(var(--gray-400), 1) !important;
  border-color: rgba(var(--gray-200), 1);
}

table.dataTable>tbody>tr.child ul.dtr-details {
  display: block;
}

table.dataTable thead>tr>th.dt-orderable-asc span.dt-column-order,
table.dataTable thead>tr>th.dt-orderable-desc span.dt-column-order,
table.dataTable thead>tr>th.dt-ordering-asc span.dt-column-order,
table.dataTable thead>tr>th.dt-ordering-desc span.dt-column-order,
table.dataTable thead>tr>td.dt-orderable-asc span.dt-column-order,
table.dataTable thead>tr>td.dt-orderable-desc span.dt-column-order,
table.dataTable thead>tr>td.dt-ordering-asc span.dt-column-order,
table.dataTable thead>tr>td.dt-ordering-desc span.dt-column-order {
  position: relative;
  margin-left: 0;
  right: 0;
  left: 3px;
}

table.dataTable thead>tr>th.dt-orderable-asc,
table.dataTable thead>tr>th.dt-orderable-desc,
table.dataTable thead>tr>th.dt-ordering-asc,
table.dataTable thead>tr>th.dt-ordering-desc,
table.dataTable thead>tr>td.dt-orderable-asc,
table.dataTable thead>tr>td.dt-orderable-desc,
table.dataTable thead>tr>td.dt-ordering-asc,
table.dataTable thead>tr>td.dt-ordering-desc {
  padding-right: 10px;
}

table.dataTable.nowrap th p,
table.dataTable.nowrap td p {
  white-space: wrap;
  margin-bottom: 0;
}

div.dt-container div.dt-layout-row {
  margin: 0;
}

div.dt-container div.dt-layout-row div.dt-layout-cell.dt-layout-end {
  margin-top: 0.75em;
}

.badge {
  color: rgba(var(--gray-800), 1);
  background-color: white;
  border: solid 1px rgba(var(--gray-200), 1);
}

.badge-todo {
  background-color: #fffdc4;
  border: solid 1px #e4e2bc;
}

.badge-inprogress {
  background-color: #e0ffed;
  border: solid 1px #c3e8d2;
}

.badge-review {
  background-color: #ffe2e2;
  border: solid 1px #ffb2b2;
}

.badge-pending {
  background-color: #059dfb;
  border: solid 1px #059dfb;
  color: #fff;
}

.badge-declined,
.badge-deleted {
  background-color: #ff0000;
  border: solid 1px #ff0000;
  color: #fff;
}

.badge-awaiting {
  background-color: #fbbc05;
  border: solid 1px #fbbc05;
  color: #fff;
}

.badge-approved {
  background-color: #4caf50;
  border: solid 1px #4caf50;
  color: #fff;
}

.badge-sm {
  padding: 0.35em 0.5em;
}

/*** Form styling ***/
input[readonly],
input[readonly]:focus,
.readonly,
.readonly:focus {
  border: var(--bs-border-width) solid var(--bs-border-color);
  background-color: rgba(var(--gray-100), 1);
  box-shadow: 0 0 0 0rem rgba(65, 145, 161, 0.25);
}

.input-group .input-group-append {
  display: flex;
}

.input-group .form-control {
  border-right: #ffffff;
}

.input-group .input-group-append .input-group-text {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  background-color: #ffffff;
  border-left: #ffffff;
}

input[type="file"] {
  -webkit-appearance: none;
  text-align: left;
  -webkit-rtl-ordering: left;
  position: relative;
  display: flex;
  align-items: end;
}

input[type="file"]::-webkit-file-upload-button {
  -webkit-appearance: none;
  float: right;
  right: 0;
  top: 0;
  bottom: 0;
  margin-right: -1px;
  position: absolute;
  color: #ffffff;
  text-transform: uppercase;
  font-weight: 600;
  transition: 0.5s;
  background-color: rgba(var(--secondary), 1);
}

.form-label span {
  color: red;
}

/*** Modal Styling ***/

.modal-header {
  margin: 24px 24px 0;
  padding: 0 0 24px;
  border-color: rgba(var(--gray-200), 1);
}

.modal-body {
  padding: 24px;
}

.modal-footer {
  border-top: 0;
  padding: 0 24px 24px;
}

/*** DatePicker Styling ***/
.datepicker-days {
  padding: 8px;
}

.datepicker td,
.datepicker th {
  padding: 4px 12px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/*** Select 2 ***/
.select2-container {
  width: 100% !important;
}

.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
  width: 100% !important;
  display: block;
  width: 100%;
  min-height: 39px;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--bs-body-color);
  background-color: var(--bs-body-bg);
  background-clip: padding-box;
  border: var(--bs-border-width) solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
}

.select2-container--default .select2-selection--multiple {
  padding: 0.175rem 0.75rem;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 6px;
  right: 8px;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background-color: rgba(var(--primary), 1);
}

/** Switch sizes **/
.form-switch.form-switch-sm {
  margin-bottom: 0.5rem;
}

.form-switch.form-switch-sm .form-check-input {
  height: 1rem;
  width: calc(1rem + 0.75rem);
  border-radius: 2rem;
}

.form-switch.form-switch-md .form-check-input {
  height: 1.5rem;
  width: calc(2rem + 0.75rem);
  border-radius: 3rem;
}

.form-switch.form-switch-lg .form-check-input {
  height: 2rem;
  width: calc(3rem + 0.75rem);
  border-radius: 4rem;
}

.form-switch.form-switch-xl .form-check-input {
  height: 2.5rem;
  width: calc(4rem + 0.75rem);
  border-radius: 5rem;
}

/** Switch sizes **/
.form-check-input::before,
.form-check-input::after {
  top: 0.8rem;
  width: 1.25rem;
  height: 1.25rem;
}

/** Sweet Alert **/
.sweet-alert {
  padding: 50px 30px;
}

.sweet-alert h2 {
  line-height: 1.5;
}

.sa-button-container {
  flex-direction: column-reverse;
  display: flex;
}

.sa-confirm-button-container {
  margin: 20px 0 10px;
}

table.dataTable th.dt-type-numeric,
table.dataTable th.dt-type-date,
table.dataTable td.dt-type-numeric,
table.dataTable td.dt-type-date {
  text-align: left;
}

div.dt-container .dt-length,
div.dt-container .dt-search,
div.dt-container .dt-info,
div.dt-container .dt-processing,
div.dt-container .dt-paging {
  padding: 16px 0 0;
}

.alert {
  padding: 6px;
}

/*******Tooltip Line********/
.my-tooltip {
  position: relative;
  display: inline-block;
  cursor: default;
}

.my-tooltip .tooltip-content {
  position: absolute;
  z-index: 9999;
  min-width: 240px;
  left: 50%;
  bottom: 50%;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
  font-weight: 400;
  color: white;
  background: transparent;
  opacity: 0;
  margin: 0 0 15px -120px;
  cursor: default;
  pointer-events: none;
  -webkit-font-smoothing: antialiased;
  -webkit-transition: opacity 0.3s 0.3s;
  transition: opacity 0.3s 0.3s;
  padding-bottom: 5px;
  overflow: hidden;
  white-space: wrap;
}

.my-tooltip:hover .tooltip-content {
  opacity: 1;
  pointer-events: auto;
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
}

.my-tooltip .tooltip-content::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  left: 50%;
  bottom: 2px;
  transform: rotate(45deg);
  background: rgba(var(--primary), 1);
  display: none;
}

.my-tooltip:hover .tooltip-content::after {
  display: block;
}

.my-tooltip .tooltip-content span {
  display: block;
}

.my-tooltip .tooltip-inner {
  border-radius: 8px;
  background: rgba(var(--primary), 1);
  padding: 12px;
  -webkit-transform: translate3d(0, 100%, 0);
  transform: translate3d(0, 100%, 0);
  webkit-transition: -webkit-transform 0.3s 0s;
  transition: transform 0.3s 0s;
}

.my-tooltip:hover .tooltip-inner {
  -webkit-transition-delay: 0.3s 0s;
  transition-delay: 0.3s 0s;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.hr,
hr {
  height: 1px;
  margin: 0.25rem 0 0.75rem;
  background-color: transparent;
  border-top: solid 1px rgba(var(--gray-400), 1);
}

.box-container {
  background-color: rgba(var(--gray-50), 1);
  border: solid 1px rgba(var(--gray-200), 1);
  border-radius: 4px;
  padding: 16px 24px;
}

.box-container-primary {
  background-color: rgba(var(--primary-50), 1);
  border: solid 1px rgba(var(--primary-100), 1);
  border-radius: 4px;
  padding: 16px 24px;
}

.box-container-secondary {
  background-color: rgba(var(--secondary-50), 1);
  border: solid 1px rgba(var(--secondary-200), 1);
  border-radius: 4px;
  padding: 16px 24px;
}

.box-container-cms {
  background-color: rgba(var(--gray-50), 1);
  border: solid 1px rgba(var(--gray-200), 1);
  border-radius: 4px;
}

.box-container-post {
  border: solid 1px rgba(var(--gray-200), 1);
  border-radius: 4px;
}

.box-container-post .box-post-heading {
  color: rgba(var(--gray-900), 1);
  padding: 8px 24px;
  display: block;
  background-color: rgba(var(--gray-200), 1);
}

.box-container-post .box-post-details {
  padding: 16px 24px;
}

.box-post-attachments {
  padding: 8px 24px;
  background-color: rgba(var(--gray-100), 1);
}

.box-post-attachments svg {
  width: 16px;
}

.loader {
  display: none;
  background-color: rgba(var(--gray-100), 0.5);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.loader.show {
  display: flex;
}

.dashboard .card {
  background-color: rgba(var(--primary-50), 1);
  border-color: rgba(var(--primary-100), 1);
  color: rgba(var(--primary), 1);
}

.dashboard .card .card-body {
  padding: 2rem;
}

.dashboard .card .h2 {
  color: rgba(var(--primary-600), 1);
}

.dashboard .card .h5 {
  color: rgba(var(--gray-700), 1);
}

.dashboard .card .badge {
  /* background-color: rgba(var(--primary-50), 1); */
  border-color: rgba(var(--primary-100), 1);
  color: rgba(var(--primary-800), 1);
}

.DisplayImg {
  display: block;
  border: solid 1px rgba(var(--primary-100), 1);
  padding: 1em;
  position: relative;
  max-width: 128px;
  background-color: #ffffff;
}

.DisplayImg img {
  display: block;
  max-width: 60%;
  margin: 0 auto 12px;
}

.DisplayImg span {
  display: block;
  word-break: break-all;
  font-size: 12px;
  line-height: 1.3;
}

.DisplayImg a.btn {
  position: absolute;
  right: 0;
  top: 0;
  padding: 0rem;
  transform: translateX(50%) translateY(-50%);
}

.DisplayImg a svg {
  color: #ffffff;
  width: 20px;
  height: 20px;
}

.text-link {
  font-weight: bold;
  color: white;
  display: inline-block;
  background-color: rgba(var(--secondary-500), 1);
  padding: 2px 8px;
  transition: all 0.2s ease-out;
  border-radius: 4px;
}

.text-link:hover {
  color: rgba(var(--secondary-500), 1);
  background-color: rgba(var(--secondary-500), 0.2);
}

/* ── Page header row ─────────────────────── */
.page-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.page-top-bar h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(var(--gray-900), 1);
  margin: 0;
}

.page-top-bar .actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* ── Section card ────────────────────────── */
.detail-section-card {
  background: #fff;
  border: solid 1px rgba(var(--gray-200), 1);
  border-radius: 8px;
  padding: 20px 22px;
  margin-bottom: 20px;
}

.detail-section-card .section-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: rgba(var(--gray-900), 1);
  background-color: rgba(var(--gray-200), 1);
  display: block;
  padding: 8px 22px;
  margin: -20px -22px 16px -22px;
  border-radius: 8px 8px 0 0;
}

/* Sub-label inside card (e.g. Delivery Radius) — no bleed background */
.detail-section-card .section-title.mt-4 {
  background: none;
  margin: 0 0 8px 0;
  padding: 0;
  border-radius: 0;
  color: rgba(var(--gray-500), 1);
}

/* ── Hero Gallery Grid ───────────────────── */
.hero-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.hero-gallery-item {
  background: linear-gradient(150deg, #4a7c59 0%, #2d5a3d 45%, #1e3d2a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 1 / 1;
}

.hero-gallery-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 30% 40%,
      rgba(100, 160, 80, 0.35) 0%,
      transparent 70%);
}

.hero-gallery-item i {
  font-size: 2.5rem;
  color: rgba(255, 255, 255, 0.15);
  position: relative;
  z-index: 1;
}

/* ── Info rows (label : value) ───────────── */
.info-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  border-bottom: solid 1px rgba(var(--gray-100), 1);
}

.info-row:last-child {
  border-bottom: none;
}

.info-row .info-label {
  min-width: 150px;
  color: rgba(var(--gray-500), 1);
  font-weight: 400;
  flex-shrink: 0;
}

.info-row .info-value {
  color: rgba(var(--gray-800), 1);
  font-weight: 500;
  flex: 1;
}

/* ── Price display ───────────────────────── */
.price-big {
  font-size: 1.6rem;
  font-weight: 800;
  color: rgba(var(--primary), 1);
}

.price-duration {
  color: rgba(var(--gray-500), 1);
  margin-top: 2px;
}

.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

.price-box {
  background: rgba(var(--gray-50), 1);
  border: solid 1px rgba(var(--gray-200), 1);
  border-radius: 6px;
  padding: 12px 14px;
}

.price-box-label {
  font-size: 12px;
  color: rgba(var(--gray-500), 1);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 4px;
}

.price-box-value {
  font-size: 1.1rem;
  font-weight: 800;
  color: rgba(var(--gray-900), 1);
}

.price-box-note {
  font-size: 12px;
  color: rgba(var(--gray-400), 1);
  margin-top: 2px;
}

/* ── Delivery fee table ──────────────────── */
.fee-table {
  width: 100%;
  margin: 0;
}

.fee-table td {
  padding: 6px 0;
  color: rgba(var(--gray-700), 1);
  border-bottom: solid 1px rgba(var(--gray-100), 1);
}

.fee-table tr:last-child td {
  border-bottom: none;
}

.fee-table td:last-child {
  text-align: right;
  font-weight: 700;
  color: rgba(var(--gray-900), 1);
}

/* ── Add-on card ──────────────────────────── */
.addon-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px;
  background: rgba(var(--gray-50), 1);
  border: solid 1px rgba(var(--gray-200), 1);
  border-radius: 8px;
  margin-bottom: 10px;
}

.addon-card:last-child {
  margin-bottom: 0;
}

.addon-icon {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  flex-shrink: 0;
}

.addon-icon.green {
  background: linear-gradient(135deg, #c8e6c9, #81c784);
  color: #fff;
}

.addon-icon.purple {
  background: linear-gradient(135deg, #ce93d8, #ab47bc);
  color: #fff;
}

.addon-body {
  flex: 1;
}

.addon-name {
  font-weight: 600;
  color: rgba(var(--gray-800), 1);
}

.addon-desc {
  color: rgba(var(--gray-500), 1);
  margin-top: 3px;
  line-height: 1.5;
}

.addon-price {
  font-weight: 700;
  color: rgba(var(--primary), 1);
  white-space: nowrap;
  align-self: center;
}

/* ── Bullet list ─────────────────────────── */
.bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bullet-list li {
  color: rgba(var(--gray-700), 1);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.bullet-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  min-width: 7px;
  border-radius: 50%;
  background: rgba(var(--primary), 1);
  margin-top: 5px;
}

.bullet-list .sub {
  color: rgba(var(--gray-500), 1);
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.bullet-list .sub i {
  color: rgba(var(--primary), 1);
}

/* ── Host card ───────────────────────────── */
.host-card {
  display: flex;
  align-items: center;
  gap: 14px;
}

.host-info .host-name {
  font-weight: 700;
  color: rgba(var(--gray-900), 1);
  display: flex;
  align-items: center;
  gap: 6px;
}

.host-verified {
  width: 16px;
  height: 16px;
  background: rgba(var(--primary), 1);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
}

.host-loc {
  color: rgba(var(--gray-500), 1);
  margin-top: 2px;
}

.host-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 5px;
}

.host-rating i {
  font-size: 1rem;
}

.host-rating-text {
  font-weight: 600;
  color: rgba(var(--gray-600), 1);
  margin-left: 3px;
}

.host-biz-logo {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2d2d2d, #1a1a1a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.6rem;
  flex-shrink: 0;
  border: solid 1px rgba(var(--gray-200), 1);
  margin-left: auto;
}

/* ── Status badge colours ────────────────── */
.badge.bg-success {
  color: #fff !important;
  border: none !important;
}

.badge.bg-danger {
  color: #fff !important;
  border: none !important;
}

.badge.bg-warning {
  border: none !important;
}

/* DataTables Customization */
div.dataTables_processing {
  background: white !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1) !important;
  color: rgb(var(--primary)) !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  padding: 1.5rem 0 !important;
  border: none !important;
  font-size: 11px !important;
  z-index: 10 !important;
}

div.dataTables_processing::after {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  border: 3px solid rgba(226, 30, 38, 0.1);
  border-top-color: #e21e26;
  border-radius: 50% !important;
  animation: spin 0.8s linear infinite;
  margin: 12px auto 0;
}

/* Pagination Styling */
.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
  background: rgb(var(--primary)) !important;
  color: white !important;
  border: none !important;
  border-radius: 0 !important;
}

/*** Action Buttons ***/
.btn-action {
  width: 32px;
  height: 32px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none !important;
  transition: all 0.2s ease;
}

.btn-action i {
  font-size: 14px;
}

.btn-action:hover {
  transform: translateY(-2px);
}

.btn-outline-dark.btn-action:hover {
  background-color: #f8f9fa !important;
  color: #000 !important;
  border: none !important;
}

.btn-outline-danger.btn-action:hover {
  background-color: #fff5f5 !important;
  color: #dc3545 !important;
  border: none !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background: #111 !important;
  color: white !important;
  border: none !important;
}

/* Common Components */
.btn-action {
  width: 32px;
  height: 32px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px !important;
  transition: all 0.2s;
}

.btn-action:hover {
  background: #111;
  color: #fff;
  transform: translateY(-2px);
}

.form-switch .form-check-input {
  width: 2.5em;
  cursor: pointer;
}

.form-switch .form-check-input:checked {
  background-color: rgb(var(--primary));
  border-color: rgb(var(--primary));
}

.table-hover tbody tr {
  transition: all 0.2s;
}

.table-hover tbody tr:hover {
  background-color: #f8f9fa;
}

.vehicle-photo {
  width: 80px;
  height: 50px;
  background: #f0f0f0;
  border-radius: 4px;
  overflow: hidden;
}

.vehicle-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* DataTables Responsiveness Fixes */
.table-responsive {
  border: none !important;
}

table.dataTable.dtr-inline.collapsed>tbody>tr>td.dtr-control,
table.dataTable.dtr-inline.collapsed>tbody>tr>th.dtr-control {
  padding-left: 30px !important;
}

@media (max-width: 767.98px) {
  .table.nowrap {
    white-space: normal !important;
  }

  .hello-admin {
    text-align: left !important;
    margin-bottom: 10px;
  }
}

.btn-action {
  width: 32px;
  height: 32px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.btn-action:hover {
  background-color: rgb(var(--primary));
  border-color: rgb(var(--primary));
  color: #fff;
}

/* Static Read-only Fields */
.form-control[readonly] {
  background-color: #fff !important;
  border: 1px solid #e9ecef !important;
  color: #6c757d !important;
  cursor: not-allowed;
  font-weight: 600;
}

/* Select2 Premium Theme Overrides */
.select2-container--default .select2-selection--multiple {
  background-color: #f8f9fa !important;
  border: none !important;
  min-height: 50px !important;
  padding: 4px 8px !important;
  border-radius: 4px !important;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
  border: none !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(var(--primary), 0.1) !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
  background-color: rgb(var(--primary)) !important;
  border: none !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 10px !important;
  text-transform: uppercase !important;
  padding: 5px 12px !important;
  margin-top: 6px !important;
  border-radius: 2px !important;
  letter-spacing: 0.5px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  color: #fff !important;
  margin-right: 8px !important;
  padding: 0px 8px !important;
  border: none !important;
  transition: all 0.2s;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
  background-color: rgba(0, 0, 0, 0.1) !important;
  color: #fff !important;
}

.select2-container--default .select2-search--inline .select2-search__field {
  margin-top: 8px !important;
  font-family: inherit !important;
  font-size: 13px !important;
}

.select2-dropdown {
  border: none !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
  border-radius: 4px !important;
}

.select2-results__option--highlighted[aria-selected] {
  background-color: rgb(var(--primary)) !important;
}

/* Select2 Single Selection Overrides */
.select2-container--default .select2-selection--single {
  background-color: #f8f9fa !important;
  border: none !important;
  height: 58px !important;
  display: flex !important;
  align-items: center !important;
  border-radius: 4px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #212529 !important;
  font-weight: 600 !important;
  padding-left: 20px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 58px !important;
  right: 15px !important;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: #adb5bd !important;
}

/* Pillbox Style for Select2 */
.select2-container--default .select2-selection--multiple .select2-selection__choice {
  border-radius: 50px !important;
  padding: 3px 15px 3px 20px !important;
  background-color: rgb(var(--primary)) !important;
  border: none !important;
  color: #fff !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  border: none !important;
  background: transparent !important;
  color: #fff !important;
  margin-right: 5px !important;
  font-size: 14px !important;
}

.flex-none {
  flex: none !important;
}

.modal-body .privacy-section .h2,
.modal-body .privacy-section h2 {
  font-size: 1.35rem;
}