.only-mobile {
  display: none;
}

.divider {
  height: 1px;
  background-color: #e1e1e1;
  margin: 20px 0;
}

.bold {
  font-weight: 600;
}

.heavy {
  font-weight: 700;
}

.accent-text {
  color: #0a2e6b;
}

.info-text {
  color: #0067ff;
}

.error-text {
  color: #ee2b2b;
}

.w-full {
  width: 100%;
}

.w-fit {
  width: fit-content;
}

.text-black {
  color: #1f1f1f !important;
}

.text-grey {
  color: #636363 !important;
}

.flex {
  display: flex;

  &.flex-wrap {
    flex-wrap: wrap;
  }

  &.item-center {
    align-items: center;
  }

  &.justify-center {
    justify-content: center;
  }

  &.gap-3 {
    gap: 12px;
  }

  &.gap-2 {
    gap: 8px;
  }

  &.gap-1 {
    gap: 4px;
  }
}

.text-center {
  text-align: center;
}

.icon-text-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.calculator-box {
  color: var(--e-global-color-40b7b70);
  font-family: var(--e-global-typography-41be8d6-font-family), Sans-serif;

  border-radius: 24px;
  background: var(--Primitives-White, #fff);
  box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.05);
  padding: 32px 20px;
}

.calculator-rate {
  padding: 6px 16px;
  background-color: #e9f3ff;
  color: #0067ff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 32px;
  border-radius: 1000px;
  width: fit-content;
}

.calculator-box .send-currency {
  margin-bottom: 32px;
}

.calculator-box .get-currency {
  margin-bottom: 20px;
}

.calculator-grey-box {
  padding: 20px 16px;
  border-radius: 8px;
  background-color: #f5f5f5;
  margin-bottom: 20px;
}

.calculator-grey-box-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.calculator-grey-box-item-title {
  color: #636363;
}

.calculator-grey-box-item.no-margin {
  margin-bottom: 0;
}

.calculator-grey-box-meps-info {
  margin-bottom: 20px;
}

.calculator-grey-box-error-info {
  margin-bottom: 20px;
}

.calculator-instant-info-text {
  font-size: 14px;
}

.calculator-info {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 16px;
  margin-bottom: 20px;
  border-radius: 8px;
  background-color: #f5f9ff;
}

.input-currency-label {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.input-currency-container {
  display: flex;
  padding: 16px;
  gap: 12px;
  border: 1px solid #cecece;
  border-radius: 8px;
}

.input-currency-input {
  border: none;
  flex-grow: 1;

  /* Remove arrows in Chrome, Safari, Edge, Opera */
  input::-webkit-outer-spin-button,
  input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }

  /* Remove arrows in Firefox */
  input[type="number"] {
    -moz-appearance: textfield;
  }
}

.input-currency-input input {
  all: unset !important;
  width: 100% !important;
  color: #1f1f1f !important;
  font-size: 24px !important;
  font-family: var(--e-global-typography-41be8d6-font-family), Sans-serif;
}

.input-currency-error {
  margin-top: 8px;
}

.selected-currency-flag-value {
  font-size: 24px;
}

.currency-selector {
  position: relative;
  display: flex;
  cursor: pointer;
  min-width: fit-content;
}

.currency-selector .selected-currency {
  gap: 12px;
}

.dropdown-card {
  position: absolute;
  background-color: #fff;
  border: none;
  z-index: 1000;
  border-radius: 24px;
  background: var(--Primitives-White, #fff);
  box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.05);
  padding: 12px;
  width: fit-content;
  z-index: -1;
  opacity: 0;
  transition: all 0.3s ease-in-out;
  min-width: 350px;
  left: unset;
  top: 60px;
  transform: translateX(0%);
  height: fit-content;
  max-height: 300px;
  overflow: auto;
  right: -20px;
}

.dropdown-card.show {
  z-index: 1000;
  opacity: 1;
}

.calculator-box {
  border-radius: 24px;
  background: var(--Primitives-White, #fff);
  box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.05);
}

.currency-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px;
  cursor: pointer;
  background-color: #fff;
  transition: all 0.3s ease-in-out;
  margin-bottom: 8px;
  border-radius: 8px;

  &:last-child {
    margin-bottom: 0;
  }

  .currency-item-blue-check {
    opacity: 0;
  }

  &:hover {
    background-color: #f5f9ff;
  }

  &.active {
    .currency-item-blue-check {
      opacity: 1;
    }
  }
}

.currency-item-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.currency-item-text .currency-item-value {
  font-size: 16px;
  color: var(--n-menu-title-color-normal);
  font-weight: 600;
  line-height: 1.15;
}

.currency-item-text .currency-item-name {
  font-size: 16px;
  color: var(--e-global-color-c8fb3ab);
  font-weight: 400;
  line-height: 1.15;
}

/* ===========================
   Fixed Deposit – Base Styles
   =========================== */
.fixed-deposit {
  --fd-bg: #fff;
  --fd-card-bg: #fff;
  --fd-accent-weak: #e8efff;
  --fd-text: #0f172a;
  --fd-muted: #64748b;
  --fd-head-bg: #f8fafc;

  display: block;
  background: var(--fd-bg);
  color: var(--fd-text);
  font-feature-settings:
    "tnum" 1,
    "lnum" 1;
}

.fixed-deposit-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
}

.fixed-deposit-tabs {
  justify-content: center;
  display: flex;
  gap: 8px;
}

