.mdi {
  text-align: center;
  width: 1.25em;
  font-size: 16px;
}

.blur {
  backdrop-filter: blur(1px);
}

.breadcrumb-icon {
  width: 1em;
  height: 1em;
  font-size: 14px;
  margin-bottom: 0.2em;
}

.notification-body {
  max-height: 20rem;
}

.notification-group-top-vr {
  height: 1rem;
}

.notification-group-top-vr>.vr {
  min-height: 0.75rem;
  margin-bottom: 0.25rem;
}

.btn-group:has(> a.expand-multilevel-dropdown) {
  width: 100% !important;
}

.form-footer {
  -webkit-box-shadow: 0.2rem 0 0.15rem 0.2rem rgba(52, 58, 64, 0.06) !important;
  box-shadow: 0.2rem 0 0.15rem 0.2rem rgba(52, 58, 64, 0.06) !important;
  border-top: 1px solid #e9ebef;
}

.main-content-offset {
  left: 255px !important;
}

@media (max-width: 992px) {
  .main-content-offset {
    left: 0 !important;
  }
}

body[data-sidebar-size=sm] .main-content-offset {
  left: 70px !important;
}

body[data-layout=horizontal] .main-content-offset {
  left: 0 !important;
}

body[data-sidebar-size=md] .main-content-offset {
  left: 160px !important;
}

body[data-sidebar-size=md][data-sidebar-size=sm] .main-content-offset {
  left: 70px !important;
}


.main-content-width {
  width: calc(100% - 255px) !important;
}

@media (max-width: 992px) {
  .main-content-width {
    width: 100% !important;
  }
}

body[data-sidebar-size=sm] .main-content-width {
  width: calc(100% - 70px) !important;
}

body[data-layout=horizontal] .main-content-width {
  width: 100% !important;
}

body[data-sidebar-size=md] .main-content-width {
  width: calc(100% - 160px) !important;
}

body[data-sidebar-size=md][data-sidebar-size=sm] .main-content-width {
  width: calc(100% - 70px) !important;
}

.offcanvas-fullscreen {
  width: 100vw !important;
  max-width: 100vw !important;
  left: 0 !important;
  right: 0 !important;
}

.offcanvas-responsive {
  min-width: 300px !important;
  width: 33% !important;
}

@media(max-width: 1200px) {
  .offcanvas-responsive {
    width: 50% !important;
  }
}

@media(max-width: 768px) {
  .offcanvas-responsive {
    width: 100% !important;
  }
}

.dropdown:has(button.filter-chip) .dropdown-menu {
  min-width: 15rem !important;
}

.filter-chip-display:empty {
  display: none;
}

.filter-button-group-container .filter-button-group-slider {
  position: absolute;
  top: 0;
  left: 0;
  background-color: #fff;
  height: calc(100% - 0.5rem);
  width: calc((100% - 0.5rem - ((var(--filter-button-segments) - 1) * 0.5rem)) / var(--filter-button-segments));
  margin: 0.25rem;
  z-index: 0;
  transition: transform 0.3s ease;
}

.right-panel-toggle>.vr::before {
  display: none;
  position: absolute;
  content: "\f0794";
  font-family: "Material Design Icons";
  top: 0;
  right: 0;
  font-size: 1em;
  width: 1.5em;
  height: 1.5em;
  padding: 0.04em 0.26em;
  border-radius: var(--bs-border-radius) !important;
  color: var(--bs-light);
  background-color: var(--bs-dark);
  -webkit-box-shadow: 0 5px 6px rgba(52, 58, 64, 0.1) !important;
  box-shadow: 0 5px 6px rgba(52, 58, 64, 0.1) !important;
}

.right-panel-body:not(.show)~.right-panel-toggle>.vr::before {
  display: block;
  content: "\f0797";
}

.right-panel-toggle:hover {
  cursor: pointer;
}

.right-panel-toggle:hover>.vr {
  color: var(--bs-primary);
  width: 2px;
}

.right-panel-toggle:hover>.vr::before {
  display: block;
  background-color: var(--bs-primary);
}

.preview-container {
  max-height: 20rem;
}

.clip-start-50 {
  clip-path: inset(0 50% 0 0);
}

.clip-end-50 {
  clip-path: inset(0 0 0 50%);
}

