html {
  scroll-behavior: smooth;
}

/* Start Styling For Auth Page */
input:focus,
textarea:focus,
select:focus {
  outline: none;
}

.tabs .active {
  color: #1c1917;
  border-bottom: 2px solid #e66927;
}

[data-tab-content] {
  display: none;
}

.active[data-tab-content] {
  display: block;
}

/*label[required]::after {
  content: "*";
  display: inline-block;
  color: red;
} */

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}

/* End Styling For Auth Page */

/* Start Loader */
.loader {
  width: 20px;
  height: 20px;
  border: 3px dotted #64748b;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  box-sizing: border-box;
  animation: rotation 2s linear infinite;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* End Loader */

/* StartPopover Styling */
.popover-menu::after {
  bottom: 100%;
  right: 0.5rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.04),
    0px 4px 40px 0px rgba(0, 0, 0, 0.12);
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-color: rgba(255, 255, 255, 0);
  border-bottom-color: #e2e8f0;
  border-width: 7px;
}

/* End Popover Styling */

/* Copy Tooltips */
.copy-tooltips .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 14px;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

.copy-tooltips .tooltiptext {
  visibility: hidden;
  opacity: 0;
}

.copy-tooltips:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

/* Report Tooltips */
#report-tooltips .tooltipReport::after {
  content: "";
  position: absolute;
  top: -9px;
  right: 14px;
  rotate: 180deg;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

#report-tooltips .tooltipReport {
  visibility: hidden;
  opacity: 0;
}

#report-tooltips:hover .tooltipReport {
  visibility: visible;
  opacity: 1;
}

/* Pagination Styling for Testimonial List */
.pagination-number,
.pagination-button {
  font-size: 14px;
  background-color: transparent;
  border: none;
  padding: 5.5px 12px;
  cursor: pointer;
  border-radius: 8px;
  color: #475569;
  font-weight: 600;
}

.pagination-button.disabled {
  color: #94a3b8;
}

.pagination-number.active {
  color: #e66927;
  background: #fae1d4;
}