.fd-tab {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  gap: 12px;
  padding: 10px 12px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1;
  background-color: #fff !important;
  color: #636363 !important;
  border-radius: 16px !important;
  cursor: pointer;
  border: none !important;
}

.fd-tab:hover {
  background-color: none !important;
}

.fd-tab.is-active {
  background: #e9f3ff !important;
  color: #0a2e6b !important;
}

.fd-tab-icon {
  width: 24px;
  height: 24px;
  display: inline-block;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.fd-tab-icon-eur {
  background-image: url("/wp-content/themes/anext-themes/assets/icon/flag/flag-eur.svg");
}
.fd-tab-icon-usd {
  background-image: url("/wp-content/themes/anext-themes/assets/icon/flag/flag-usd.svg");
}
.fd-tab-icon-sgd {
  background-image: url("/wp-content/themes/anext-themes/assets/icon/flag/flag-sgd.svg");
}

.fd-tab.is-active .fd-tab-icon {
  filter: none;
  opacity: 1;
}

.fixed-deposit-tables {
  margin-top: 45px;
}

.fd-table-wrap {
  display: none;
}
.fd-table-wrap.is-active {
  display: block;
}

.fd-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
}

.fd-table {
  width: 100%;
  border-spacing: 0;
  min-width: 720px;
  font-size: 14px;
  border-collapse: collapse;
  border: none;
}

.fd-table th,
.fd-table td {
  min-width: 150px;
  vertical-align: middle;
}

.fd-table thead th {
  position: sticky;
  top: 0;
  color: #1f1f1f;
  text-align: center;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 18px 20px;
  border: none;
  background: transparent;
}

.fd-table tbody td {
  padding: 20px;
  font-size: 16px;
  font-weight: 400;
  color: #1f1f1f;
  font-family: "Inter", sans-serif;
  text-align: center;
  vertical-align: middle;
  border: none;
  background: transparent;
}

.fd-table thead {
  border-bottom: 1px solid #f5f6f7;
}

.fd-table tbody {
  border: none;
  background: transparent;
}

.fd-table tbody tr {
  border-bottom: 1px solid #f5f6f7;
  transition: none;
}

.fd-table tbody tr:last-child {
  border-bottom: none;
}

.fd-table tbody tr:hover {
  background: transparent;
}

table tbody > tr:nth-child(odd) > td,
table tbody > tr:nth-child(odd) > th {
  background: transparent !important;
}

table thead:first-child tr:first-child th {
  border-block-start: none !important;
}

table tbody > tr > td:not(:last-child),
table tbody > tr > th {
  border-right: 1px solid #f5f6f7 !important;
}

table tbody tr:hover > td,
table tbody tr:hover > th {
  background-color: transparent !important;
}

.fixed-deposit-empty {
  padding: 14px 16px;
  background: var(--fd-accent-weak);
  border: 1px dashed var(--fd-accent);
  border-radius: 10px;
  color: var(--fd-muted);
  font-size: 14px;
}

.fixed-deposit-empty.small {
  padding: 10px 12px;
  font-size: 13px;
}

@media (max-width: 768px) {
  .fixed-deposit-header {
    align-items: stretch;
    gap: 10px;
  }
  .fixed-deposit-tabs {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
  }
  .fd-tab {
    padding: 8px 12px;
  }
  .fixed-deposit-title {
    font-size: 16px;
  }
}

@media (max-width: 450px) {
  .fd-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .fd-table {
    border-collapse: separate;
    border-spacing: 0;
    min-width: 720px;
    width: max-content;
  }

  .fd-table th,
  .fd-table td {
    white-space: nowrap;
    position: relative;
  }

  .fd-table th:first-child,
  .fd-table td:first-child {
    position: sticky;
    left: 0;
    background: #fff !important;
    z-index: 3;
  }

  .fd-table thead th:first-child {
    z-index: 4;
  }
}

/* ===========================
   Secured Loan Form Styles
   =========================== */
.secured-loan {
  max-width: 880px;
  margin: 0 auto;
}
.af-label {
  font-size: 12px;
  color: #94a3b8;
  margin: 12px 0 8px;
}
.af-sub {
  display: block;
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 6px;
}
.af-radio-grid {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.af-radio {
  position: relative;
  flex-grow: 1;
  max-width: 50%;
}
.af-radio-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.af-radio-txt {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.15;
  color: #1f1f1f;
}
.custom-input.af-custom-select {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.15;
  color: #1f1f1f;

  appearance: none; /* remove default arrow */
  -webkit-appearance: none;
  -moz-appearance: none;

  background: white
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8' fill='none'><path d='M1 1L7 7L13 1' stroke='%238C8C8C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>")
    no-repeat right 1rem center !important;

  background-size: 10px !important;
  padding-right: 2rem !important; /* make space for arrow */
  border: 1px solid #ccc !important;
  border-radius: 6px !important;
}
.af-radio-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  justify-content: space-between;
}
.af-radio-input:checked + .af-radio-box {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}
.af-radio-check {
  width: 24px;
  height: 24px;
  border: 1.5px solid #cbd5e1;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.af-radio-input:checked + .af-radio-box .af-radio-check {
  background: #2563eb;
  border-color: #2563eb;
  &::after {
    content: "";
    display: block;
    width: 16px;
    height: 13px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='13' viewBox='0 0 16 13' fill='none'><g filter='url(%23filter0_d_1740_3097)'><path fill-rule='evenodd' clip-rule='evenodd' d='M13.3851 0.496566C13.9392 -0.119199 14.8877 -0.169117 15.5034 0.385072C16.1192 0.93926 16.1691 1.88769 15.6149 2.50346L6.61494 12.5035C6.04003 13.1422 5.04703 13.1684 4.43934 12.5607L0.43934 8.56067C-0.146447 7.97489 -0.146447 7.02514 0.43934 6.43935C1.02513 5.85357 1.97487 5.85357 2.56066 6.43935L5.44271 9.3214L13.3851 0.496566Z' fill='white'/></g><defs><filter id='filter0_d_1740_3097' x='-2' y='-1' width='20' height='17' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'><feFlood flood-opacity='0' result='BackgroundImageFix'/><feColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0' result='hardAlpha'/><feOffset dy='1'/><feGaussianBlur stdDeviation='1'/><feColorMatrix type='matrix' values='0 0 0 0 0.101961 0 0 0 0 0.101961 0 0 0 0 0.101961 0 0 0 0.08 0'/><feBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow_1740_3097'/><feBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow_1740_3097' result='shape'/></filter></defs></svg>")
      no-repeat center center;
    background-size: contain;
  }
}
.af-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 52px;
}
.af-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
}
.af-field.is-error .af-input,
.af-group.is-error .af-radio-box {
  border-color: #ee2b2b;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.1);
}