.line-clamp-none,
.line-clamp-1,
.line-clamp-2,
.line-clamp-3,
.line-clamp-4,
.line-clamp-5 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.line-clamp-none {
  line-clamp: unset !important;
  -webkit-line-clamp: unset !important;
}

.line-clamp-1 {
  line-clamp: 1 !important;
  -webkit-line-clamp: 1 !important;
}

.line-clamp-2 {
  line-clamp: 2 !important;
  -webkit-line-clamp: 2 !important;
}

.line-clamp-3 {
  line-clamp: 3 !important;
  -webkit-line-clamp: 3 !important;
}

.line-clamp-4 {
  line-clamp: 4 !important;
  -webkit-line-clamp: 4 !important;
}

.line-clamp-5 {
  line-clamp: 5 !important;
  -webkit-line-clamp: 5 !important;
}

.border-dotted {
  border-style: dotted !important;
}

.border-dashed {
  border-style: dashed !important;
}

.card-radio-option {
  cursor: pointer;
}

.card-radio-option:hover {
  border-color: var(--bs-gray-400) !important;
}

.card-radio-option:has(input[type=radio]:checked) {
  background-color: var(--bs-primary-bg-subtle) !important;
  border-color: var(--bs-primary) !important;
}

.card-radio-option .form-check-input:disabled {
  opacity: 1;
}

.card-radio-option:has(input[type=radio]:disabled) {
  cursor: not-allowed;
}

.card-radio-option:has(input[type=radio]:disabled) {
  opacity: 0.5;
}

.card-hover:has(a:hover) {
  background-color: var(--bs-light);
  border-color: transparent;
}

.cursor-pointer {
  cursor: pointer !important;
}

.cursor-disabled {
  cursor: not-allowed !important;
}

.animated-arrow-container {
  --custom-animated-arrow-width: 4rem;
  --custom-animated-arrow-height: auto;
  --custom-animated-arrow-delay-rate: 1;
  --custom-animated-arrow-duration: 1.5s;
}

.animated-arrow-container-vertical {
  --custom-animated-arrow-width: auto;
  --custom-animated-arrow-height: 2rem;
  --custom-animated-arrow-delay-rate: 1.75;
  --custom-animated-arrow-duration: 1.5s;
}

.animated-arrow-container,
.animated-arrow-container-vertical {
  position: relative;
  inline-size: var(--custom-animated-arrow-width);
  block-size: var(--custom-animated-arrow-height);

  .animated-arrow,
  .animated-arrow-reverse {
    opacity: 0;
    position: absolute;
    animation: moveArrow var(--custom-animated-arrow-duration) linear infinite;
  }

  .animated-arrow-vertical,
  .animated-arrow-vertical-reverse {
    opacity: 0;
    position: absolute;
    animation: moveArrowVertical var(--custom-animated-arrow-duration) linear infinite;
  }

  .animated-arrow,
  .animated-arrow-vertical {
    --custom-animated-arrow-start: 0;
    --custom-animated-arrow-end: 100%;
  }

  .animated-arrow-reverse,
  .animated-arrow-vertical-reverse {
    --custom-animated-arrow-start: 100%;
    --custom-animated-arrow-end: 0;
  }

  .animated-arrow-delay-1 {
    animation-delay: calc(var(--custom-animated-arrow-delay-rate) * 0.125s);
  }

  .animated-arrow-delay-2 {
    animation-delay: calc(var(--custom-animated-arrow-delay-rate) * 0.25s);
  }
}


@keyframes moveArrow {

  0%,
  100% {
    opacity: 0;
    transform: translateX(-50%) scale(0.4);
  }

  15%,
  85% {
    opacity: 1;
    transform: translateX(-50%) scale(1.0);
  }

  0% {
    inset-inline-start: var(--custom-animated-arrow-start);
  }

  100% {
    inset-inline-start: var(--custom-animated-arrow-end);
  }
}

@keyframes moveArrowVertical {

  0%,
  100% {
    opacity: 0;
    transform: translateY(-50%) scale(0.4);
  }

  15%,
  85% {
    opacity: 1;
    transform: translateY(-50%) scale(1.0);
  }

  0% {
    inset-block-start: var(--custom-animated-arrow-start);
  }

  100% {
    inset-block-start: var(--custom-animated-arrow-end);
  }
}

