:root {
  --bs-breadcrumb-divider: url('data:image/svg+xml,<svg xmlns=\'http://www.w3.org/2000/svg\' width=\'8\' height=\'8\'><path d=\'M2.5 0L1 1.5 3.5 4 1 6.5 2.5 8l4-4-4-4z\' fill=\'%236c757d\'/></svg>');
  --inner-sidebar-width: 13.7%;
}
.static-primary {
  color: #452B90 !important;
}

.static-secondary {
  color: #F8B940 !important;
}
.w-60 {
  width: 60% !important;  
}
.w-65 {
  width: 65% !important;  
}
.w-70 {
  width: 70% !important;  
}
.w-80 {
  width: 80% !important;  
}
.w-85 {
  width: 85% !important;  
}
.w-90 {
  width: 90% !important;  
}
.w-95 {
  width: 95% !important;  
}
.max-w-40 {
  max-width: 40px;
}
.max-w-50 {
  max-width: 50px;
}
.max-w-70 {
  max-width: 70px;
}
.max-w-80 {
  max-width: 80px;
}
.max-w-100 {
  max-width: 100px;
}
.max-w-150 {
  max-width: 150px;
}
.max-w-200 {
  max-width: 200px;
}
.max-w-250 {
  max-width: 250px;
}
.max-w-300 {
  max-width: 300px;
}
.max-w-350 {
  max-width: 350px;
}
.max-w-400 {
  max-width: 400px;
}
.max-w-450 {
  max-width: 450px;
}
.max-w-850 {
  max-width: 850px;
}
.min-w-150 {
  min-width: 150px;
}
.min-w-50 {
  min-width: 50px;
}
.min-w-100 {
  min-width: 100px;
}
.min-w-150 {
  min-width: 150px;
}
.min-w-200 {
  min-width: 200px;
}
.min-w-250 {
  min-width: 250px;
}
.min-w-300 {
  min-width: 300px;
}
.min-w-350 {
  min-width: 350px;
}
.min-w-400 {
  min-width: 400px;
}
.min-w-450 {
  min-width: 450px;
}
.min-h-80{
min-height: 80px;
}
.avatar-80{
  height: 80px;
  width: 80px;
  aspect-ratio: 1 / 1;
}
/* Heights in % */
.h-60 {
  height: 60% !important;  
}
.h-65 {
  height: 65% !important;  
}
.h-70 {
  height: 70% !important;  
}
.h-80 {
  height: 80% !important;  
}
.h-85 {
  height: 85% !important;  
}
.h-90 {
  height: 90% !important;  
}
.h-95 {
  height: 95% !important;  
}

/* Max Heights in px */
.max-h-40 {
  max-height: 40px;
}
.max-h-50 {
  max-height: 50px;
}
.max-h-70 {
  max-height: 70px;
}
.max-h-80 {
  max-height: 80px;
}
.max-h-100 {
  max-height: 100px;
}
.max-h-150 {
  max-height: 150px;
}
.max-h-200 {
  max-height: 200px;
}
.max-h-250 {
  max-height: 250px;
}
.max-h-300 {
  max-height: 300px;
}
.max-h-350 {
  max-height: 350px;
}
.max-h-400 {
  max-height: 400px;
}
.max-h-450 {
  max-height: 450px;
}

/* Min Heights in px */
.min-h-auto {
  min-height: auto !important;
}
.min-h-50 {
  min-height: 50px;
}
.min-h-100 {
  min-height: 100px;
}
.min-h-150 {
  min-height: 150px;
}
.min-h-200 {
  min-height: 200px;
}
.min-h-250 {
  min-height: 250px;
}
.min-h-300 {
  min-height: 300px;
}
.min-h-350 {
  min-height: 350px;
}
.min-h-400 {
  min-height: 400px;
}
.min-h-450 {
  min-height: 450px;
}
.min-h-475 {
  min-height: 475px;
}

.asp-ratio-1 {
  aspect-ratio: 1;
}
.fw-500 {
  font-weight: 500;
}

.fs-8 {
  font-size: 8px;
}

.fs-11 {
  font-size: 11px;
}

.fs-10 {
  font-size: 10px;
}

.cfs-12 {
  font-size: 12px;
}

.cfs-13 {
  font-size: 13px;
}

.cfs-14 {
  font-size: 14px;
}

.fs-12 {
  font-size: 12px !important;
}

.fs-18 {
  font-size: 18px;
}

.fs-20 {
  font-size: 20px;
}