.custom-input-container {
  margin-bottom: 52px;
}

.af-error {
  margin-top: 6px;
  font-size: 12px;
  color: #ee2b2b;
  min-height: 16px;
}
.af-actions {
  text-align: center;
  margin: 20px 0;
}
.af-submit {
  padding: 10px 20px;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  border: none !important;
}
.af-modal[aria-hidden="true"] {
  display: none;
}
.af-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.35);
  z-index: 9999;
}
.af-modal-card {
  width: 360px;
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}
.af-modal-close {
  position: absolute;
  right: 16px;
  top: 12px;
  background: transparent !important;
  border: none;
  font-size: 20px;
}
.af-modal-ico {
  width: 80px;
  height: 80px;
  margin: 8px auto 10px;
  background: #d1fae5;
  color: #10b981;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 36px;
}
.af-modal-title {
  margin: 4px 0 8px;
}
.af-modal-ok {
  margin-top: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  border: none;
}
@media (max-width: 720px) {
  .af-two {
    grid-template-columns: 1fr;
  }
}

/* ===========================
   API Form Styles
   =========================== */
.api-form {
  max-width: 880px;
  margin: 0 auto;
}
.af2-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.custom-input-label {
  display: block;
  color: #1f1f1f;
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 600;

  &.thin {
    font-weight: 400;
    color: #636363;
    margin-bottom: 12px;
  }
}
.custom-input {
  width: 100% !important;
  min-height: 48px !important;
  padding: 12px 16px !important;
  border-radius: 8px !important;
  border: 1px solid #cecece !important;
  background: #fff !important;
  transition: all 0.3s ease;
  outline: none !important;
}

.custom-input:hover,
.custom-select-input-wrap:hover {
  border: 1.5px solid #cecece !important;
}

.custom-input:focus,
.custom-select-input-wrap:focus {
  border: 1.5px solid #0067ff !important;
}

.custom-input-field.is-error .custom-input,
.custom-input-field.is-error .custom-select-input-wrap {
  border: 1.5px solid #ee2b2b !important;
}

.custom-input-error {
  margin-top: 8px;
  font-size: 16px;
  color: #ee2b2b;
  min-height: 16px;
  display: none;
  font-weight: 500;

  &.active {
    display: block;
  }

  &.consent {
    margin-left: calc(24px + 10px);
  }
}

.af2-consent {
  margin: 10px 0 6px;
}
.af2-consent-text {
  color: #636363;
  font-size: 14px;
  line-height: 1.5;
  flex-grow: 1;
  max-width: calc(100% - 34px);

  a {
    color: #636363 !important;
    text-decoration: underline !important;
  }
}
.af2-consent-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  flex-wrap: wrap;
}

/* Basic custom checkbox styling */
.af2-checkbox[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border: 1.5px solid #cecece;
  border-radius: 4px;
  background-color: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* Optional: hover effect */
.af2-checkbox[type="checkbox"]:hover {
  border-color: #b3b3b3;
}

/* Checked state */
.af2-checkbox[type="checkbox"]:checked {
  background-color: #2563eb; /* or your brand color */
  border-color: #2563eb;
  background-image: url("data:image/svg+xml;utf8,<svg fill='white' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'><path d='M6.173 12.252a.75.75 0 0 1-1.06 0L2.47 9.61a.75.75 0 1 1 1.06-1.06L6 10.94l6.47-6.47a.75.75 0 1 1 1.06 1.06L6.173 12.252z'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 70%;
}

.af2-consent.is-error .af2-checkbox[type="checkbox"] {
  border-color: #ee2b2b;
}

.af2-actions {
  text-align: center;
  margin: 22px 0;
}
.af2-submit {
  padding: 10px 22px;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  border: none !important;
}

.custom-success-form-modal[aria-hidden="true"] {
  display: none;
}
.custom-success-form-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.35);
  z-index: 9999;
}
.custom-success-form-modal-card {
  width: 450px;
  background: #fff;
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  position: relative;
}
.custom-success-form-modal-close {
  position: relative;
  text-align: right;
  background: transparent !important;
  border: none;
  width: 100%;
  padding: 0 !important;
}
.custom-success-form-modal-ico {
  width: 100%;
  height: 160px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.custom-success-form-modal-title {
  margin: 4px 0 8px;
  font-size: 24px;
  font-weight: 600;
  margin-top: 24px;
}

.custom-success-form-modal-desc {
  color: #636363;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.25;
}

.custom-success-form-modal-ok {
  margin-top: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  border: none;
  margin-top: 24px;
  width: 100%;
}
@media (max-width: 720px) {
  .af2-two {
    grid-template-columns: 1fr;
  }
}

/* ===== Pay monthly calculator ===== */
.lc {
  font-family: "Inter", sans-serif;
  color: #111827;
}

.lc-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 80px;
}