/* Account Profile Styling */
.account-profile-sidebar {
  background: linear-gradient(296deg, #222 0%, #0355a5 101.24%);
}

.cta-subscribe-text {
  text-shadow: 2px 2px 0px #000;
}

.packages-value {
  text-shadow: 0px 4px 0px #000;
  -webkit-text-stroke-width: 1;
  -webkit-text-stroke-color: #1C1917;
}

.packages-banner-wrapper {
    background-image: url('/assets/images/homepage/packages-particle.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position-y: 10px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 54px;
  height: 32px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked+.slider {
  background-color: #e66927;
}

input:focus+.slider {
  box-shadow: 0 0 1px #e66927;
}

input:checked+.slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

input:checked+.slider.small:before {
  -webkit-transform: translateX(18px);
  -ms-transform: translateX(18px);
  transform: translateX(18px);
}

.select2.select2-container {
  width: 100% !important;
}

.select2-dropdown {
  border: 1px solid #e2e8f0 !important;
}

.select2.select2-container .select2-selection,
.select2-container--default .select2-selection--multiple {
  border: 1px solid #e2e8f0;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  height: 100%;
  outline: none !important;
  transition: all 0.15s ease-in-out;
  font-size: 14px;
  padding: 0 !important;
}

.select2.select2-container .select2-selection .select2-selection__rendered {
  color: #333;
  line-height: 21px;
  padding: 11.5px 16px;
  height: 100%;
}

.select2.select2-container.select2-container--open .select2-selection.select2-selection--single {
  background: transparent;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  right: 16px !important;
}

.select2.select2-container.select2-container--open .select2-selection.select2-selection--single .select2-selection__arrow {
  -webkit-border-radius: 0 3px 0 0;
  -moz-border-radius: 0 3px 0 0;
  border-radius: 0 3px 0 0;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
  background-image: url(https://cdn4.iconfinder.com/data/icons/user-interface-174/32/UIF-76-512.png);
  background-color: transparent;
  background-size: contain;
  border: none !important;
  height: 20px !important;
  width: 20px !important;
  margin: auto !important;
  left: auto !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  border: none !important;
}

.select2-container .select2-search--inline .select2-search__field {
  height: 100%;
}

.select2-search--dropdown {
  background: #f8fafc;
  margin-bottom: 10px;
}

/* Strength Password */
.strength-weak .bar {
  background-color: #e2e8f0;
}

.strength-medium .bar:nth-child(-n + 3) {
  background-color: orange;
}

.strength-strong .bar {
  background-color: green;
}

/* Country phone number */
.iti--allow-dropdown {
  background: #f8fafc !important;
  width: 100%;
}

.iti__selected-country {
  padding: 16px !important;
  background: #f8fafc !important;
  border-right: 1px solid #e2e8f0 !important;
}

/* Datatables Styling */
div.dt-container .dt-search input {
  width: 100%;
  border-radius: 8px !important;
  padding: 11.5px 16px !important;
  font-size: 14px !important;
  background: white !important;
}

.dt-search label {
  display: none;
}

.dt-layout-cell {
  padding: 0 !important;
}

.cell-border.dataTable {
  margin-top: 24px;
}

div.dt-container.dt-empty-footer tbody>tr:last-child>* {
  border: 1px solid #e2e8f0 !important;
}

.dt-empty {
  background: white !important;
  padding: 96px 0 !important;
}

.dt-search input {
  padding-right: 30px;
  /* Adjust this value to fit your icon */
  background-image: url("../../images/v1/icons/search.svg");
  /* Add your search icon image */
  background-position: calc(100% - 5px) center;
  background-repeat: no-repeat;
  background-size: 20px;
  /* Adjust the size of the icon */
}

table {
  border-radius: 8px 8px 0 0;
  border-spacing: 0;
  border-collapse: separate !important;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  table-layout: auto;
}

.sticky-pagination-container {
  position: sticky;
  left: 0;
  background-color: white;
  /* Ensure the background is not transparent */
  z-index: 100;
  /* Make sure it's above other content */
}

/* table {
    font-size: 125%;
    white-space: nowrap;
    margin: 0;
    border: none;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
} */

/* table thead th {
    padding: 3px;
    position: sticky;
    top: 0;
    z-index: 1;
    width: 200px;
    background: white;
}

table tbody th {
    font-weight: 100;
    font-style: italic;
    text-align: left;
    position: relative;
}

table tfoot td:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
}

table tbody th {
    position: sticky;
    left: 0;
    z-index: 1;
} */

table th {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

table td {
  background: white;
}

/* Apply a border to the bottom of all but the last row  */
table>thead>tr:not(:last-child)>th,
table>thead>tr:not(:last-child)>td,
table>tbody>tr:not(:last-child)>th,
table>tbody>tr>td,
table>tfoot>tr:not(:last-child)>th,
table>tfoot>tr:not(:last-child)>td,
table>tr:not(:last-child)>td,
table>tr:not(:last-child)>th,
table>thead:not(:last-child),
table>tbody:not(:last-child),
table>tfoot:not(:last-child) {
  border-bottom: 1px solid #e2e8f0;
}

table th,
table td {
  padding: 12px 16px !important;
  text-align: left;
}

#myFavoritesTable th,
#myFavoritesTable td,
#favoritesProductSupplierTable th,
#favoritesProductSupplierTable td {
  width: 100%;
}

#billingTableWrapper .st-key {
  width: 30% !important;
}

.st-key {
  width: 21% !important;
  max-width: 78px !important;
  padding: 12px 16px;
  background-color: #f1f5f9;
  border-right: 1px solid #e2e8f0;
  font-weight: 600;
  work-break: break-word;
  text-align: left !important;
}

.st-key svg {
  display: none;
}

.st-key:last-child {
  display: none !important;
}

.stacktable.small-only:not(:last-child) {
  margin-bottom: 12px;
}

/* .table-wrapper table.stacktable.small-only:last-child {
    display: none;
} */

.table-wrapper table.stacktable.small-only tbody tr:last-child .st-key {
  display: none;
}

.table-wrapper table.stacktable.small-only tbody tr:last-child .st-key:contains("Action") {
  display: none !important;
}

#billingTableWrapper table.stacktable.small-only tbody tr:last-child .st-key {
  display: table-cell;
}

.table-wrapper table.stacktable.small-only tbody tr:last-child .st-val.action {
  text-align: center;
  border-bottom: none;
}

@media only screen and (min-width: 833px) and (max-width: 1186px) {
  .table-wrapper {
    max-width: calc(100vw - 300px) !important;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
  table {
    table-layout: fixed;
  }

  #favoritesProductSupplierTable {
    table-layout: auto;
  }

  table thead th {
    width: 200px;
  }

  table.stacktable.large-only thead th {
    width: 200px;
  }

  #manageBillingTable thead th {
    width: 200px;
  }

  #myFavoritesTable thead th:last-child {
    width: 100px;
  }

  #manageDealsTableEmpty {
    table-layout: auto;
  }

  #myFavoritesTable {
    table-layout: fixed;
  }
}