.mxr-1 {
  margin-left: -0.25rem;
  margin-right: -0.25rem;
}
.mxr-2 {
  margin-left: -0.5rem;
  margin-right: -0.5rem;
}
.mxr-3 {
  margin-left: -1rem;
  margin-right: -1rem;
}
.mxr-4 {
  margin-left: -1.5rem;
  margin-right: -1.5rem;
}
.mxr-5 {
  margin-left: -3rem;
  margin-right: -3rem;
}
.btn, .cstm-btn {
  cursor: pointer;
  transition: all .2s ease;
}
.default-height, .content-body{
  min-height: 950px !important;
  padding-bottom: 80px;
}
.cstm-btn:hover, .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.popover-body {
  border-radius: 10px;
}
.text-gray {
  color: var(--text-gray) !important;
}
.list-style-unset li{
  list-style: unset;
  color: var(--primary);
}
[data-theme-version="dark"] .text-gray.light {
  color: #fff !important;
}
.text-truncate-2 {
  display: -webkit-box;
  max-width: 100%;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.common-card {
    border-radius: 0.5rem;
}

.card-inner-heading {
    color: var(--bs-primary-text-emphasis);
    display: inline-block;
    min-width: 200px;;
    background-color: var(--bs-primary-bg-subtle);
}
.card-min-height-cstm {
  min-height: calc(60vh - var(--dz-header-height) + 40px );
  width: 70%;
  margin-inline: auto;
}

[data-theme-version="dark"] .card-inner-heading {
    color: var(--bs-primary-text-emphasis) !important;
    /*background-color: var(--bs-primary-bg-subtle) !important;*/
}

.common-card .card-header .title {
  cursor: pointer;
}
.common-card .card-header .title{
  position: relative;
}
.common-card .card-header .title.active::after {
  content: "";
  height: 3px;
  width: 100%;
  position: absolute;
  bottom: -31px;
  left: 0;
  background-color: var(--primary);
}
.common-wrapper .title {
  font-size: 11px;
  font-weight: 600;
}
.common-wrapper .title-row {
  font-size: 12px;
  font-weight: 500;
  line-height: 4;
}
.common-wrapper .sm-btn {
  font-size: 12px;
  font-weight: 500;
}

.common-wrapper .main-content {
  font-size: 22px;
  font-weight: bold;
}

.common-wrapper .main-content-sm {
  font-size: 14px;
  font-weight: bold;
}
.common-wrapper .foot {
  font-size: 11px;
}

.common-wrapper .card-img {
  max-width: 40px;
}

.container-summary {
  padding: var(--bs-card-spacer-y) var(--bs-card-spacer-x);
  height: 100%;
}
.custom-tab-1 .nav-link {
  white-space: nowrap;
}

/* Dashboard Styles Start */
.counter-summary {
  background-color: var(--card);
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 20px;
}
.counter-summary span {
  font-size: 14px;
  color: var(--text-dark);
  font-weight: 500;
}
.counter-summary p {
  margin-bottom: 12px;
  font-size: 13px;
}
.counter-summary h2, .counter-summary .h2 {
  font-size: 28px;
  margin-bottom: 0;
  font-weight: 600;
  margin-right: 9px;
}
/* Dashboard Styles End */

/* For any class starting with 'table-gap' — general td/th styles */
[class^="table-gap"] tr {
  vertical-align: top;
}
[class^="table-gap"] tr td,
[class^="table-gap"] tr th {
  padding-inline: 5px;
}

/* Specific to table-gap-1 */
.table-gap-1 tr td,
.table-gap-1 tr th {
  line-height: 1;
}

.table-gap-1 tr th {
  padding-left: 0px;
}

/* Specific to table-gap-2 */
.table-gap-2 tr td,
.table-gap-2 tr th {
  line-height: 2;
}

.table-gap-2 tr th {
  padding-left: 0px;
}


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


/* Data table Responsive arrow Styles Start */
table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control::before, table.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control::before {
  content: "▶";
}
[data-theme-version="dark"] table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control::before, table.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control::before {
  color: rgba(255, 255, 255, 0.5);
}
/* Data table Responsive arrow Styles End */

/* Base style: inner borders */
.main-container-bordered .container-summary {
  border: 1px solid var(--border);
  box-sizing: border-box;
}

.link-content {
  position: relative;
}

.link-content::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 10px;
  background-image: url('../images/arrow-left-right.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transform: translate(-50%, -50%);
}

/* Menu Custom Styles */
.menu-items-wrapper .menu-item {
  flex: 0 0 calc(66.666% - 0.5rem);
  margin: auto;
}

.notify-dot {
  position: relative;
}

/* New: Notification count badge */
.menu-item.notify-dot[data-count]::after {
  position: absolute;
  content: attr(data-count);
  width: 30px;
  height: 20px;
  background-color: rgba(255, 197, 86, 0.52);
  top: -10px;
  right: -5px;
  border-radius: 10px;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
}
/* Company Details Side Bar Styles Start */
.company-side-bar {
  position: relative;
  height: 100%;
}
.my-company-side-bar {
  /* top: calc(var(--dz-header-height) + 1.875rem); */
  padding-bottom: 0;
  max-height: calc(90% - var(--dz-header-height));
  position: fixed;
  padding-top: 0;
  z-index: 5;
  background-color: var(--card);
  border: 1px solid var(--border);
  transition: all .2s ease;
  box-shadow: 0rem 0.9375rem 1.875rem 0rem rgba(0, 0, 0, 0.02);
  overflow-y: auto;
  scrollbar-width: none;
  /*max-width: 200px;
  width: 100%;*/
}

.offcanvas-company-btn {
  display: none;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number]{
    -moz-appearance: textfield;
}

/* bootstraps select styles start */
.status-select [title="Opened"] {
  background-color: rgba(255, 94, 94, 0.2) !important;
  color: #FF5E5E !important;
}
.status-select [title="Under Process"] {
  background-color: rgba(255, 159, 0, 0.2) !important;
  color: #FF9F00 !important;
}
.status-select [title="Closed"] {
  background-color: rgba(58, 155, 148, 0.2) !important;
  color: #3A9B94 !important;
}
/* Priority Select Styles Start */
.priority-select [title="High"] {
  background-color: rgba(255, 94, 94, 0.2) !important;
  color: #FF5E5E !important;
}
.priority-select [title="Medium"] {
  background-color: rgba(255, 197, 86, 0.52) !important;
  color: rgba(var(--bs-warning-rgb)) !important;
}
.priority-select [title="Low"] {
  background-color: rgba(58, 155, 148, 0.2) !important;
  color: #3A9B94 !important;
}
/* Priority Select Styles End */
/* bootstraps select styles end */

/* Select 2 Custom Style Start */

.modal-open .select2-container {
  z-index: 1055 !important;
}

/* Select 2 Custom Style End */


@media (min-width: 1200px) {
  .my-company-side-bar {
    flex: 0 0 auto;
    width: var(--inner-sidebar-width);
  }
}

@media screen and (max-width: 1199px) {
  .my-company-side-bar {
    display: none;
    transition: .2s all ease-out;
  }
  .my-company-side-bar.active {
    display: block;
  }
  .offcanvas-company-btn {
    display: block;
  }
}

.company-sidebar-label {
  position: sticky;
  top: 0;
  background: var(--card);
}

.company-side-bar-list-group {
  padding: 0;
}
.company-side-bar-list-group li {
  border-bottom: 1px solid var(--border);
  padding: 10px;
}
.company-side-bar-list-group li:last-child {
  border-bottom: none;
}
.company-side-bar-list-group a {
  display: block;
}
.company-side-bar li.active {
  border-left: 4px solid var(--primary);
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  background: var(--bs-focus-ring-color);
}
.offcanvas-body .company-side-bar-list-group li.active {
  border-left: 4px solid var(--primary);
}
.company-side-bar-list-group li.active a {
  color: var(--primary);
}

/* Step Form Styles Start */
/*.step-form-main-wrapper .step-form, 
.step-form-btn-wrapper .step-form-btn {
  display: none;
}
.step-form-main-wrapper .step-form:first-child, 
.step-form-btn-wrapper .step-form-btn:first-child {
  display: block;
}*/
/* Step Form Styles */
.step-form {
    display: none;
}
.step-form.active {
    display: block;
}
.step-form-btn {
    display: none;
}
.step-form-btn.active {
    display: inline-block;
}

/* Error Styles */
.form-error {
    border-color: #dc3545 !important;
}
.error-message {
    color: #dc3545;
    font-size: 0.875em;
    margin-top: 0.25rem;
    display: block;
}

.form-error + .select2-container--default .select2-selection--single {
  border: 1px solid #dc3545 !important;
}
/* Step Form Styles End */





/* Company Details Side Bar Styles Start */

/* Expanded menu — display items in a row (3 per row) */
#main-wrapper.menu-toggle .menu-items-wrapper .menu-item {
    flex: 0 0 100%;
    transition: all .5s ease;
}