.lc-left {
  flex-grow: 1;
  max-width: 60%;
}

.lc-right {
  flex-grow: 1;
  max-width: 40%;
}

.lc-result-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.lc-left .lc-label,
.lc-right .lc-result-title {
  font-weight: 400;
  font-size: 16px;
  color: #1f1f1f;
  margin-bottom: 8px;
}

.lc-amount {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 8px;
  width: fit-content;
  cursor: pointer;
  min-height: 42px;
}

.lc-amount-currency {
  font-size: 20px;
  font-weight: 700;
  color: #1f1f1f;
  align-self: flex-end;
}

.lc-amount-value {
  font-size: 28px;
  font-weight: 700;
  color: #1f1f1f;
  line-height: 1;
}

.lc-amount-edit {
  width: 16px;
  height: 16px;
  display: grid;
  padding: 0px 0px 40px 0px !important;
  place-items: center;
  border: none !important;
  background: none !important;
  color: #fff;
  cursor: pointer;
}

.lc-amount-input {
  all: unset;
  font-size: 28px;
  font-weight: 700;
  border: none !important;
  padding: 0 !important;
  caret-color: #1f1f1f;
}

.lc-slider {
  margin: 16px 0 8px;
  position: relative;
}

.lc-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(
    to right,
    #2563eb var(--range-progress, 0%),
    #e5e5e5 var(--range-progress, 0%)
  );
  outline: none;
  overflow: visible; /* allows large thumb to render properly */
}

/* Track (WebKit) */
.lc-range::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 4px;
  background: transparent; /* already defined above */
}

/* Thumb (WebKit) */
.lc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  height: 28px;
  width: 28px;
  border-radius: 50%;
  background: radial-gradient(circle at center, white 4px, #2563eb 5px);
  cursor: pointer;
  margin-top: -10px; /* centers thumb vertically (100px/2 - 8px/2) */
  position: relative;
  z-index: 2;
}

/* White dot inside thumb */
.lc-range::-webkit-slider-thumb::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: #ffffff;
  z-index: 3;
}

/* Firefox */
.lc-range::-moz-range-track {
  height: 8px;
  border-radius: 4px;
  background: #e5e5e5;
}
.lc-range::-moz-range-progress {
  height: 8px;
  border-radius: 4px;
  background: #2563eb;
}
.lc-range::-moz-range-thumb {
  height: 28px;
  width: 28px;
  border-radius: 50%;
  background: #2563eb;
  cursor: pointer;
  position: relative;
}

/* White dot inside thumb for Firefox */
.lc-range::-moz-range-thumb::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: #ffffff;
}

.lc-range-min,
.lc-range-max {
  font-size: 14px;
  font-weight: 400;
  color: #1f1f1f;
  margin-top: 6px;
}

.lc-range-min {
  float: left;
}

.lc-range-max {
  float: right;
  text-align: right;
}

.lc-month {
  margin-top: 50px;
}

.lc-periods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
  width: 70%;
}

.lc-period {
  padding: 8px 0px !important;
  border-radius: 999px;
  background: transparent !important ;
  color: #636363 !important;
  border: none !important;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 16px !important;
  font-weight: 600 !important;
  min-height: 40px;
  border-radius: 12px !important;
}

.lc-period:hover {
  color: #0a2e6b !important;
}

.lc-period.is-active {
  background: #dcebff !important;
  color: #0a2e6b !important;
}

/* === Right side (summary) === */

.lc-result-title {
  font-weight: 400;
  font-size: 16px;
  color: #1f1f1f;
  margin-bottom: 10px;

  &.pay-per-use {
    margin-bottom: 20px;
  }
}

.lc-result-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0a2e6b;
  color: #fff;
  padding: 8px 24px;
  border-radius: 999px;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 40px;

  &.pay-per-use {
    margin-bottom: 20px;
  }
}

.lc-pill-currency {
  padding-top: 8px;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 700;
}

.lc-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: fit-content;
}

.lc-summary-item {
  margin-bottom: 8px;
}

.lc-summary-label {
  font-size: 14px;
  font-weight: 400;
  color: #636363;
  margin-bottom: 4px;
}

.lc-summary-value {
  font-size: 16px;
  font-weight: 700;
  color: #1f1f1f;
}

.lc-summary-value strong {
  font-weight: 700;
}

.lc-graph {
  width: 100%;
  height: 130px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  cursor: pointer;
}

.lc-graph-bar:hover {
  .lc-graph-bar-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translate(calc(-50% - 5px), calc(-100% - 15px));
  }
}

.lc-graph-bar-tooltip {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 0px;
  left: 50%;
  transform: translate(calc(-50% - 5px), calc(-100% - 10px));
  background: rgba(0, 0, 0, 1);
  color: #fff;
  padding: 8px 12px;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  width: 150px;
  z-index: 1;
  transition: all 0.2s ease;
  text-align: center;
  word-spacing: normal;

  &::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 10px;
    height: 10px;
    background: rgba(0, 0, 0, 1);
    transform: rotate(45deg);
    z-index: -1;
  }
}