/* Affiliate earnings */
.upgrade-account {
  background: linear-gradient(296deg, #222 0%, #0355a5 101.24%);
}

/* Checkbox style */

.round {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.round label {
  background-color: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 100%;
  cursor: pointer;
  height: 20px;
  width: 20px;
  display: block;
}

.round label:after {
  border: 2px solid #fff;
  border-top: none;
  border-right: none;
  content: "";
  height: 5px;
  left: 5px;
  opacity: 0;
  position: absolute;
  top: 7px;
  transform: rotate(-45deg);
  width: 10px;
}

.round input[type="checkbox"] {
  visibility: hidden;
  display: none;
  opacity: 0;
}

.round input[type="checkbox"]:checked+label {
  background-color: #e66927;
  border-color: #e66927;
}

.round input[type="checkbox"]:checked+label:after {
  opacity: 1;
}

.boxed {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.boxed label {
  background-color: #fff;
  border: 1px solid #cbd5e1;
  cursor: pointer;
  height: 20px;
  width: 20px;
  display: block;
  border-radius: 4px;
}

.boxed label:after {
  border: 2px solid #fff;
  border-top: none;
  border-right: none;
  content: "";
  height: 5px;
  left: 5px;
  opacity: 0;
  position: absolute;
  top: 7px;
  transform: rotate(-45deg);
  width: 10px;
}

.boxed input[type="checkbox"] {
  visibility: hidden;
  display: none;
  opacity: 0;
}

.boxed input[type="checkbox"]:checked+label {
  background-color: #e66927;
  border-color: #e66927;
}

.boxed input[type="checkbox"]:checked+label:after {
  opacity: 1;
}

/* Rating Styling */
.rate:hover {
  background-color: #fec802;
}

.rate:hover~.rate {
  background-color: #fec802;
}

.rate[data-clicked] {
  background-color: #fec802;
}

.rate[data-clicked]~.rate {
  background-color: #fec802;
}

.iti input.iti__tel-input,
.iti input.iti__tel-input[type="text"],
.iti input.iti__tel-input[type="tel"] {
  width: 100%;
  padding-left: 80px !important;
}

/* Breadcrumbs styling */
.breadcrumbs li {
  display: inline;
  list-style-type: none;
  margin-left: 0;
}

.breadcrumbs li:before {
  content: "/";
  padding-right: 4px;
  color: #64748b;
}

.breadcrumbs li .active {
  color: #1c1917;
  font-weight: 500;
}

.breadcrumbs li:first-child:before {
  content: "";
  padding-right: 0;
}