/* Tabs Styles Custom Start */
.tab-custom-sec {
  display: none;
  transition: opacity 0.15s linear;
}

.tab-custom-sec.show {
  display: flex;
}
/* Tabs Styles Custom End */


@media (min-width: 766px) and (max-width: 1023px){
  /* Expanded menu — display items in a row (3 per row) */
  #main-wrapper .menu-items-wrapper .menu-item {
    flex: 0 0 100%;
    transition: all .5s ease;
  } 
}


@media screen and (max-width: 992px){ 
  .card-min-height-cstm {
    width: 100%;
  }
}

@media screen and (max-width: 767px){
  /* Expanded menu — display items in a row (3 per row) */
  #main-wrapper.menu-toggle .menu-items-wrapper .menu-item {
    flex: 0 0 calc(33.333% - 0.5rem); /* Adjust for spacing if needed */
  } 
}


/* ------- LARGE SCREENS (2x2 grid) ------- */
@media (min-width: 768px) {
  /* Remove top border from first row */
  .main-container-bordered .col-md-6:nth-child(-n+2) .container-summary {
    border-top: none;
    border-bottom: none;
  }

  /* Remove bottom border from second row */
  .main-container-bordered .col-md-6:nth-child(n+3) .container-summary {
    border-bottom: none;
  }

  /* Remove left border for left column */
  .main-container-bordered .col-md-6:nth-child(odd) .container-summary {
    border-left: none;
    border-right: none;
  }

  /* Remove right border for right column */
  .main-container-bordered .col-md-6:nth-child(even) .container-summary {
    border-right: none;
  }
}