.lc-graph-bar {
  width: 30px;
  height: fit-content;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
}

.lc-graph-bar-value {
  height: 20px;
  width: 6px;
  background: #0067ff;
  border-radius: 12px;
  position: relative;
  transition: all 0.4s ease;
}

.lc-graph-bar-value.last {
  flex-grow: 1;
  height: 100px;
}

.lc-graph-bar-monthly {
  height: 20px;
  width: 6px;
  background: #ffc254;
  border-radius: 12px;
  position: absolute;
  bottom: 0;
  transition: all 0.2s ease;
  transition-delay: 0.2s;
}

.lc-graph-bar-label {
  font-size: 14px;
  font-weight: 400;
  color: #1f1f1f;
  margin-top: 8px;
}

.lc-graph-bar.disabled {
  .lc-graph-bar-label {
    color: #bbb;
  }

  .lc-graph-bar-tooltip {
    opacity: 0;
    visibility: hidden;
  }

  .lc-graph-bar-value {
    height: 0;
  }

  .lc-graph-bar-monthly {
    height: 0;
  }
}

.lc-details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 0px 24px;
  margin-top: 24px;
}

.lc-details-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: fit-content;
}

.lc-details-item-label-container {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.lc-details-item-legend {
  width: 8px;
  height: 8px;
  border-radius: 100%;

  &.blue {
    background: #0067ff;
  }

  &.yellow {
    background: #ffc254;
  }
}

.lc-details-item-label {
  font-size: 14px;
  font-weight: 400;
  color: #636363;
}

.lc-details-item-value {
  font-size: 14px;
  font-weight: 700;
  color: #1f1f1f;
}

.lc-repayment-schedule {
  width: 100%;
  padding: 12px;
  background: #fff;
  border-radius: 8px;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;

  .lc-repayment-schedule-content {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .lc-repayment-schedule-icon {
    width: 40px;
    height: 40px;
    border-radius: 100%;
    background: #e9f3ff;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .lc-repayment-schedule-label {
    font-size: 16px;
    font-weight: 600;
    color: #1f1f1f;
  }

  .lc-repayment-schedule-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.lc-repayment-schedule-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 99999;
  padding: 16px 16px 32px;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  overflow: auto;

  &.active {
    opacity: 1;
    visibility: visible;
  }

  .lc-repayment-schedule-modal-close {
    cursor: pointer;
    margin-bottom: 24px;
  }

  .lc-repayment-schedule-modal-title-container {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;

    .lc-repayment-schedule-modal-title {
      font-size: 28px;
      font-weight: 700;
      color: #1f1f1f;
    }

    .lc-repayment-schedule-modal-subtitle {
      font-size: 16px;
      font-weight: 400;
      color: #636363;
    }
  }

  .lc-repayment-schedule-modal-item-container {
    display: flex;
    gap: 16px;
  }

  .lc-repayment-schedule-modal-item {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .lc-repayment-schedule-modal-content {
    position: relative;
  }

  .lc-repayment-schedule-modal-line {
    position: absolute;
    top: 32px;
    left: calc(32px / 2);
    width: 2px;
    height: calc(100% - 64px);
    background: #f0f0f0;
    z-index: 1;
  }

  .lc-repayment-schedule-modal-item-title-container {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 24px 0;

    .lc-repayment-schedule-modal-item-title {
      font-size: 16px;
      font-weight: 700;
      color: #1f1f1f;
    }

    .lc-repayment-schedule-modal-item-subtitle {
      font-size: 14px;
      font-weight: 400;
      color: #636363;
    }
  }

  .lc-repayment-schedule-modal-circle {
    width: 32px;
    height: 32px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;

    > div {
      width: 12px;
      height: 12px;
      background: #e9f3ff;
      border-radius: 100%;
    }
  }
}

/* ===========================
   CSP Style
   =========================== */

.csp-invite-root {
  display: block;
  padding: 56px 20px 72px;
  border-radius: 16px;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.csp-input-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.14);
  padding: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(2px);
  transition: border-color 0.2s ease;
}
.csp-input {
  width: 280px;
  max-width: 64vw;
  border: 0 !important;
  outline: 0 !important;
  background: transparent;
  color: #fff;
  padding: 12px 16px 12px 18px;
  font-size: 16px;
}
.csp-input::placeholder {
  color: #fff;
  opacity: 0.7;
}
.csp-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0 !important;
  outline: 0 !important;
  cursor: pointer !important;
  border-radius: 999px !important;
  padding: 12px 22px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  background: #000000 !important;
  color: #fff !important;
  transition:
    transform 0.05s ease,
    opacity 0.2s ease,
    background 0.2s ease !important;
}

.csp-btn:hover {
  background: #1f1f1f !important;
}

.csp-btn:disabled {
  opacity: 0.7 !important;
  cursor: not-allowed !important;
}
.csp-btn:active {
  transform: translateY(1px) !important;
}

.csp-input-row:has(.csp-help.is-error) {
  border-color: #ff4343 !important;
}

.csp-help {
  min-height: 20px;
  font-size: 16px;
  font-weight: 700;
  position: absolute;
  bottom: -14px;
  transform: translateY(100%);
  text-align: left;
  width: 100%;
  padding: 0 1rem;
}

.csp-help.is-error {
  color: #ff4343;
}
.csp-help.is-ok {
  color: #bfffc5;
}

.csp-country-selector {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 450px;
  background: #fff;
  z-index: 9999;
  transform: translate(-50%, -50%);
  padding: 40px 32px;
  border-radius: 16px;
  color: #1f1f1f;
  text-align: left;
  font-family: "inter", sans-serif;

  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;

  &.active {
    pointer-events: all;
    opacity: 1;
    visibility: visible;
  }

  .csp-country-selector-top {
    display: flex;
    margin-bottom: 32px;
  }

  .csp-country-option-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
  }

  .csp-country-selector-radio {
    width: 24px;
    height: 24px;
    border-radius: 100%;
    border: 1.5px solid #cecece;
    display: flex;
    align-items: center;
    justify-content: center;

    &::after {
      content: "";
      width: 8px;
      height: 8px;
      background: #fff;
      border-radius: 100%;
    }
  }

  .csp-country-selector-close {
    cursor: pointer;
    width: fit-content;
    flex-grow: 1;
  }

  .csp-country-selector-title {
    font-size: 24px;
    font-weight: 700;
    color: #1f1f1f;
  }

  .csp-country-selector-desc {
    font-size: 16px;
    font-weight: 400;
    color: #636363;
  }

  .csp-country-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
    cursor: pointer;
    padding: 20px;
    background: #fff;
    border: 1px solid #cecece;
    border-radius: 16px;
    transition: all 0.2s ease;

    &:hover {
      border: 1.5px solid #cecece !important;
    }

    &.active {
      border: 1.5px solid var(--primary, #0067ff) !important;

      .csp-country-selector-radio {
        background: #0067ff;
        border: 1.5px solid #0067ff;
      }
    }
  }

  .csp-country-icon {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .csp-country-option-label {
    font-size: 24px;
    font-weight: 600;
    color: #1f1f1f;
  }

  .csp-country-selector-button {
    text-align: center;
    margin-top: 32px;
    button {
      border: none !important;
    }

    &.disabled {
      button {
        background: #e8e8e8 !important;
        color: #cecece !important;
        cursor: not-allowed;
      }
    }
  }

  .csp-country-selector-option-container {
    display: none;

    &.active {
      display: block;
    }
  }
}

.loading-button {
  display: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  &.active {
    display: block;
    opacity: 1;
    visibility: visible;
  }
}

.animate-rotate {
  animation: animate-rotate 1s linear infinite;
}

.loan-status-wrap {
  &.active {
    margin-bottom: 24px;
  }
}

.custom-select-input {
  position: relative;
  color: #bbb;

  &.filled {
    color: #1f1f1f;
  }

  .custom-select-input-wrap {
    min-height: 48px;
    padding: 0px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #cecece;
    cursor: pointer;
  }

  .custom-select-input-wrap:hover {
    border: 1.5px solid #cecece;
  }

  .custom-select-arrow {
    display: flex;
    align-content: center;
    justify-content: center;
    transform: rotate(180deg);
    transition: all 0.3s ease;
  }

  .custom-select-option-container {
    width: 100%;
    border-radius: 8px;
    background: #fff;
    min-width: 375px;
    max-height: 391px;
    overflow-y: auto;
    margin-top: 4px;
    position: absolute;
    bottom: -4px;
    left: 0;
    transform: translate(0px, 100%);
    color: #1f1f1f;
    border: 1px solid #cecece;

    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
  }

  .custom-select-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 0px 12px;
    cursor: pointer;

    .custom-select-check {
      opacity: 0;
      transition: all 0.3s ease;
    }

    &.active {
      .custom-select-check {
        opacity: 1;
      }
    }
  }

  &.active {
    .custom-select-input-wrap {
      border: 1.5px solid var(--primary, #0067ff) !important;
    }

    .custom-select-arrow {
      transform: rotate(0deg);
    }

    .custom-select-option-container {
      pointer-events: all;
      opacity: 1;
      visibility: visible;
    }
  }
}

.custom-dropdown {
  position: relative;
  cursor: pointer;
  pointer-events: all;

  &.plain {
    cursor: default;
    pointer-events: none;

    .custom-dropdown-selected-container {
      border: none;
      padding: 0;
    }

    .custom-dropdown-caret {
      display: none;
    }
  }

  .custom-dropdown-card {
    position: absolute;
    background-color: #fff;
    border: 1px solid #cecece;
    z-index: 1000;
    border-radius: 24px;
    background: var(--Primitives-White, #fff);
    box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.05);
    padding: 12px;
    width: fit-content;
    z-index: -1;
    opacity: 0;
    transition: all 0.3s ease-in-out;
    min-width: 350px;
    left: unset;
    top: 60px;
    transform: translateX(0%);
    height: fit-content;
    max-height: 300px;
    overflow: auto;
    right: -20px;

    border: none;
  }

  .custom-dropdown-card.show {
    z-index: 1000;
    opacity: 1;
  }

  .custom-dropdown-selected-container {
    border: 1px solid #cecece;
    padding: 8px 16px;
    border-radius: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    transition: all 0.3s ease;

    &:hover {
      background: #e8e8e8;
      border: 1px solid #e8e8e8;
    }
  }

  .custom-dropdown-selected-item {
    font-size: 16px;
    font-weight: 600;
    color: #1f1f1f;
  }

  .custom-dropdown-item-message {
    text-align: center;
    font-size: 16px;
    color: #1f1f1f;
    padding: 20px 16px;
    border-top: 1px solid #d9d9d9;
  }

  .custom-dropdown-item {
    cursor: pointer;
    padding: 12px;
    border-radius: 16px;
    background: #fff;
    transition: all 0.3s ease;
    margin-bottom: 8px;

    &.disable {
      cursor: not-allowed;
      pointer-events: none;
      color: #bbbbbb !important;

      .text-grey {
        color: #bbbbbb !important;
      }
    }

    .custom-dropdown-item-blue-check {
      opacity: 0;
      transition: all 0.3s ease;
    }

    .custom-dropdown-item-content {
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 16px;
    }

    .custom-dropdown-item-name {
      font-size: 18px;
      font-weight: 700;
    }

    .custom-dropdown-item-fee {
      margin-top: 4px;
    }

    &:hover {
      background: #f5f9ff;
    }

    &.active {
      .custom-dropdown-item-blue-check {
        opacity: 1;
      }
    }
  }
}

.text-loading {
  position: relative;
  &::before {
    content: "";
    background: #e8e8e8;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    border-radius: 8px;
  }

  &::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.6) 50%,
      transparent 100%
    );
    animation: shimmer 1.5s infinite;
  }
}