/* ------------------ */
/* Dashonic overrides */
/* -----------------  */

.auth-img {
  background-image: url("/static/images/auth-image.png") !important;
}

.navbar-brand-box {
  padding: 0 1rem;
}

.notification-item .d-flex {
  padding: 0;
}

.timeline {
  --timeline-pending-color: var(--bs-gray-200);
  --timeline-active-color: var(--bs-primary);
  --timeline-done-color: var(--bs-primary);
  --timeline-warning-color: var(--bs-warning);
  --timeline-error-color: var(--bs-danger);
  position: relative;
}

.timeline .timeline-item::before {
  display: none;
}

.timeline .timeline-item>* {
  padding: 0.5rem !important;
}

.timeline .timeline-item {
  position: relative;
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
}

.timeline .timeline-dot {
  position: relative;
  color: var(--bs-gray-200);
  border-color: currentColor;
}

.timeline .timeline-dot::after,
.timeline .timeline-dot::before {
  content: '';
  position: absolute;
  border-color: inherit;
  border-width: 2px;
  border-style: solid;
  border-radius: 50%;
  width: 10px;
  height: 10px;
  top: 15px;
  left: 50%;
  transform: translateX(-50%)
}

.timeline .timeline-dot::after {
  width: 0;
  height: auto;
  top: 25px;
  bottom: -15px;
  border-right-width: 0;
  border-top-width: 0;
  border-bottom-width: 0;
  border-radius: 0
}

.timeline .timeline-item:last-child .timeline-dot::after {
  display: none;
}

/* Pulse animation */
.timeline .timeline-item.active:not(.error) .timeline-dot::before {
  color: var(--timeline-active-color);
  animation: 1s shadow-pulse-primary ease infinite;
}

.timeline .timeline-item.warning:not(.error) .timeline-dot::before {
  color: var(--timeline-warning-color);
  background-color: currentColor;
  animation: 1s shadow-pulse-warning ease infinite;
}

/* Dot color */
.timeline .timeline-item.done .timeline-dot::before {
  color: var(--timeline-done-color);
  background-color: currentColor;
}

.timeline .timeline-item.error .timeline-dot::before {
  color: var(--timeline-error-color);
  background-color: currentColor;
}

/* Line color */
.timeline .timeline-item.done .timeline-dot::after {
  color: var(--timeline-done-color);
}

.timeline .timeline-item.done.warning .timeline-dot::after {
  color: var(--timeline-warning-color);
}

.timeline .timeline-item.active .timeline-dot::after,
.timeline .timeline-item.error .timeline-dot::after {
  color: var(--timeline-pending-color);
}

.hori-timeline .stop-icon:has(~ .event-list.stop) {
  position: absolute;
  top: 0%;
  right: 50%;
  transform: translate(50%, -7px);
}

.hori-timeline .event-list.done::before {
  background-color: var(--bs-primary);
}

.hori-timeline .event-list.error::before {
  background-color: var(--bs-danger);
}

.hori-timeline .event-list.stop::before {
  width: calc(50% - 10px);
  background-color: var(--bs-danger);
}

.hori-timeline .event-list.done::after {
  background-color: var(--bs-primary);
  border: 5px solid var(--bs-primary);
}

.hori-timeline .event-list.done.blinking::after {
  animation: 1s blink ease infinite;
}

.hori-timeline .event-list.error::after {
  background-color: var(--bs-danger);
  border: 5px solid var(--bs-danger);
}

.hori-timeline .event-list.error.blinking::after {
  animation: 1s blink ease infinite;
}

.hori-timeline .event-list.stop::after {
  display: none;
}

.hori-timeline .event-list.stop.blinking::after {
  animation: 1s blink ease infinite;
}

.chat-conversation {
  height: calc(100vh - 250px);
}

@media (min-width: 992px) {
  .chat-conversation {
    height: calc(100vh - 250px);
  }
}