/* Multi-Select Tree Styles Start */

.dropdown-tree {
    position: relative;
    width: 100%;
    font-size: 14px;
}

.dropdown-input {
    border: 1px solid;
    border-color: var(--border);
    padding: 6px;
    background: var(--card);
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
    line-height: 1.7;
    font-size: 0.9rem;
    min-height: 46px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
}

.tree-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--text);
    display: none;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    padding: 5px;
}

.tree-panel ul {
    list-style: none;
    margin: 0;
    padding-left: 20px;
  }

.tree-panel li {
    margin: 2px 0;
  }

.tree-panel label {
    cursor: pointer;
  }

/* collapse/expand arrows */
.has-children > span.toggle {
    cursor: pointer;
    margin-right: 4px;
    display: inline-block;
    width: 10px;
}
.collapsed > ul {
    display: none;
}
/* Multi-Select Tree Styles End */

.region-badge {
    position: relative;
    display: inline-block;
    margin-left: 10px !important;
}

.region-badge:first-child {
    margin-left: unset !important;
}
.region-badge + .region-badge::before {
    position: absolute;
    left: -10px;
    padding-right: var(--bs-breadcrumb-item-padding-x);
    color: var(--bs-breadcrumb-divider-color);
    content: var(--bs-breadcrumb-divider, "/");
}

/* ------- SMALL SCREENS (stacked layout) ------- */
@media (max-width: 767.98px) {
  .main-container-bordered .container-summary {
    border: none;
    border-bottom: 1px solid var(--border);
  }

  /* Remove border from last item */
  .main-container-bordered .col-sm-12:last-child .container-summary {
    border-bottom: none;
  }
}


/* Pre Loader Style Animation */
.pre-loader .main-logo {
  display: inline-block;
  animation: revealText 1s ease-in-out forwards;
  will-change: clip-path;
  margin-left: 40px;
}

@keyframes revealText {
  0% {
    transform: translate(20px, 0);
    clip-path: inset(0 100% 0 0); /* hidden from right */
  }
  100% {
    transform: translate(-20px, 0);
    clip-path: inset(0 0% 0 0); /* fully shown */
  }
  /*100% {
    clip-path: inset(0 0 0 100%); /* hidden from left
  }*/
}

/* Section Loader */
.section-loader-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: 200px;
}
.section-loader-wrapper .sec-loader-text {
  color: var(--primary);
  font-size: 12px;  
}
.sec-loader {
  width: 50px;
  aspect-ratio: 1;
  display: grid;
  border: 4px solid #0000;
  border-radius: 50%;
  border-color: var(--rgba-primary-1) #0000;
  animation: l16 1s infinite linear;
}
.sec-loader::before,
.sec-loader::after {    
  content: "";
  grid-area: 1/1;
  margin: 2px;
  border: inherit;
  border-radius: 50%;
}
.sec-loader::before {
  border-color: var(--primary) #0000;
  animation: inherit; 
  animation-duration: .5s;
  animation-direction: reverse;
}
.sec-loader::after {
  margin: 8px;
}
@keyframes l16 { 
  100%{transform: rotate(1turn)}
}
.activate{
  background-color:var(--primary) !important;
  color: white !important;
}

#reasonWrapper .btn.dropdown-toggle.bs-placeholder.btn-light{
  padding: 6px !important;
  font-size: 12px !important;
}