.fixed-deposit-calculator {
  .fix-deposit-calculator-currency {
    cursor: pointer;
    padding: 10px 16px;
    border-radius: 12px;
    background: transparent;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 700;
    color: #636363;

    &:hover {
      background: #e9f3ff;
      color: #0a2e6b;
    }

    &.active {
      background: #e9f3ff;
      color: #0a2e6b;
    }
  }

  .fix-deposit-calculator-interest-title {
    font-size: 20px;
    font-weight: 700;
    color: #1f1f1f;
    margin-bottom: 4px;
  }

  .fix-deposit-calculator-interest-value {
    font-size: 98px;
    font-weight: 700;
    color: #1f1f1f;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    line-height: 1;

    .currency {
      font-size: 40px;
      font-weight: 700;
      color: #1f1f1f;
      align-self: flex-end;
      margin-left: 16px;
      line-height: 1.25;
    }
  }

  .fix-deposit-calculator-total-value {
    font-size: 16px;
    font-weight: 700;
    color: #636363;
    background-color: #f5f6f7;
    padding: 8px 16px;
    border-radius: 8px;
  }

  .lc-slider-value {
    position: relative;
    width: fit-content;
    transform: translate(-50%, -12px);
    font-size: 16px;
    background: #0067ff;
    min-height: 32px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 20px;
    color: #fff;
    display: flex;
    gap: 4px;
  }

  .lc-slider-label {
    position: relative;
    width: fit-content;
    transform: translate(-50%, 12px);
    font-size: 16px;
    font-weight: 700;
    color: #1f1f1f;
  }

  .fix-deposit-calculator-interest-container {
    margin-top: 32px;
    margin-bottom: 38px;
  }

  .fixed-deposit-calculator-month-container {
    margin-top: 36px;
  }

  .fix-deposit-calculator-month {
    font-size: 16px;
    font-weight: 600;
    color: #636363;
    cursor: pointer;
    padding: 10px 16px;
    border-radius: 12px;
    background: transparent;
    transition: all 0.3s ease;

    &:hover {
      background: #e9f3ff;
      color: #0a2e6b;
    }

    &.active {
      background: #e9f3ff;
      color: #0a2e6b;
    }
  }
}