.chat-conversation .chat-avatar div {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.info-widget {
  min-height: 48px;
}

@keyframes shadow-pulse-primary {

  0%,
  100% {
    box-shadow: 0 0 2px 2px rgba(var(--bs-primary-rgb), 0);
  }

  50% {
    box-shadow: 0 0 2px 5px rgba(var(--bs-primary-rgb), 0.2);
  }
}

@keyframes shadow-pulse-warning {

  0%,
  100% {
    box-shadow: 0 0 2px 2px rgba(var(--bs-warning-rgb), 0);
  }

  50% {
    box-shadow: 0 0 2px 5px rgba(var(--bs-warning-rgb), 0.2);
  }
}




/* ------------------------------------- */
/* Bootstrap overrides (custom Dashonic) */
/* ------------------------------------- */

.inset-shadow {
  -webkit-box-shadow: var(--bs-box-shadow-inset) !important;
  box-shadow: var(--bs-box-shadow-inset) !important;
}

.breadcrumb-item>a:hover {
  color: var(--bs-primary);
}

.animated-progress {
  position: relative;
}

.animated-progress .progress-bar {
  position: relative;
  border-radius: 30px;
  -webkit-animation: animate-positive 2s;
  animation: animate-positive 2s;
}

.progress-overlap-wrapper {
  position: relative;
}

.progress-overlap {
  width: 100%;
  background: transparent;
  position: absolute;
  top: 0;
  left: 0;
}

.offcanvas-body {
  background-color: var(--bs-body-bg);
}

.btn-filter {
  --bs-btn-color: rgba(73, 80, 87, 0.75);
  --bs-btn-bg: transparent;
  --bs-btn-border-color: transparent;
  --bs-btn-hover-color: #000;
  --bs-btn-hover-bg: rgb(208.25, 209.1, 210.8);
  --bs-btn-hover-border-color: rgb(196, 196.8, 198.4);
  --bs-btn-focus-shadow-rgb: 208, 209, 211;
  --bs-btn-active-color: #000;
  --bs-btn-active-border-color: transparent;
  --bs-btn-active-bg: transparent;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #000;
  --bs-btn-disabled-bg: #f5f6f8;
  --bs-btn-disabled-border-color: #f5f6f8;
}

.btn-filter {
  z-index: 1;
}

.btn-filter:hover,
.btn-filter:focus,
.btn-filter:active {
  color: var(--bs-btn-hover-color) !important;
}

.btn-filter:focus {
  -webkit-box-shadow: 0 0 0 0.15rem rgba(245, 246, 248, 0.5);
  box-shadow: 0 0 0 0.15rem rgba(245, 246, 248, 0.5);
}

.btn-purple-grad {
  background-image: linear-gradient(to right, #C33764 0%, #8E2EB0 15%, #5B2CA5 30%, #1D2671 51%, #5B2CA5 70%, #8E2EB0 85%, #C2298A 100%);
}

.btn-purple-grad {
  transition: 0.5s;
  background-size: 275% auto;
  --bs-btn-color: #fff;
  --bs-btn-hover-color: #fff;
}

.btn-purple-grad:hover {
  background-position: right center;
  color: var(--bs-btn-hover-color) !important;
  text-decoration: none;
}


.accordion-title {
  padding: 0.5rem 0 !important;
}

.accordion-button.accordion-title:not(.collapsed) {
  --bs-accordion-active-bg: var(--bs-white);
  -webkit-box-shadow: none;
  box-shadow: none;
}

.accordion-header:has(.accordion-edit-button:not(.collapsed)) .accordion-button.accordion-button-start::before,
.accordion-button.accordion-button-start:not(.collapsed)::before {
  background-image: var(--bs-accordion-btn-active-icon);
  -webkit-transform: var(--bs-accordion-btn-icon-transform);
  transform: var(--bs-accordion-btn-icon-transform);
}

.accordion-header:has(.accordion-edit-button.collapsed) .accordion-button.accordion-button-start::before,
.accordion-button.accordion-button-start::before {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  width: var(--bs-accordion-btn-icon-width);
  height: var(--bs-accordion-btn-icon-width);
  margin-left: auto;
  margin-right: 0;
  content: "";
  background-image: var(--bs-accordion-btn-icon);
  background-repeat: no-repeat;
  background-size: var(--bs-accordion-btn-icon-width);
  -webkit-transition: var(--bs-accordion-btn-icon-transition);
  transition: var(--bs-accordion-btn-icon-transition);
}

@media (prefers-reduced-motion: reduce) {
  .accordion-button.accordion-button-start::before {
    -webkit-transition: none;
    transition: none;
  }
}

.accordion-button.accordion-button-start::after {
  display: none;
}

.table-hover>tbody>tr:hover>* {
  cursor: pointer;
}

/* ---------------------------- */
/* DataTables (custom Dashonic) */
/* ---------------------------- */

.table.dataTable {
  --bs-table-color: var(--bs-body-color);
}

.dt-thead th:not([class*="bg-"]) {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-light-rgb), var(--bs-bg-opacity)) !important;
}

