body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -o-font-smoothing: antialiased;
}
.fancybox__container {
  z-index: 9999 !important;
}
@media screen and (max-width: 991px) {
  .w-nav[data-collapse="medium"] .w-nav-button {
    display: none;
  }
}
@media (max-width: 1448px) and (min-width: 992px) {
  .navbar-flex {
    max-width: 1121px;
    padding-left: 30px;
    padding-right: 30px;
  }
  .global-container {
    max-width: 1121px;
    padding-left: 30px;
    padding-right: 30px;
  }
}
.d-none {
  display: none !important;
}

/* Mobile/Desktop specific visibility - controlled by JavaScript */
.mobile-only {
  display: none;
}

.desktop-only {
  display: block;
}

.mobile-only.js-show {
  display: block;
}

.desktop-only.js-hide {
  display: none;
}
.user_input-field:has(+ .form-input-message:not(.d-none)) {
  border-color: var(--text-error);
}
.copy-link-wrapper {
  position: relative;
}
.after-save:not(.show) {
  display: none;
}

/* Custom Checkbox Styling */
.custom-checkbox-field {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  margin-bottom: 0;
  padding-left: 0;
  justify-content: flex-start;
}

.custom-checkbox-field.margin-bottom {
  margin-bottom: 24px;
}

.custom-checkbox-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.custom-checkbox-box {
  position: relative;
  width: 16px;
  height: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  transition: all 0.2s ease;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-checkbox-checkmark {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.2s ease, transform 0.2s ease;
  color: #fff;
}

/* Checked state */
.custom-checkbox-input:checked + .custom-checkbox-box {
  background-color: #1e50c0;
  border-color: #1e50c0;
}

.custom-checkbox-input:checked
  + .custom-checkbox-box
  .custom-checkbox-checkmark {
  opacity: 1;
  transform: scale(1);
}

/* Focus state */
.custom-checkbox-input:focus + .custom-checkbox-box {
  box-shadow: 0 0 3px 1px #3898ec;
  outline: none;
}

/* Hover state */
.custom-checkbox-field:hover .custom-checkbox-box {
  border-color: #999;
}

.custom-checkbox-field:hover
  .custom-checkbox-input:checked
  + .custom-checkbox-box {
  background-color: #1a4db8;
  border-color: #1a4db8;
}

.custom-checkbox-label {
  margin-bottom: 0;
  cursor: pointer;
  user-select: none;
}

/* Responsive adjustments */
@media screen and (max-width: 479px) {
  .custom-checkbox-field.margin-bottom {
    margin-bottom: 16px;
  }

  .custom-checkbox-box {
    width: 14px;
    height: 14px;
  }

  .custom-checkbox-checkmark {
    width: 10px;
    height: 10px;
  }
}

/* Custom Radio Button Styling */
.custom-radio-field {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  margin-bottom: 0;
  padding-left: 0;
  justify-content: flex-start;
}

.custom-radio-field.margin-bottom {
  margin-bottom: 24px;
}

.custom-radio-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.custom-radio-box {
  position: relative;
  width: 16px;
  height: 16px;
  border: 2px solid #cfd6dd;
  border-radius: 50%;
  background-color: #fff;
  transition: all 0.2s ease;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-radio-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #fff;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Checked state */
.custom-radio-input:checked + .custom-radio-box {
  border-width: 5px;
  border-color: #3062d4;
}

.custom-radio-input:checked + .custom-radio-box .custom-radio-dot {
  opacity: 1;
  transform: scale(1);
}

/* Focus state */
.custom-radio-input:focus + .custom-radio-box {
  box-shadow: 0 0 3px 1px #3898ec;
  outline: none;
}

/* Hover state */
.custom-radio-field:hover .custom-radio-box {
  border-color: #999;
}

.custom-radio-field:hover .custom-radio-input:checked + .custom-radio-box {
  border-color: #1a4db8;
}

.custom-radio-label {
  margin-bottom: 0;
  cursor: pointer;
  user-select: none;
  color: var(--dashboard--primary);
  letter-spacing: 0.2px;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

/* Responsive adjustments */
@media screen and (max-width: 479px) {
  .custom-radio-field.margin-bottom {
    margin-bottom: 16px;
  }

  .custom-radio-box {
    width: 14px;
    height: 14px;
  }

  .custom-radio-dot {
    width: 5px;
    height: 5px;
  }
}

/* Fancy Modal Block */
.customer-modal {
  padding: 24px !important;
  width: 437px !important;
  border-radius: 0px !important;
}
.fancybox__content {
  width: 480px;
  padding: 24px !important;
  align-self: center;
  display: flex;
  flex-direction: column;
  position: relative;
  margin: 0;
  color: var(--fancybox-content-color, #374151);
  background: var(--fancybox-content-bg, #fff);
  cursor: default;
  border-radius: 6px !important;
}
.fancybox__container {
  --fancybox-hover-color: #fff;
  --fancybox-bg: rgba(253, 248, 248, 0.5) !important;
}
.f-button.is-close-btn {
  --f-button-color: #333 !important;
  --f-button-svg-width: 16px !important;
  --f-button-svg-height: 16px !important;
  --f-button-svg-filter: none;
  top: 25px !important;
  right: 20px !important;
}

.unit-price-wrapper {
  display: flex;
  padding: 6px;
  background: #fff;
  border: 1px solid #cfd6dd;
  border-radius: 6px;
  height: 40px;
}
.unit-price-currency {
  width: auto;
  height: 26px;
  background: #dee3e5;
  border-radius: 4px;
  display: inline-flex;
  font-size: 12px;
  padding: 0px 9px;
  line-height: 1;
  align-items: center;
  justify-content: center;
  padding-top: 2px;
  margin-right: 6px;
}
.unit-price-input {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border: none;
  outline: none;
}

.vat-single-block:has(> select:disabled) {
  background: #eeeeee;
}

.date_formate-block {
  gap: 20px;
}

select.custom-select-default {
  background-color: var(--white);
  color: var(--dashboard--primary);
  border: 0 #000;
  border-radius: 4px;
  height: 37px;
  margin-bottom: 0;
  margin-left: 1px;
  padding-top: 9px;
  padding-left: 16px;
  line-height: 24px;
}
.avatar-icon {
  width: 32px;
  height: 32px;
  background: var(--body-text);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 400;
  color: #fff;
  text-transform: uppercase;
}

.user-profile-icon {
  width: 32px;
  height: 32px;
  background: var(--active--background-color);
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 400;
  text-transform: uppercase;
  border-radius: 16px;
  color: var(--background-colors--dark-blue);
}

/* Fancy Modal Block */
.delete-popup-card {
  padding: 24px !important;
}
.product-add-modal {
  padding: 24px !important;
  width: 437px !important;
  border-radius: 0px !important;
}

@media (max-width: 640px) and (min-width: 375px) {
  .f-button.is-close-btn {
    --f-button-color: #fff !important;
    --f-button-svg-width: 14px !important;
    --f-button-svg-height: 14px !important;
    --f-button-svg-filter: none;
    top: 18px !important;
    right: 18px !important;
  }
}

/* DataTables Custom Styling */

/* Override DataTables default styling */
.dt-container {
  border-collapse: collapse !important;
}

.dt-container thead th {
  background-color: #F0F3F5;
  border-bottom: 2px solid #dee2e6;
  padding: 12px 8px;
  font-weight: 600;
  color: #333;
  text-align: left;
}

.dt-container tbody td {
  padding: 12px 8px;
  border-bottom: 1px solid #dee2e6;
  vertical-align: middle;
}

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

/* Button styling to match existing design */
.button-group {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.edit-button,
.delete-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.edit-button {
  background-color: #f0f9ff;
  color: #0369a1;
}

.edit-button:hover {
  background-color: #0369a1;
  color: white;
}

.delete-button {
  background-color: #fef2f2;
  color: #dc2626;
}

.delete-button:hover {
  background-color: #dc2626;
  color: white;
}

/* DataTables pagination styling */
.dataTables_wrapper .dataTables_paginate .paginate_button {
  padding: 6px 12px;
  margin: 0 2px;
  border-radius: 4px;
  border: 1px solid #dee2e6;
  background: white;
  color: #333 !important;
  text-decoration: none;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background: #f8f9fa !important;
  border-color: #adb5bd;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
  background: #0369a1 !important;
  border-color: #0369a1;
  color: white !important;
}

.dataTables_wrapper .dataTables_length select {
  padding: 4px 8px;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  background: white;
}

.dataTables_wrapper .dataTables_info {
  color: #6b7280;
  font-size: 14px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  /*
  .datatable-wrapper {
    padding: 15px;
    margin-top: 20px;
  }
  */

  .button-group {
    gap: 4px;
  }

  .edit-button,
  .delete-button {
    width: 28px;
    height: 28px;
  }
  .filter-icon-block {
    min-width: 65px;
    padding-left: 0;
  }
}

.dt-layout-row:last-child {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  gap: 20px;
}
@media (max-width: 767px) {
  .dt-layout-row:last-child {
    flex-direction: column-reverse;
    gap: 10px;
    align-items: flex-start;
    justify-content: flex-start;
  }
}
div.dt-container .dt-paging .dt-paging-button {
  grid-column-gap: 8px;
  grid-row-gap: 8px;
  color: #4a545e;
  letter-spacing: 0.2px;
  border: 1px solid #fff;
  border-radius: 6px;
  align-items: center;
  padding: 4px 4px;
  font-size: 14px;
  font-weight: 500;
  background: #fff;
  display: inline-flex;
  min-width: 32px;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
div.dt-container .dt-paging nav {
  display: flex;
  gap: 8px;
}
@media (max-width: 767px) {
  div.dt-container .dt-paging nav {
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .dt-table .table-content {
    max-width: 160px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
  }
  .dt-table .archive-button,
  .dt-table .resend-button {
    padding: 2px 8px;
    font-size: 12px;
  }
}
@media (max-width: 479px) {
  .dt-table .table-content {
    max-width: 140px;
  }
}
@media (max-width: 413px) {
  .dt-table .table-content {
    max-width: 120px;
  }
}
div.dt-container .dt-paging .dt-paging-button.first,
div.dt-container .dt-paging .dt-paging-button.last,
div.dt-container .dt-paging .dt-paging-button.next,
div.dt-container .dt-paging .dt-paging-button.previous {
  border: 1px solid #cfd6dd;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 14px;
  font-weight: 500;
}
div.dt-container .dt-paging .dt-paging-button:hover {
  background-color: #022f520f;
}
.dt-layout-row:first-child:has(.dt-layout-cell.dt-layout-start) {
  display: none;
}
.product-sub-menu {
  gap: 20px;
}
@media screen and (max-width: 991px) {
  .product-sub-menu {
    min-width: 0;
    align-items: center;
    max-width: 100%;
  }
  .product-sub-menu.is-invoice > .input-group {
    flex: 1;
  }
  .product-sub-menu.is-invoice .w-inline-block > div:not(.primary-icon) {
    display: none;
  }
  .product-sub-menu.is-invoice .w-inline-block {
    min-width: 44px !important;
    width: 44px !important;
    max-width: 44px !important;
    padding: 0 !important;
  }
}
@media screen and (max-width: 991px) {
  .secondary-text.is-width {
    max-width: 100%;
  }
}
.dt-container .dt-layout-row.dt-layout-table td:last-child,
.dt-container .dt-layout-row.dt-layout-table th:last-child {
  text-align: right;
}
.dt-container .dt-layout-row.dt-layout-table td:first-child,
.dt-container .dt-layout-row.dt-layout-table th:first-child {
  text-align: left;
  white-space: nowrap;
}
.dt-container .dt-layout-row.dt-layout-table td:last-child .button-group,
.dt-container .dt-layout-row.dt-layout-table th:last-child .button-group {
  justify-content: flex-end;
}

/* Date-ranger CSS*/
.daterangepicker {
  font-family: "Inter" !important;
  box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.05);
}
.daterangepicker td.active {
  background-color: #3062d4 !important ;
}
@media (max-width: 1448px) and (min-width: 992px) {
  .time-select-field {
    max-width: 94px;
  }
}

/* Company details layer show/hide based on checkbox */
#companyDetailLayer {
  display: none;
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: all 0.2s ease;
}

.custom-checkbox-field:has( #add_company:checked) + #companyDetailLayer {
  display: block;
  opacity: 1;
  height: auto;
}

@media (max-width: 768px) {
  .header-content-block .nav-right-block .cancle-block .primary-text,
  .header-content-block .nav-right-block .button.back div:not(.primary-icon) {
    display: none;
  }
  .header-content-block .nav-right-block .button.back {
    min-width: 0;
  }
}
.search-bar.paid-payments {
  display: flex;
}
.time-select-field {
  min-width: 117px;
}

.input-with-currency {
  position: relative;
}
.currency-tag {
  position: absolute;
  width: 24px;
  height: 24px;
  background: var(--background-colors--grey);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--body-text);
  top: 8px;
  left: 8px;
  line-height: 1;
}
.input-with-currency .input-field.price {
  background: none !important;
}
.payment_pill {
  display: inline-flex;
}
.payment_pill.refunded {
  color: #290101;
  background-color: #ffdada;
}
tr.new_payment {
  border-left: solid 4px #7da5ff;
}
tr.new_payment td {
  background-color: #f2f6ff;
}
table.dataTable>tbody>tr.child ul.dtr-details {
  width: 100%;
}

td .reorder {
  padding-top: 2px;
  color: #7e8b99;
}
img.prod_image {
  max-width: 58px;
  max-height: 58px;
  object-fit: contain;
}

.dt-table .button-group {
  min-width: 65px;
}

::-webkit-scrollbar {
  width: 0px; /* You can change this to 2px, 3px, etc. */
  height: 4px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.3); /* Scrollbar color */
  border-radius: 4px;
}
/* Sidbar Smooth CSS */
.dashboard-sidebar,
.dashboard-header,
.dashboard-content {
  /*transition: all 0.2s ease; */
  transition: none !important;
}
/* Shared behavior for nav-text and plans-nav */
.nav-text,
.plans-nav {
  opacity: 0;
  visibility: hidden;
  white-space: nowrap; /* just in case */
  transition: opacity 0.3s ease 0.3s, visibility 0s linear 0.3s;
}
.dashboard-sidebar:not(.collapsed) .nav-text,
.dashboard-sidebar:not(.collapsed) .plans-nav {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}
/* Sidbar Smooth CSS */
/* tooltip*/
/* Tooltip styling */
.nav-icon-wrap {
  position: relative; 
}
.nav-icon-wrap .tooltip {
  display: none;
  position: fixed;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  background-color: #27272A;
  color: #fff;
  padding: 5px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 999999;
}
/*tooltip end*/
/* banner and content block*/
@media (min-width: 1140px) {
.dashboard-header,
.dashboard-content{
  transition: margin-left 0.3s ease; /* Smooth transition for margin change */
  margin-left: 280px; /* Default margin when sidebar is expanded */
}
}
@media (min-width: 991px) and (max-width: 1200px) {
	.container-large,
  .dashboard-container {
  	padding-left: 24px;
    padding-right: 24px;
  }
}
@media (min-width: 991px) and (max-width: 1140px) {
	.reports-menu {
  	  grid-template-columns: minmax(200px, 1fr) minmax(390px, 1fr) minmax(120px, 1fr) minmax(110px, 1fr);
  }
 }
@media (min-width: 991px) and (max-width: 1140px) {
  .report-card-block {
    display: grid;
    width: auto;
    flex-flow: row;
    grid-auto-columns: 1fr;
    gap: 20px;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto;
  }
  .reports-main-block {
    flex-flow: column;
    gap: 32px;
  }
  .diagram-image-block {
    order: -1;
  }
}
@media (min-width: 991px) and (max-width: 1100px){
.customer-details-block.customer {
  gap: 20px;
}
.customer-info.customer {
	width: 550px;
}
/* Dashboard Csc */
.dashboard_metrics-card{
	padding: 10px;
}
.dashboard_content-wrap,
.dashboard_metrics-wrap {
	gap: 12px;
}
}

.diagram-image-block {
  flex: 1;
}
.metrics-card-amount.text-sm,
.metrics-card-amount.test-xsm,
.metrics-sm-text {
  line-height: 1.4em;
}


@media (max-width: 767px) {
  .doshboard-main {
    min-height: calc(100dvh - 67px);
    display: flex;
    flex-direction: column;
  }
  .dashboard-wrapper {
    min-height: calc(100dvh - 67px);
  }
  .dashboard-content {
    min-height: auto;
    flex: 1;
  }
}
.input-field:has(+.form-input-message:not(.d-none)),
.modal-input-field:has(+.form-input-message:not(.d-none)),
textarea.w-input:has(+.form-input-message:not(.d-none)) {
  border-color: var(--text-error);
}
.input-with-currency:has(+.form-input-message:not(.d-none)) .input-field {
  border-color: var(--text-error);
}
@media (min-width: 768px) {
  .payment-amount {
    padding-left: 40px;
  }
}
.brand-logo-wrap.w-inline-block {
  max-width: 200px;
}
@media (max-width: 991px) {
  .workspace-content-block {
    display: flex !important;
  }
}
.header-flex {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
}
.menu-button-block.mobile-view {
  display: none;
}
@media (max-width: 991px) {
  .menu-button-block.mobile-view {
    display: flex !important;
  }
  .d-md-none {
    display: none !important;
  }
  .d-md-block {
    display: block !important;
  }
  .d-md-flex {
    display: flex !important;
  }
  .d-md-inline-block {
    display: inline-block !important;
  }
  .d-md-inline-flex {
    display: inline-flex !important;
  }
}
table.dataTable thead th, table.dataTable tfoot th {
  font-weight: 600;
  font-size: 12px;
}
table.dataTable {
  font-size: 12px;
  line-height: 20px;
}
.table-content {
  font-size: 12px;
}

div.dt-container .dt-paging .dt-paging-button.current, 
div.dt-container .dt-paging .dt-paging-button.current:hover,
div.dt-container .dt-paging .dt-paging-button:hover {
  background: #022F520F;
  border: none;
  outline: none;
  box-shadow: none;
}
div.dt-container .dt-paging .dt-paging-button.first, div.dt-container .dt-paging .dt-paging-button.last, div.dt-container .dt-paging .dt-paging-button.next, div.dt-container .dt-paging .dt-paging-button.previous {
  border: none;
  outline: none;
  box-shadow: none;
}
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 {
  border: none;
  outline: none;
  box-shadow: none;
}
div.dt-container .dt-paging .dt-paging-button {
  border: none;
  outline: none;
  box-shadow: none;
}
div.dt-container .dt-paging .dt-paging-button:hover {
  color: inherit !important;
}

.dashboard-sidebar {
  overflow: visible;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.link-item:focus {
  box-shadow: none;
  outline: none;
}
@media screen and (max-width: 479px) {
  .time-select-field {
    min-width: 107px;
    max-width: 107px;
    padding-right:0;
  }
  .paid-time.date-range {
    min-width: 0;
    padding-left: 12px;
    padding-right: 0;
    background-image: url(../images/Main-Icon.svg);
  }
}
@media screen and (max-width: 380px) {
  .time-select-field {
    min-width: 103px;
    max-width: 103px;
  }
  .paid-time.date-range {
    padding-left: 8px;
  }
}
table.dataTable.dtr-inline.collapsed>tbody>tr>td.dtr-control:before, table.dataTable.dtr-inline.collapsed>tbody>tr>th.dtr-control:before {
  display: block;
  width: 20px;
  height: 20px;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23333333" stroke-width="1.666" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right"><polyline points="9 18 15 12 9 6"></polyline></svg>');
  border: none;
  background-size: 20px;
  position: relative;
  left: -5px;
  margin-bottom: 4px;
}
table.dataTable.dtr-inline.collapsed>tbody>tr.dtr-expanded>td.dtr-control:before, table.dataTable.dtr-inline.collapsed>tbody>tr.dtr-expanded>th.dtr-control:before {
  border: none;
  transform: rotate(90deg);
}
.time-select-field {
  background: url(../images/Main-Icon.svg);
  background-position: right center;
  background-repeat: no-repeat;
  line-height: 1em;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
@media screen and (max-width: 767px) {
  .grid-divider {
    margin-top: 10px;
    margin-bottom: 25px;
  }
}
.download-button.w-inline-block {
  background: rgb(56 154 193);
}
@media (max-width: 991px) {
  .customer-menu-link.w--current {
    border-bottom: none;
  }
}
.button.back {
  background-color: #1d7c4d;
}
@media (max-width: 479px) {
  .summary-right .function-wrap {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 768px) {
  /*
  .edit-button, .delete-button {
      width: 32px;
      height: 32px;
  }
  .button-group {
    gap: 8px;
  }
  */
}

.copy-link-wrapper {
  display: flex;
}
.copy-link-wrapper .input-field {
  text-overflow: ellipsis;
  overflow: hidden !important;
  white-space: nowrap;
  padding-right: 10px;
  padding-left: 10px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: none;
}
.copy-link-wrapper .copy-link {
  position: relative;
  width: auto;
  min-width: 0;
  padding: 0px 20px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  width: 120px;
}
@media (max-width: 767px) {
  .copy-link-wrapper .copy-link span {
    display: none;
  }
}
@media (max-width: 991px) {
  .dashboard-sidebar .user-info {
    display: block !important;
  }
}
@media screen and (max-width: 767px) {
  .button.delete {
      display: inline-flex;
      align-items: center;
      justify-content: center;
  }
}
.archive-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.custom-notyf {
  display: flex;
  gap: 10px;
}
.notyf__wrapper {
  padding-top: 15px;
  padding-bottom: 15px;
}
.notyf__toast {
  padding-left: 15px;
  padding-right: 15px;
}
.notyf__toast--dismissible .notyf__wrapper {
  padding-right: 27px;
}
@media screen and (max-width: 991px) {
  .product-sub-menu {
      gap: 20px;
  }
}

.refund-popup-card {
  min-width: 0;
}
.tax-vat-toggle-block {
  margin-bottom: 15px;
}

div#prodImageError {
  margin-bottom: 12px;
  margin-top: 0;
  position: relative;
  top: -12px;
}

/* Fancy Toggle Switch Styles */
.fancy-toggle-container {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  align-items: center;
}

.toggle-state-label {
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
  transition: all 0.3s ease;
  user-select: none;
  min-width: 0;
  text-align: center;
  margin: 0;
}
label.toggle-state-label {
  cursor: pointer;
}

.toggle-state-label.active {
  color: #3062d4;
  font-weight: 600;
}

.toggle-state-label.left {
  text-align: right;
}

.toggle-state-label.right {
  text-align: left;
}

.fancy-toggle-switch {
  position: relative;
  display: inline-flex;
}

.fancy-toggle-input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.fancy-toggle-slider {
  position: relative;
  display: inline-flex;
  width: 40px;
  height: 20px;
  background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    inset 0 2px 4px rgba(0, 0, 0, 0.1),
    0 1px 2px rgba(0, 0, 0, 0.05);
  box-shadow: none;
  border: none;
  margin-bottom: 0;
}


.fancy-toggle-button {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.05);
  border: none;
}

.fancy-toggle-input:checked + .fancy-toggle-slider {
  background: linear-gradient(135deg, #3062d4 0%, #1e40af 100%);
  border-color: #1e40af;
}

.fancy-toggle-input:checked + .fancy-toggle-slider .fancy-toggle-button {
  transform: translateX(20px);
  background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
  box-shadow: 
    0 2px 6px rgba(48, 98, 212, 0.3),
    0 1px 3px rgba(0, 0, 0, 0.1);
}

.fancy-toggle-input:focus + .fancy-toggle-slider {

}

.fancy-toggle-slider:active .fancy-toggle-button {

}

.fancy-toggle-input:checked + .fancy-toggle-slider:active .fancy-toggle-button {
  transform: translateX(20px);
}

/* Animation for state labels */
.fancy-toggle-container .toggle-state-label {
  opacity: 0.75;

}

.fancy-toggle-container .toggle-state-label.active {
  opacity: 1;
}

@media (max-width: 767px) {
  .custom-toggle {
    margin-bottom: 20px;
  }
}
.multi-select-field {
  max-width: none;
  background: url(../images/Main-Icon.svg);
  background-position: right center;
  background-repeat: no-repeat;
  line-height: 1.4em;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  color: #272e35;
}
.paid-time {
  background-position: calc(100% - 8px), 12px;
}
.table-title-block .fancy-toggle-switch {
  position: absolute;
  left: -32px;
}
.table-title-block {
  position: relative;
}
.fancy-toggle-switch+.table-content {
  padding-left: 18px;
}

.autocomplete-container {
  position: relative;
}

.autocomplete-dropdown {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #cfd6dd;
  border-radius: 6px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
}

.autocomplete-item {
  padding: 10px 16px;
  cursor: pointer;
  border-bottom: 1px solid #f4f4f4;
  transition: background-color 0.2s;
}

.autocomplete-item:last-child {
  border-bottom: none;
}

.autocomplete-item:hover {
  background-color: #f8f9fa;
}

.autocomplete-item-name {
  font-weight: 500;
  color: #272e35;
  margin-bottom: 2px;
}

.autocomplete-item-details {
  font-size: 12px;
  color: #7e8b99;
}

.resend-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.resend-button .btn-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;

  display: none;
}
@media (min-width: 768px) {
  .resend-button .btn-icon {
    display: none;
  }
}
@media (max-width: 767px) {
  .resend-button {
    padding: 0;
    /*width: 28px;*/
    height: 28px;
  }
  .resend-button .btn-text {
    /*display: none;*/
  }
  .view-button {
    height: 28px;
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media screen and (max-width: 767px) {
  .logo-text.mobile-view {
      font-size: 22px;
  }
}

table.dataTable.dtr-inline.collapsed>tbody>tr>td.dtr-control {
  padding-bottom: 30px;
}
@media (min-width: 1141px) {
  .reports-main-block {
    position: relative;
    top: -15px;
  }
  .report-card-block {
    padding-top: 40px;
    padding-bottom: 5px;
    gap: 15px;
  }
  .report-metrics-card {
    flex: 1;
  }
  .metrics-card-amount.text-sm, .metrics-card-amount.test-xsm, .metrics-sm-text {
    line-height: 1.3em;
  }
}
.dashboard-sidebar.collapsed {
  width: 70px !important;
}
.dashboard-sidebar.collapsed .newPaymentCount,
.dashboard-sidebar.collapsed .user-info,
.dashboard-sidebar.collapsed .brand-logo-wrap {
  display: none !important;
}
.nav-text, .plans-nav {
  transition: none !important;
}
.payment_pill {
  font-size: 10px;
  font-weight: 600;
  line-height: 1; /* 160% */
  letter-spacing: 0.1px;
  text-transform: uppercase;
  height: 20px;
  padding: 0px 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}
.payment_pill.draft{
  color: #4A545E;
  background: #F0F3F5;
}
.payment_pill.pending{
  color: #F59638;
  background: #FFF3E6;
}
.payment_pill.paid{
  color: #1D7C4D;
  background: #E6F5F0;
}

.no-data-yet {
  width: 100%;
  background: url(../images/no-data-img.png) no-repeat center top;
  background-size: 480px;
  padding-bottom: 60px;
}
.no-data-yet.pending {
  background-image: url(../images/no-data-payments.png);
}
.no-data-yet.paid {
  background-image: url(../images/no-data-payments.png);
}
.no-data-yet.draft {
  background-image: url(../images/no-data-payments.png);
}
.no-data-yet.refunded {
  background-image: url(../images/no-data-payments.png);
}
.no-data-yet.summary {
  background-image: url(../images/no-data-payments.png);
}
.no-data-yet.invoices {
  background-image: url(../images/no-data-invoices.png);
}
.no-data-yet.shop {
  background-image: url(../images/no-data-shop.png);
  background-position: center -72px;
}
.no-data-yet.customers-active {
  background-image: url(../images/no-data-customers.png);
}
.no-data-yet.customers-archived {
  background-image: url(../images/no-data-customers.png);
}
.no-data-yet.customer-inner {
  background-image: url(../images/no-data-payments.png);
}
.no-data-yet.personal-users {
  background-image: url(../images/no-data-customers.png);
}
.no-data-yet.reports {
  background-image: url(../images/no-data-reports.png);
  background-position: center -72px;
}


.no-data-yet-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 272px;
  max-width: 600px;
  padding-left: 15px;
  padding-right: 15px;
  margin: 0 auto;
}
.no-data-yet-inner h4 {
  color: #181D27;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  margin-bottom: 12px;
}
.no-data-yet-inner p {
  color: #535862;
  text-align: center;
  font-size: 14px;
  line-height: 20px;
}
.no-data-yet-inner .button.primary {
  width: fit-content;
}
.no-data-yet-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}
@media (max-width: 575px) {
  .no-data-yet-buttons {
    flex-direction: column;
  }
}
.no-data-search-reports {
  width: 100%;
  background: url(../images/no-data-img.png) no-repeat center top;
  background-size: 480px;
  padding-bottom: 60px;
  background-image: url(../images/no-data-reports.png);
  background-position: center -72px;
}
.no-data-search-reports-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 272px;
  max-width: 600px;
  padding-left: 15px;
  padding-right: 15px;
  margin: 0 auto;
}
.no-data-search-reports-inner h4 {
  color: #181D27;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  margin-bottom: 12px;
}
.no-data-search-reports-inner p {
  color: #535862;
  text-align: center;
  font-size: 14px;
  line-height: 20px;
}
.no-data-search-reports-inner .button.primary {
  width: fit-content;
}
.no-data-search-reports-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}
@media (max-width: 575px) {
  .no-data-search-reports-buttons {
    flex-direction: column;
  }
}

.refund_content-main{
  padding-top: 200px;
  background: url(../images/no_search_results.png) no-repeat center top;
  background-size: 480px;
  min-height: 480px;
  justify-content: flex-start;
  flex-direction: column;
  align-items: center;
}
.refund_content-main h2 {
  color: #181D27;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  padding-bottom: 8px;
}
.user-secondary-text {
  color: #535862;
  text-align: center;
  font-size: 14px;
  line-height: 20px;
}
.user-block {
  position: relative;
}
.user-dropdown-panel {
  border-radius: 8px;
  border: 1px solid #DEE2E6;
  background: #FFF;
  box-shadow: 0 7px 7px -5px rgba(0, 0, 0, 0.04), 0 10px 15px -5px rgba(0, 0, 0, 0.05), 0 1px 3px 0 rgba(0, 0, 0, 0.05);
  width: 200px;
  overflow: hidden;
  position: absolute;
  bottom: 100%;
  left: auto;
  right: 10px;
}
.udp-section {
  padding: 8px;
}
.udp-section:not(:last-child) {
  border-bottom: 1px solid #CED4DA;
}
.udp-link {
  height: 38px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
  border-radius: 8px;
  color: #181D27;
  font-size: 14px;
  font-style: normal;
  font-weight: 450;
  line-height: 24px; /* 171.429% */
  letter-spacing: 0.2px;
  transition: background-color 0.2s;
}
.udp-link:hover {
  background-color: #F8F9FA;
}
.udp-name {
  color: #181D27;
  font-size: 14px;
  font-style: normal;
  font-weight: 450;
  line-height: 24px; /* 171.429% */
  letter-spacing: 0.2px;
  max-width: calc(200px - 28px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-bottom: 4px;
  padding-top: 8px;
  padding-left: 12px;
}
.udp-email {
  color: #181D27;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px; /* 166.667% */
  letter-spacing: 0.2px;
  max-width: calc(200px - 28px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-bottom: 8px;
  padding-left: 12px;
}
.user-block .primary-text {
  max-width: 150px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.user-block .user-controls {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: transparent;
  transition: background-color 0.2s;
}
.user-block .user-controls:hover {
  background-color: #F8F9FA;
}
.user-block {
  justify-content: space-between;
}
.user-block-flex {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  cursor: pointer;
}
.user-block-flex .user-info {
  flex: 1;
}

.user-dropdown-panel {
  display: none;
}
.user-dropdown-panel.opened {
  display: block;
}
.collapsed .user-dropdown-panel {
  right: auto;
  left: 18px;
}
.collapsed .user-controls {
  display: none;
}

.mobile-footer {
  background-color: #272E35;
}
.footer-item {
  color: #fff;
  padding-top: 11px;
  padding-bottom: 11px;
}
.footer-item:hover, .footer-item.w--current {
  background-color: #000;
}
@media (max-width: 767px) {
  .sidebar-menu-block .nav-icon svg {
    width: 24px !important;
    height: 24px !important;
  }
  .menu-btn-block {
    width: 40px;
    height: 40px;
  }
}
.collapse-icon {
  display: flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}
.collapsed .logo-wrapper {
  padding-left: 16px;
}

table.dataTable>tbody>tr.child ul.dtr-details>li {
  grid-template-columns: 90px 1fr;
  display: grid;
}
table.dataTable>tbody>tr.child span.dtr-title {
  white-space: normal;
  line-height: 1.4em;
  padding-right: 5px;
}
table.dataTable>tbody>tr.child span.dtr-data {
  line-height: 1.4em;
}
#shareWidget {
  min-height: 48px;
}
@media screen and (max-width: 991px) {
  .dashboard_main {
      max-width: 100%;
  }
}
#savePaymentButton {
  min-height: 48px;
}
@media (max-width: 767px) {
  .mobile-hide {
    display: none;
  }
}
@media (min-width: 768px) {
  .mobile-footer {
    display: none !important;
  }
}
[data-tippy-content] {
  cursor: pointer;
}
[data-tippy-content] tippy-content {
  font-size: 14px;
  font-weight: 400;
}
@media (max-width: 767px) {
  .description-field,
  .input-field,
  .date-field {
    max-height: 48px;
    height: 48px;
    min-height: 48px;
    font-size: 16px;
  }
  .calender-icon {
    bottom: 14px;
  }
  .unit-price-wrapper {
    height: 48px;
  }
  .unit-price-currency {
    font-size: 16px;
    width: 34px;
    min-width: 34px;
    height: 34px;
    padding: 0 6px;
  }
  .unit-price-input {
    font-size: 16px;
  }
  .vat-single-block {
    max-height: 48px;
    height: 48px;
    min-height: 48px;
  }
  .vat-select-field,
  select.custom-select-default {
    height: 46px;
    font-size: 16px;
  }
  .add-button,
  .email-payment-btn,
  .save-draft-button {
    font-size: 16px;
    height: 48px;
  }
}
.description-field:focus {
  box-shadow: none;
  outline: none;
}
.metrics-badge {
  margin-top: 2px;
}
.dashboard_metrics-card {
  align-items: flex-start;
}
no-lp-input.description-field {
  display: flex;
  padding:0;
}
div#w-dropdown-toggle-0 {
  pointer-events: none;
}
.workspace-toggle:hover {
  background-color: unset;
}
@media (max-width: 767px) {
  .daterangepicker.show-calendar .drp-buttons {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .daterangepicker.show-calendar .drp-buttons .drp-selected {
    grid-column: span 2;
    text-align: center;
    padding-top: 5px;
  }
  .daterangepicker.show-calendar .drp-buttons .btn {
    padding: 12px 8px;
    margin: 0;
  }
}
.q_search-wrapper {
  position: relative;
  flex: 1;
}
.q_search-wrapper input {
  position: relative;
  z-index: 1;
}
.q_search-clear {
  position: absolute;
  width: 41px;
  height: 41px;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #181D27;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.2px;
  z-index: 2;
  
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="%23555f6d" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>');
  background-size: 18px;
  background-repeat: no-repeat;
  background-position: center;

  cursor: pointer;
  display: none;
}
@media (max-width: 767px) {
  .modal-input-field,
  .modal-vat-select-field,
  .modal-price-field {
    min-height: 48px;
  }
}
@media (max-width: 991px) {
  .dashboard-content, .dashboard-header {
    margin-left: 0 !important;
  }
}

.daterangepicker .drp-buttons .btn {
  letter-spacing: .2px;
  background-color: #3062d4;
  border: 1px solid #3062d4;
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  padding: 0 12px;
  font-size: 14px;
  line-height: 24px;
  display: inline-flex;
  box-shadow: 0 1px 2px #1b242c1f;
  color: #fff;
  padding: 6px 16px;
}
.daterangepicker .drp-buttons .btn.cancelBtn {
  background-color: #fff;
  color: #3062d4;
}
@media (max-width: 575px) {
  .daterangepicker {
    transform: translateX(-24px);
  }
}
@media (max-width: 767px) {
  .description-field,
  .input-field,
  .vat-single-block,
  .unit-price-wrapper {
      border-color: #9ea5ab;
  }
  .input-field,
  .modal-input-field, 
  .modal-vat-select-field, 
  .modal-price-field{
    border-color: #9ea5ab;
  }
}

.btn-disabled {
  pointer-events: none !important;
  opacity: 0.5 !important;
  cursor: default !important;
}


  .quick_action-btns {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
  }
  .quick_action-btns .action-btn {
    flex: 1;
    min-width: 200px;
  }

  .unit-price-wrapper.disabled {
    pointer-events: none;
    opacity: 0.5;
    cursor: default;
  }
@media (max-height: 760px) {
  .sidebar-menu {
    overflow-y: auto;
  }
}

.muted-text {
  color: #535862;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
}
.primary-text.label:has(+.muted-text) {
  margin-bottom: 2px;
}
.primary-text.label+.muted-text {
  margin-bottom: 10px;
}

.sidebar-menu {
  overflow-x: hidden;
  overflow-y: auto;
}

.sidebar-footer-block {
  padding-top: 0;
}
.navigation-divider:has(+.user-block) {
  margin-bottom: 0;
}
.user-block {
  background-color: #fff;
}
.navigation-divider:has(+.plans-nav) {
  margin-top: 0;
}
.collapsed .navigation-divider:has(+.plans-nav) {
  display: none;
}
.collapsed .navigation-divider {
  margin: 0;
}
.collapsed .plans-nav {
  display: none;
}
@media screen and (max-width: 767px) {
  .mobile-footer {
      z-index: 9;
  }
}

.pro-badge {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 3px;
}
.pro-badge .pro-badge-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pro-badge .pro-badge-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pro-badge .pro-badge-text {
  color: #555F6D;
  font-size: 10px;
  font-style: normal;
  font-weight: 450;
  line-height: 1.2em;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}

.config-disabled {
  position: relative;
  opacity: 0.4;
  pointer-events: none;
}
.config-disabled>* {

}
.config-disabled::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: none;
  z-index: 2;
}

.daterangepicker select.monthselect, .daterangepicker select.yearselect {
  font-weight: 500;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 3px 0px;
}

.summury-block .payment-amount {
  padding: 16px 16px 16px 40px;
}
.fancybox__content .select2-container {
  z-index: 10001;
}

.cross-wrap.hidden {
  pointer-events: none !important;
  opacity: 0 !important;
}
.new-rate_block {
  justify-content: flex-start;
}
.input-field.address {
  min-height: 124px;
}

.pricing_card-wrapper {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 991px) {
  .pricing_card-wrapper {
    grid-row-gap: 40px;
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .pricing_card-wrapper {
    grid-template-columns: repeat(1, 1fr);
  }
  .pricing_card-wrapper .pricing-card {
    flex-flow: column;
    display: flex;
    border: 1px solid #ccc;
    padding: 12px;
    border-radius: 8px;
  }
}
.pricing_btn-block {
  width: 100%;
}
.pricing_btn-block .pricing-btn {
  width: 100% !important;
}
.pricing_header .pricing_amount-monthly,
.pricing_header .pricing_amount-yearly {
  display: block;
}
.pricing-btn.pricing_amount-monthly,
.pricing-btn.pricing_amount-yearly {
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  display: flex;
}
.resend-invite-button {
  width: fit-content;
  padding-left: 12px;
  padding-right: 12px;
  white-space: nowrap;
}