.faq-topic-nav-container {
  display: flex;
  flex-direction: column;
  gap: 4px;

  .faq-topic-item {
    padding: 20px;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;

    &.active {
      background: #e9f3ff;

      div {
        color: #0a2e6b;
      }
    }

    &:hover {
      background: #f9f9f9;
    }

    div {
      font-weight: 700;
      font-size: 16px;
      color: #1f1f1f;
    }
  }
}

.faq-breadcrumb {
  font-size: 14px;
  font-weight: 700;
  color: #636363;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex-direction: row;

  a {
    color: #636363;
    transition: all 0.3s ease;

    &:hover {
      opacity: 0.5;
    }
  }

  span {
    color: #1f1f1f;
  }
}

.faq-search {
  width: 100%;
  .faq-search-input-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #cecece;
    cursor: pointer;
    padding: 0px 16px;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    transition: all 0.3s ease;
    &:hover {
      border: 1.5px solid #0067ff;
    }
    &.active {
      border: 1.5px solid #0067ff;
    }
  }
  .faq-search-icon {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .faq-search-close {
    display: flex;
    align-items: center;
    justify-content: center;
    img {
      cursor: pointer;
      background: #e8e8e8;
      border-radius: 100%;
    }
  }
  .faq-search-input {
    flex-grow: 1;
    width: auto;
    border: none;
    outline: none;
    color: #1f1f1f;
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 16px;
    font-weight: 400;
  }
  .faq-search-result-container {
    position: absolute;
    width: 100%;
    z-index: 10;
    background: white;
    max-height: 400px;
    overflow: auto;
    &.active {
      border: 1px solid #cecece;
      box-shadow: 0px 1px 0px 0px #1a1a1a14;
      border-radius: 8px;
    }
  }
  .faq-search-loading-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    .faq-search-loading {
      min-height: 200px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    img {
      animation: animate-rotate 1s linear infinite;
    }
  }
  .faq-search-result-item {
    color: #1f1f1f;
    padding: 8px 16px;
    cursor: pointer;
    background: transparent;
    transition: all 0.3s ease;
    &:hover {
      background: #e9f3ff;
    }
    .faq-search-result-item-title {
      margin: 0px;
      font-size: 16px;
      font-weight: 400;
    }
    .faq-search-result-item-content {
      color: #636363;
      font-size: 14px;
      font-weight: 400;
    }
    .faq-highlight {
      font-weight: 700;
    }
  }

  .faq-search-no-result {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 200px;

    .faq-search-no-result-icon {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 13px;
      background: #f5f6f7;
      border-radius: 100%;
      svg {
        width: 30px;
        height: 30px;
      }
    }

    .faq-search-no-result-text {
      font-size: 16px;
      font-weight: 700;
      color: #1f1f1f;
      margin-top: 16px;
      text-align: center;
    }
  }
}