.dt-thead th:first-child {
  border-top-left-radius: var(--bs-border-radius) !important;
}

.dt-thead th:last-child {
  border-top-right-radius: var(--bs-border-radius) !important;
}

.dt-tbody>tr:not(.child) {
  >td:first-child {
    border-left: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
  }

  >td:last-child {
    border-right: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
  }
}

.dt-tbody>tr:not(.child):last-child {
  >td:first-child {
    border-bottom-left-radius: var(--bs-border-radius) !important;
  }

  >td:last-child {
    border-bottom-right-radius: var(--bs-border-radius) !important;
  }
}

.dt-scroll-body::-webkit-scrollbar {
  -webkit-appearance: none;
}

.dt-scroll-body::-webkit-scrollbar:vertical {
  width: 12px;
}

.dt-scroll-body::-webkit-scrollbar:horizontal {
  height: 12px;
}

.dt-scroll-body::-webkit-scrollbar-thumb {
  background-color: rgba(52, 58, 64, 0.075);
  border-radius: 10px;
  border: 2px solid var(--bs-white);
}

.dt-scroll-body::-webkit-scrollbar-track {
  border-radius: 10px;
  background-color: var(--bs-white);
}

.dt-buttons {
  margin-bottom: 0 !important;
}

.dt-buttons:empty {
  display: none;
}

.dt-paging-button {
  user-select: none;
  margin-top: 1px;
  margin-bottom: 1px;
  margin-left: 2px;
  margin-right: 2px;
}

.dt-paging-button.disabled {
  cursor: not-allowed;
}

.dt-paging-button button.page-link {
  border: none !important;
  border-radius: 30px !important;
  min-width: 32px;
  height: 32px;
  padding: 0;
  text-align: center;
  line-height: 32px;
  background-color: transparent;
  color: var(--bs-pagination-color);
}

.dt-paging-button button.page-link:hover {
  background-color: var(--bs-pagination-hover-bg);
  color: var(--bs-pagination-hover-color);
}

.dt-paging-button button.page-link:focus {
  -webkit-box-shadow: none;
  box-shadow: none;
}

.dt-paging-button:first-child button.page-link,
.dt-paging-button:last-child button.page-link {
  margin-left: 10px;
  margin-right: 10px;
}

.dt-paging-button:first-child:hover button.page-link,
.dt-paging-button:first-child:focus button.page-link,
.dt-paging-button:last-child:hover button.page-link,
.dt-paging-button:last-child:focus button.page-link {
  background-color: transparent;
}

.dt-paging-button.disabled button.page-link {
  color: var(--bs-pagination-disabled-color);
  background-color: transparent;
}

.dt-paging-button.active button.page-link,
.dt-paging-button.active button.page-link:hover,
.dt-paging-button.active button.page-link:focus {
  background-color: var(--bs-pagination-active-bg);
  color: var(--bs-pagination-active-color);
  border-color: var(--bs-pagination-active-bg);
}

.table-hover>tbody>tr:has(.dt-responsive-card):hover>* {
  box-shadow: none !important;
}

.table-hover>tbody>tr:has(.dt-responsive-card):hover .dt-responsive-card {
  border-color: var(--bs-secondary-color);
}

/* --------------------------------- */
/* Icons overrides (custom Dashonic) */
/* --------------------------------- */