.button-loading {
  img {
    width: 16px;
    transform-origin: 30%;
    animation: animate-rotate 1s linear infinite;
  }
}

@keyframes animate-rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* ===========================
   Custom Tooltip for Share Buttons
   =========================== */
.elementor-share-btn {
  position: relative;
  overflow: unset !important;
}

.elementor-share-btn__tooltip {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background-color: #1f1f1f;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  font-family: "Inter", sans-serif;
  padding: 8px 12px;
  border-radius: 12px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.2s ease;
  pointer-events: none;
  z-index: 1000;
  word-spacing: normal;
}

/* Arrow */
.elementor-share-btn__tooltip::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent #1f1f1f transparent;
}

/* Show tooltip on hover */
.elementor-share-btn:hover .elementor-share-btn__tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(4px);
}

@media (max-width: 768px) {
  /* Mobile styles can remain or be adjusted if needed. 
     Currently matching the new default (below), so specific overrides 
     might not be strictly necessary unless ensuring behavior. 
     Leaving consistent with new default. */
  .elementor-share-btn__tooltip {
    top: calc(100% + 10px);
    bottom: auto;
  }

  .elementor-share-btn__tooltip::after {
    top: auto;
    bottom: 100%;
    border-color: transparent transparent #1f1f1f transparent;
  }

  .elementor-share-btn:hover .elementor-share-btn__tooltip {
    transform: translateX(-50%) translateY(4px);
  }
}

/* Copy Link Button - extends .elementor-share-btn */
.elementor-share-btn_copy-link {
  cursor: pointer;
}

/* Copy Link Tooltip - extends .elementor-share-btn__tooltip */
.elementor-share-btn_copy-link .elementor-share-btn__tooltip {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Success state for copy link */
.elementor-share-btn_copy-link .elementor-share-btn__tooltip.is-copied {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(4px);
}

.elementor-share-btn_copy-link .elementor-share-btn__tooltip .copied-icon {
  display: none;
  width: 16px;
  height: 16px;
}

.elementor-share-btn_copy-link
  .elementor-share-btn__tooltip.is-copied
  .copied-icon {
  display: inline-block;
}

.elementor-share-btn_copy-link .elementor-share-btn__icon path {
  fill: transparent;
  stroke-width: 2px;
}

@media (max-width: 768px) {
  .elementor-share-btn_copy-link .elementor-share-btn__tooltip.is-copied {
    transform: translateX(-50%) translateY(4px);
  }
}

/* Override Elementor Table */
.elementor-table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  margin-bottom: 3rem;
  /* border: 1px solid hsl(0deg 0% 50% / 12%) */
}

.elementor-table-responsive table {
  width: 100%;
  border-spacing: 0;
  min-width: 720px;
  font-size: 14px;
  border-collapse: collapse;
  margin: 0;
  border: none;
}

.elementor-table-responsive th,
.elementor-table-responsive td {
  min-width: 220px;
  vertical-align: middle;
}

.elementor-table-responsive thead th {
  position: sticky;
  top: 0;
  color: #1f1f1f;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 18px 20px;
  border: none;
  background: transparent;
}

.elementor-table-responsive tbody td {
  padding: 20px;
  font-size: 16px;
  font-weight: 400;
  color: #1f1f1f;
  font-family: "Inter", sans-serif;
  vertical-align: middle;
  border: none;
  background: transparent;
}

.elementor-table-responsive thead {
  border-bottom: 1px solid #f5f6f7;
}

.elementor-table-responsive tbody {
  border: none;
  background: transparent;
}

.elementor-table-responsive tbody tr {
  border-bottom: 1px solid #f5f6f7;
  transition: none;
}

.elementor-table-responsive tbody tr:last-child {
  border-bottom: none;
}

.elementor-table-responsive tbody tr:hover {
  background: transparent;
}

.elementor-table-responsive th:first-child,
.elementor-table-responsive td:first-child {
  position: sticky;
  left: 0;
  background: #fff !important;
  z-index: 10;
}

@media (max-width: 1024px) {
  .elementor-table-responsive th,
  .elementor-table-responsive td {
    min-width: 170px;
    width: 170px;
  }
}

@media (max-width: 450px) {
  .elementor-table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .elementor-table-responsive table {
    /* border-collapse: separate; */ /* reason: ini bikin border tidak muncul */
    border-spacing: 0;
    min-width: 720px;
    width: max-content;
  }

  .elementor-table-responsive th,
  .elementor-table-responsive td {
    position: relative;
  }

  .elementor-table-responsive th:first-child,
  .elementor-table-responsive td:first-child {
    position: sticky;
    left: 0;
    background: #fff !important;
    z-index: 3;
  }

  .elementor-table-responsive thead th:first-child {
    z-index: 4;
  }
}