.custom-icon-autocount {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20width=%2216%22%20height=%2216%22%20viewBox=%220%200%20512%20512%22%3E%0A%20%20%20%20%3Cg%3E%0A%20%20%20%20%3Cpath%20d=%22M%20126.00%20390.01%20C79.82,383.80%2039.56,350.90%2022.41,305.34%20C15.22,286.27%2012.22,259.78%2015.08,240.69%20C19.97,207.95%2032.08,183.59%2054.42,161.50%20C79.31,136.90%20108.24,125.00%20143.14,125.00%20C162.05,125.00%20175.19,127.60%20191.50,134.56%20C206.94,141.15%20224.43,153.17%20234.50,164.12%20L%20238.50%20168.46%20L%20239.00%20154.48%20L%20239.50%20140.50%20L%20255.25%20140.22%20L%20271.00%20139.95%20L%20271.00%20153.42%20C271.00,160.82%20271.36,167.11%20271.81,167.38%20C272.25,167.65%20275.72,164.92%20279.52,161.30%20C296.43,145.21%20317.92,132.94%20336.58,128.74%20C351.58,125.36%20354.63,125.00%20367.83,125.00%20C389.15,125.00%20404.80,128.54%20423.53,137.60%20C445.10,148.03%20465.22,166.71%20478.43,188.58%20C483.10,196.30%20490.72,214.38%20491.58,219.77%20L%20492.26%20224.00%20L%20475.76%20224.00%20L%20459.27%20224.00%20L%20455.93%20216.33%20C444.65,190.47%20424.01,171.72%20396.50,162.34%20C385.56,158.61%20385.41,158.59%20369.00,158.56%20C351.58,158.53%20348.79,159.00%20333.98,164.56%20C313.19,172.35%20293.01,191.07%20282.17,212.64%20C277.72,221.49%20273.43,236.89%20272.03,249.00%20C268.95,275.82%20279.62,306.52%20299.45,327.85%20C316.33,346.01%20343.80,357.98%20368.62,358.00%20C393.42,358.01%20420.29,345.90%20438.29,326.57%20C443.93,320.51%20452.55,307.27%20456.14,299.16%20L%20459.30%20292.00%20L%20475.65%20292.00%20C494.25,292.00%20493.47,291.54%20490.40,300.72%20C475.38,345.64%20439.52,378.19%20393.50,388.67%20C381.57,391.39%20353.93,391.14%20341.20,388.21%20C317.77,382.81%20296.03,370.77%20279.55,354.08%20C274.74,349.22%20272.35,347.42%20271.81,348.27%20C271.38,348.95%20271.02,355.47%20271.02,362.78%20L%20271.00%20376.05%20L%20255.25%20375.78%20L%20239.50%20375.50%20L%20239.00%20361.50%20L%20238.50%20347.50%20L%20232.00%20353.90%20C214.60,371.01%20193.10,382.90%20170.08,388.10%20C160.21,390.34%20136.17,391.37%20126.00,390.01%20ZM%20158.12%20356.52%20C177.85,353.02%20194.05,344.66%20208.51,330.50%20C222.34,316.96%20229.09,305.94%20235.15,286.97%20C238.46,276.63%20238.50,276.27%20238.47,258.00%20C238.45,243.67%20238.07,238.26%20236.77,234.00%20C235.86,230.98%20234.58,226.70%20233.94,224.50%20C232.20,218.55%20225.33,205.34%20220.34,198.33%20C214.10,189.58%20200.11,176.70%20191.16,171.46%20C172.08,160.29%20150.15,155.85%20129.20,158.91%20C109.02,161.86%2089.51,172.03%2074.75,187.29%20C53.30,209.47%2043.22,240.22%2047.31,271.04%20C50.34,293.92%2058.71,311.34%2074.70,328.08%20C96.65,351.05%20128.22,361.81%20158.12,356.52%20Z%22%20fill=%22rgba(120,%20124,%20129,%201.0)%22%20/%3E%0A%20%20%20%20%3C/g%3E%0A%20%20%3C/svg%3E");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  background-color: rgba(120, 124, 129, 1);
}

/* -------------------- */
/* DataTables overrides */
/* -------------------- */

table.dataTable>tbody>tr.child,
table.dataTable>tbody>tr.child>td.child {
  padding: 1em 0;
}

table.dataTable>tbody>tr.child[data-dt-row="0"]>td.child {
  padding-top: 0 !important;
}

/* ------------------------ */
/* Material Toast overrides */
/* ------------------------ */

.mdtoast {
  background-color: var(--bs-primary-bg-subtle);
  color: var(--bs-primary-text-emphasis);
}

.mdtoast.mdt--success {
  background-color: var(--bs-success-bg-subtle);
  color: var(--bs-success-text-emphasis);
}

.mdtoast.mdt--danger,
.mdtoast.mdt--error {
  background-color: var(--bs-danger-bg-subtle);
  color: var(--bs-danger-text-emphasis);
}

.mdtoast.mdt--warning {
  background-color: var(--bs-warning-bg-subtle);
  color: var(--bs-warning-text-emphasis);
}

.mdtoast.mdt--info {
  background-color: var(--bs-info-bg-subtle);
  color: var(--bs-info-text-emphasis);
}

.mdtoast .mdt-action {
  color: var(--bs-dark);
}

/* -------------------- */
/* Tom Select overrides */
/* -------------------- */

.ts-wrapper.form-select.form-select-3 {
  min-height: calc((1.5em * 3) + (0.47rem * 2) + (3px * 3)) !important;

  .ts-control {
    -ms-flex-line-pack: start !important;
    align-content: flex-start !important;
  }
}

/* Floating select https://github.com/orchidjs/tom-select/issues/579 */
.form-floating {

  .ts-wrapper.form-control,
  .ts-wrapper.form-select {
    height: 0 !important;
  }

  .ts-wrapper.form-control .ts-control,
  .ts-wrapper.form-select .ts-control {
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
  }

  .ts-wrapper.form-control~label,
  .ts-wrapper.form-select~label {
    transform: scale(1) translateY(0) translateX(0);
    color: rgba(var(--bs-body-color-rgb), 1);
  }

  .ts-wrapper.form-control.focus~label,
  .ts-wrapper.form-control.full~label,
  .ts-wrapper.form-select.focus~label,
  .ts-wrapper.form-select.full~label,
  .ts-wrapper.form-select.has-items~label {
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
    color: rgba(var(--bs-body-color-rgb), 0.65);
  }

  .ts-wrapper.form-select:not(.focus) .ts-control ::placeholder {
    opacity: 0;
  }
}

/* FIXME: Removed temporarily, there's a lot of inconsistent behaviour with the overrides below,
mainly causing dropdown inner selection to be scrollable when they shouldn't be. */

/* Tom Select dropdown z-index and positioning fixes */
/* .ts-wrapper {
  position: relative;
  z-index: 1000;
}

.ts-wrapper .ts-dropdown {
  z-index: 9999 !important;
  position: absolute !important;
}

.ts-wrapper.dropdown-active {
  z-index: 2000 !important;
}

.ts-wrapper.dropdown-active .ts-dropdown {
  z-index: 10000 !important;
}

.ts-dropdown {
  z-index: 9999 !important;
} */

/* Force dropdown to appear above all Bootstrap components */
/* .ts-wrapper .ts-dropdown-content {
  z-index: 10001 !important;
} */

/* Remove any potential overflow clipping from all parent elements */
/* .ts-wrapper,
.ts-wrapper *,
.ts-wrapper .ts-dropdown {
  overflow: visible !important;
} */

/* Ensure form containers don't clip dropdowns */
/* .h-100:has(.ts-wrapper) {
  overflow: visible !important;
}

.d-flex:has(.ts-wrapper) {
  overflow: visible !important;
} */

/* Additional fix for containers that might clip the dropdown */
/* .ts-wrapper .ts-dropdown {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  right: auto !important;
  max-height: 200px !important;
  overflow-y: auto !important;
} */

/* Ensure active dropdown appears above inactive ones */
/* .ts-wrapper.dropdown-active .ts-dropdown {
  z-index: 11000 !important;
} */

/* ------------------- */
/* Wizard-JS overrides */
/* ------------------- */

.wizard .wizard-nav.dots .wizard-step:before,
.wizard .wizard-nav.dots .wizard-step .dot,
.wizard .wizard-nav.dots .wizard-step.active .dot {
  background-color: var(--bs-primary);
}

@keyframes blink {

  0%,
  100% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }
}

/* ------------------- */
/* FilePond overrides */
/* ------------------- */

.filepond--root {
  margin-bottom: 0;
}

/* ----------------------- */
/* Drag and Drop (Sortable) */
/* ----------------------- */

.drag-handle {
  cursor: grab;
  user-select: none;
}

.drag-handle:active {
  cursor: grabbing;
}

.sortable-ghost {
  opacity: 0.4;
  background-color: #f8f9fa;
}
