/* Prevent horizontal scrollbar: clip overflow so content never exceeds viewport (fixes 100vw/full-bleed overflow) */
html {
  overflow-x: clip;
}

/* Copy Animation */
.base-color {
  color: hsl(var(--base)) !important;
}

.copyInput {
  display: inline-block;
  line-height: 50px;
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  text-align: center;
  font-size: 14px;
  cursor: pointer;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.copied::after {
  position: absolute;
  top: 8px;
  right: 12%;
  width: 100px;
  display: block;
  content: "COPIED";
  font-size: 1em;
  padding: 5px 5px;
  color: #fff;
  background-color: hsl(var(--base));
  border-radius: 3px;
  opacity: 0;
  will-change: opacity, transform;
  animation: showcopied 1.5s ease;
}

@keyframes showcopied {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }

  50% {
    opacity: 0.7;
    transform: translateX(40%);
  }

  70% {
    opacity: 1;
    transform: translateX(0);
  }

  100% {
    opacity: 0;
  }
}

.cookies-card__desc {
  font-size: 0.875rem;
}

.cookies-card__desc a {
  color: hsl(var(--white));
  text-decoration: underline;
}

@keyframes showcopied {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }

  50% {
    opacity: 0.7;
    transform: translateX(40%);
  }

  70% {
    opacity: 1;
    transform: translateX(0);
  }

  100% {
    opacity: 0;
  }
}

.cookies-card {
  width: 720px;
  max-width: calc(100% - 30px);
  padding: 24px;
  position: fixed;
  bottom: 15px;
  left: 15px;
  z-index: 999999;
  transition: all 0.5s;
  background: hsl(var(--white));
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.cookies-card-content {
  flex: 1;
}

.cookies-card__btn {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 120px;
}

.cookies-card.hide {
  bottom: -500px !important;
}

.radius--10px {
  border-radius: 10px;
}

.cookies-card__icon {
  border-radius: 50%;
  background-color: transparent;
  color: hsl(var(--white));
  font-size: 42px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.cookies-card__content {
  margin-bottom: 0;
}

.cookies-btn {
  color: #363636;
  text-decoration: none;
  padding: 10px 35px;
  margin: 3px 5px;
  display: inline-block;
  border-radius: 999px;
}

.cookies-btn:hover {
  color: #363636;
}

@media (max-width: 767px) {
  .cookies-card {
    width: 100%;
    left: 0;
    bottom: 0;
    font-size: 14px;
    padding: 15px;
  }
}

@media (max-width: 575px) {
  .cookies-card {
    flex-direction: column;
  }

  .cookies-card__btn {
    flex-direction: row;
    align-items: flex-end;
    width: 100%;
  }
}

.hover-input-popup {
  position: relative;
}

.input-popup {
  display: none;
}

.hover-input-popup .input-popup {
  display: block;
  position: absolute;
  bottom: 130%;
  left: 50%;
  width: 280px;
  background-color: #1a1a1a;
  color: #fff;
  padding: 20px;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.input-popup::after {
  position: absolute;
  content: "";
  bottom: -19px;
  left: 50%;
  margin-left: -5px;
  border-width: 10px 10px 10px 10px;
  border-style: solid;
  border-color: transparent transparent #1a1a1a transparent;
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

.input-popup p {
  padding-left: 20px;
  position: relative;
}

.input-popup p::before {
  position: absolute;
  content: "";
  font-family: "Line Awesome Free";
  font-weight: 900;
  left: 0;
  top: 4px;
  line-height: 1;
  font-size: 18px;
}

.input-popup p.error {
  text-decoration: line-through;
}

.input-popup p.error::before {
  content: "\f057";
  color: #ea5455;
}

.input-popup p.success::before {
  content: "\f058";
  color: #28c76f;
}

.show-filter {
  display: none;
}

@media (max-width: 767px) {
  .responsive-filter-card {
    display: none;
    transition: none;
  }

  .show-filter {
    display: block;
  }
}

/* ////////////////// select 2 css //////////////// */
.select2-dropdown {
  border: 0 !important;
  margin-top: 8px !important;
  border-radius: 5px !important;
  box-shadow: 0 3px 9px rgba(50, 50, 9, 0.05),
    6px 4px 19px rgb(115 103 240 / 20%);
}

.select2-search--dropdown {
  padding: 10px 10px !important;
  border-color: #ced4da !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  border-color: hsl(var(--border-color)) !important;
  padding: 10px 20px;
  border-radius: 4px !important;
}

.select2-results__option.select2-results__option--selected,
.select2-results__option--selectable,
.select2-container--default .select2-results__option--disabled {
  padding: 12px 14px !important;
  border-bottom: 1px solid #eee;
}

.select2-results__option.select2-results__message {
  text-align: center !important;
  padding: 12px 14px !important;
}

.select2-container--default
  .select2-results
  > .select2-results__options::-webkit-scrollbar {
  width: 8px;
  border-radius: 5px;
}

.select2-container--default
  .select2-results
  > .select2-results__options::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 5px;
}

.select2-container--default
  .select2-results
  > .select2-results__options::-webkit-scrollbar-thumb {
  background: #ddd;
}

.select2-container--default
  .select2-results
  > .select2-results__options::-webkit-scrollbar-thumb:hover {
  background: #ddd;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__arrow
  b {
  display: none;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__arrow:after {
  position: absolute;
  right: 10px;
  top: 0;
  content: "\f107";
  font-family: "Line Awesome Free";
  font-weight: 900;
  transition: 0.3s;
}

.select2-container--default .select2-selection--single {
  border-color: #ced4da !important;
  border-width: 2px !important;
  border-radius: 0.375rem !important;
  padding: 0.375rem 0.75rem !important;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  line-height: 28px !important;
}
.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  top: 10px !important;
}


.select2-container--default.select2-container--open
  .select2-selection--single
  .select2-selection__arrow:after {
  transform: rotate(-180deg);
}

.select2-results__option:last-child {
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.select2-results__option:first-child {
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.select2-results__option.select2-results__option--selected,
.select2-container--default
  .select2-results__option--highlighted.select2-results__option--selectable {
  background-color: #f1f1f1 !important;
  color: #000 !important;
}

.select2-container--default
  .select2-search--dropdown
  .select2-search__field:focus {
  border-color: hsl(var(--base)) !important;
  box-shadow: 0 0 25px rgba(115, 103, 240 0.071) !important;
  outline: 0 !important;
}

.select2-dropdown .country-flag {
  width: 25px;
  height: 25px;
  border-radius: 8px;
}

.select2-dropdown .gateway-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 0px !important;
}

.select2-dropdown .gateway-subtitle {
  font-size: 12px;
  margin-bottom: 0px !important;
}
.select2-container--open .select2-selection.select2-selection--single,
.select2-container--open .select2-selection.select2-selection--multiple {
  border-color: hsl(var(--base)) !important;
}

/* PAYMENT CARD */
.payment-card-title {
  padding: 13px 25px;
  text-align: center;
  background-color: hsl(var(--base));
  border-radius: 5px;
  border: 0;
  margin-bottom: 0px;
  color: hsl(var(--black) / 0.1);
}

.payment-system-list {
  --thumb-width: 80px;
  --thumb-height: 32px;
  --border-color: hsl(var(--black) / 0.1);
  background-color: hsl(var(--white));
  border-radius: 10px;
  padding-block: 24px;
  padding-inline: 16px;
  height: 100%;
}

.payment-system-list.border-style {
  border-left: 1px solid hsl(var(--black) / 0.1);
  border-radius: 0;
}

@media (max-width: 991px) {
  .payment-system-list.border-style {
    border-left: 0;
    border-top: 1px solid hsl(var(--black) / 0.1);
  }
}

hr {
  border-top: 1px solid hsl(var(--black) / 0.1);
  opacity: 1;
}

.payment-system-list.is-scrollable {
  max-height: min(600px, 70vh);
  overflow-x: auto;
}

.modal .payment-system-list.is-scrollable {
  max-height: min(452px, 70vh);
  overflow-x: auto;
}

.payment-system-list.is-scrollable::-webkit-scrollbar {
  width: 5px;
}

.payment-system-list.is-scrollable::-webkit-scrollbar {
  width: 5px;
}

.payment-system-list.is-scrollable::-webkit-scrollbar-thumb {
  background-color: hsl(var(--black) / 0.2);
  border-radius: 10px;
}

.payment-item {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all linear 0.3s;
  margin-bottom: 16px;
  padding: 10px;
  border: 1px solid hsl(var(--black) / 0.1);
  border-radius: 8px;
  cursor: pointer;
}

.payment-item:has(.payment-item__radio:checked) {
  border-color: hsl(var(--base) / 0.2);
  background-color: hsl(var(--base) / 0.07);
}

.payment-item:has(.payment-item__radio:checked) .payment-item__name {
  color: hsl(var(--base));
}

.payment-item:has(.payment-item__radio:checked) .check-type-icon {
  border-color: hsl(var(--success));
}

.payment-item:has(.payment-item__radio:checked) .check-circle {
  display: block;
  color: hsl(var(--success));
}

.payment-item__check {
  border: 3px solid transparent;
}

.payment-item__info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  max-width: calc(100% - var(--thumb-width));
  gap: 10px;
}

.payment-item__check {
  width: 10px;
  height: 10px;
  border: 1px solid hsl(var(--base));
  display: inline-block;
  border-radius: 100%;
}

.payment-item__name {
  transition: all 0.3s;
  text-align: end;
}

.payment-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.payment-item__thumb {
  padding: 3px 12px;
  border-radius: 8px;
  flex-shrink: 0;
  background-color: hsl(var(--black) / 0.1);
}

.payment-item__thumb img {
  max-width: var(--thumb-width);
  max-height: var(--thumb-height);
  object-fit: cover;
}

.deposit-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 16px;
}

.deposit-info__title {
  max-width: 50%;
  margin-bottom: 0px;
  text-align: left;
}

.deposit-info__input {
  max-width: 50%;
  text-align: right;
  width: 100%;
}

.deposit-info__input-select {
  border: 1px solid var(--border-color);
  width: 100%;
  border-radius: 5px;
  padding-block: 6px;
}

.deposit-info__input-group {
  border: 1px solid hsl(var(--black) / 0.1);
  border-radius: 5px;
}

.deposit-info__input-group-text {
  align-self: center;
  padding-inline: 16px;
  border: 0;
  background: transparent;
}

.deposit-info__input-group:has(.form--control:disabled),
.deposit-info__input-group:has(.form--control:read-only) {
  background: hsl(var(--white) / 0.05);
}

.deposit-info__input-group:has(.form--control:disabled) .form--control,
.deposit-info__input-group:has(.form--control:read-only) .form--control {
  background: transparent;
  border: 0 !important;
}

.deposit-info__input-group .form--control {
  padding: 5px;
  border: 0;
  height: 45px;
  text-align: right;
}

.deposit-info__input-group .form--control:focus {
  box-shadow: unset;
}

.info-text .text,
.deposit-info__input .text {
  font-size: 14px;
  color: hsl(var(--black));
}

.note-text {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.deposit-info__title .text.has-icon {
  display: flex;
  align-items: center;
  gap: 5px;
}

.total-amount {
  border-top: 1px solid var(--border-color);
}

.total-amount .deposit-info__title {
  font-weight: 600;
}

.payment-item__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.payment-item__btn-text,
.payment-item__btn__icon {
  color: hsl(var(--success));
  font-size: 14px;
  font-weight: 600;
}

/* END GATEWAY */

button .spinner-border {
  --bs-spinner-width: 1.5rem;
  --bs-spinner-height: 1.5rem;
}

.select2-container--default .select2-selection--single {
  border-color: hsl(var(--black) / 0.1);
  border-width: 1px !important;
  border-radius: 4px !important;
  padding: 7px 16px !important;
  height: 100% !important;
}
.select2-container .select2-selection--single .select2-selection__rendered{
  padding-left: 0px !important;
}
.select2-container--default .select2-selection--single {
  border-color: hsl(var(--black) / 0.1) !important;
}

.select2-results__option.select2-results__option--selected,
.select2-container--default
  .select2-results__option--highlighted.select2-results__option--selectable {
  background-color: hsl(var(--base)) !important;
  color: hsl(var(--white)) !important;
}

.select2-container--default
  .select2-selection--multiple
  .select2-selection__choice {
  margin-top: 10px !important;
}

.select2-container .selection {
  width: 100%;
  display: inline-block;
}

.select2-container--default .select2-selection--multiple,
.select2-selection--multiple {
  border-color: #cacaca73 !important;
  height: unset !important;
  min-height: 45px !important;
}

.select2-container--default .select2-selection--single {
  border: 1px solid hsl(var(--black) / 0.1);
}

.bg--primary {
  color: #fff !important;
}

.select2-container {
  width: 100% !important;
  min-width: 120px;
}

.select2-parent:has(.select2) {
  min-width: 200px;
}

span.select2-selection.select2-selection--single:focus-visible {
  border: 1px solid hsl(var(--base));
  outline: none !important;
}

.dropdown-list__item.langSel .text:hover {
  color: hsl(var(--white)) !important;
}

.daterangepicker td.active, .daterangepicker td.active:hover, .daterangepicker .ranges li.active {
  background-color: hsl(var(--base));
  border-color: hsl(var(--base));
  color: #fff;
}

/* ============= Image Footer Styles ============= */
.image-footer {
  background-color: #2D3540;
  color: #ffffff;
  margin-top: auto;
  padding: 40px 0 20px;
}

.image-footer__main {
  margin-bottom: 30px;
}

.footer-logo-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 25px;
}

.footer-logo {
  max-width: 200px;
  height: auto;
  margin-bottom: 25px;
  filter: brightness(0) invert(1);
}

.footer-bottom-row {
  margin-top: 0;
}

.pink-separator {
  width: 100%;
  max-width: 400px;
  height: 1px;
  background: linear-gradient(90deg, #e91e63, #ec407a, #f06292);
  margin-bottom: 25px;
}

.footer-social-section {
  text-align: left;
}

.social-media-row {
  display: flex;
  align-items: center;
  gap: 30px;
}

.social-text {
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  line-height: 1.4;
  white-space: nowrap;
}

.social-icons-row {
  display: flex;
  gap: 15px;
  align-items: center;
}

.social-icon-link {
  color: #ffffff;
  font-size: 45px;
  text-decoration: none;
  transition: color 0.3s ease;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icon-link:hover {
  color: #e2e8f0;
}

.social-icon-link svg {
  width: 45px;
  height: 45px;
  fill: currentColor;
}

.footer-nav-section {
  text-align: center;
  display: flex;
  align-items: center;
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px;
}

.footer-nav a {
  color: #757575;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.footer-nav a:hover {
  color: #ffffff;
}

.nav-separator {
  color: #757575;
  margin: 0 10px;
  font-size: 16px;
}

.image-footer__copyright {
  text-align: center;
  padding-top: 20px;
}

.image-footer__copyright p {
  color: #a0aec0;
  font-size: 12px;
  font-weight: 400;
  margin: 0;
  line-height: 1.4;
}

.image-footer__copyright a {
  color: #a0aec0;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.3s ease;
}

.image-footer__copyright a:hover {
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 991px) {
  .image-footer {
    padding: 30px 0 15px;
  }
  
  .footer-bottom-row .footer-nav-section {
    text-align: center;
    margin-top: 20px;
    justify-content: center;
  }
  
  .footer-bottom-row .footer-nav {
    justify-content: center;
  }
  
  .footer-bottom-row .footer-social-section {
    text-align: center;
  }
  
  .footer-bottom-row .social-media-row {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .image-footer {
    padding: 25px 0 15px;
  }
  
  .image-footer__main {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
  }
  
  /* Mobile order: 1. Logo, 2. Links, 3. Follow us text, 4. Social icons, 5. Copyright */
  .footer-logo-section {
    order: 1;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
  }
  
  .footer-bottom-row {
    display: flex;
    flex-direction: column;
    order: 2;
  }
  
  .footer-bottom-row .col-lg-6:first-child {
    order: 2; /* Social section after links */
  }
  
  .footer-bottom-row .col-lg-6:last-child {
    order: 1; /* Links first */
  }
  
  .footer-nav-section {
    margin-top: 0;
    margin-bottom: 20px;
  }
  
  .footer-social-section {
    margin-bottom: 0;
  }
  
  /* Stack "Follow us" text above social icons with separator */
  .footer-bottom-row .social-media-row {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
  
  .footer-bottom-row .social-icons-row {
    padding-top: 15px;
    border-top: 1px solid rgba(233, 30, 99, 0.5);
    width: 100%;
    max-width: 200px;
    justify-content: center;
    margin: 0 auto;
  }
  
  .social-icons-row {
    gap: 12px;
  }
  
  .footer-nav {
    gap: 3px;
  }
  
  .footer-nav a {
    font-size: 14px;
  }
  
  .nav-separator {
    margin: 0 8px;
    font-size: 14px;
  }
}

@media (max-width: 575px) {
  .footer-nav {
    flex-direction: column;
    gap: 0;
  }
  
  .footer-nav a {
    display: block;
    padding: 10px 0;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }
  
  .footer-nav a:last-of-type {
    border-bottom: none;
  }
  
  .nav-separator {
    display: none;
  }
  
  .social-icons-row {
    gap: 10px;
  }
  
  .social-icon-link {
    font-size: 20px;
  }
  
  .social-icon-link svg {
    width: 20px;
    height: 20px;
  }
}
/* ============= End Image Footer Styles ============= */

/* ============= Login Page Styles (Centered Card Design) ============= */
.login-page {
  position: relative;
  min-height: 60vh;
  padding: 60px 20px 80px;
  overflow: hidden;
}

.login-page__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, hsl(var(--base) / 0.03) 0%, transparent 100%);
}

.login-page__blur {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  pointer-events: none;
}

.login-page__blur--1 {
  width: 400px;
  height: 400px;
  background: hsl(var(--base) / 0.15);
  top: -100px;
  left: -100px;
}

.login-page__blur--2 {
  width: 300px;
  height: 300px;
  background: hsl(var(--base) / 0.1);
  top: 30%;
  right: -80px;
}

.login-page__blur--3 {
  width: 250px;
  height: 250px;
  background: hsl(var(--base) / 0.08);
  bottom: 10%;
  left: 20%;
}

.login-card {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
  padding: 48px 40px;
  background: hsl(var(--white));
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

@media (max-width: 575px) {
  .login-card {
    padding: 36px 24px;
  }
}

.login-card__logo {
  display: flex;
  justify-content: center;
  max-width: 56px;
  margin: 0 auto 24px;
}

.login-card__logo img,
.login-card__logo svg {
  width: 100%;
  height: auto;
}

.login-card__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: hsl(var(--heading-color));
  text-align: center;
  margin: 0 0 8px;
}

.login-card__subtitle {
  font-size: 0.9375rem;
  color: hsl(var(--text-color));
  text-align: center;
  margin: 0 0 28px;
}

.login-card__type-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--heading-color));
  margin: 0 0 10px;
}

/* Role switch (Freelancer/Buyer cards with radio indicator) – login & register */
.role-switch {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
  width: 100%;
}

.role-switch__card {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: hsl(var(--white));
  border: 1px solid hsl(var(--border-color, 220 10% 90%));
  border-radius: 14px;
  text-decoration: none;
  color: hsl(var(--heading-color));
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
  min-height: 72px;
}

.role-switch__card:hover {
  border-color: hsl(var(--base) / 0.4);
  color: hsl(var(--heading-color));
}

.role-switch__card--active {
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.role-switch__radio {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 2px solid hsl(var(--border-color, 220 10% 85%));
  border-radius: 50%;
  background: hsl(var(--white));
  transition: border-color 0.2s, background 0.2s;
}

.role-switch__card--active .role-switch__radio {
  border-color: hsl(var(--base));
  background: hsl(var(--base));
  box-shadow: inset 0 0 0 3px hsl(var(--white));
}

.role-switch__content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}

.role-switch__label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: hsl(var(--heading-color));
}

.role-switch__desc {
  font-size: 0.8125rem;
  font-weight: 400;
  color: hsl(var(--text-color) / 0.85);
  transition: color 0.2s;
}

.role-switch__card--active .role-switch__desc {
  color: hsl(var(--base));
}

.role-switch__card--disabled {
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.65;
}

.role-switch__card--disabled:hover {
  border-color: hsl(var(--border-color, 220 10% 90%));
  box-shadow: none;
}

.login-card__form .form-group {
  margin-bottom: 20px;
}

.login-card__form .form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--heading-color));
  margin-bottom: 8px;
}

/* Login form inputs – Figma design */
.login-card__form .form--control {
  width: 100%;
  height: 46px;
  padding: 0 16px;
  background: #FDFDFD;
  border: 1px solid #EDEDED;
  box-shadow: inset 0 0 10px rgba(153, 153, 153, 0.1);
  border-radius: 10px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  color: hsl(var(--heading-color));
  transition: border-color 0.2s, box-shadow 0.2s;
}

.login-card__form .form--control:focus {
  border-color: hsl(var(--base));
  outline: none;
  box-shadow: inset 0 0 10px rgba(153, 153, 153, 0.1), 0 0 0 3px hsl(var(--base) / 0.15);
}

.login-card__form .form--control::placeholder {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  color: #999999;
}

.login-card__password-wrap {
  position: relative;
}

.login-card__password-toggle {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: hsl(var(--text-color) / 0.6);
  cursor: pointer;
  font-size: 1rem;
  transition: color 0.2s;
}

.login-card__password-toggle:hover {
  color: hsl(var(--base));
}

.login-card__options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.login-card__remember {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: hsl(var(--text-color));
  cursor: pointer;
  margin: 0;
}

.login-card__remember input {
  width: 18px;
  height: 18px;
  accent-color: hsl(var(--base));
}

.login-card__forgot {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--base));
  text-decoration: none;
}

.login-card__forgot:hover {
  color: hsl(var(--base-d-500));
  text-decoration: underline;
}

.login-card__btn {
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  margin-bottom: 24px;
}

.login-card__divider {
  display: flex;
  align-items: center;
  margin: 0 0 24px;
  gap: 16px;
}

.login-card__divider::before,
.login-card__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: hsl(var(--border-color, 220 10% 90%));
}

.login-card__divider span {
  font-size: 0.8125rem;
  color: hsl(var(--text-color) / 0.7);
}

/* Social login buttons within login card */
.login-card .social-login-wrapper {
  width: 100%;
  margin-bottom: 24px;
}

.login-card .social-login-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.login-card .social-login-list__item {
  flex: none !important;
}

.login-card .social-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid hsl(var(--border-color, 220 10% 90%));
  border-radius: 10px;
  background: hsl(var(--white));
  color: hsl(var(--heading-color));
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
}

.login-card .social-login-btn:hover {
  border-color: hsl(var(--base));
  background: hsl(var(--base) / 0.04);
  color: hsl(var(--base));
}

.login-card .social-login-btn__icon {
  display: flex;
  align-items: center;
}

.login-card .social-login-btn__icon img {
  width: 20px;
  height: 20px;
}

.login-card__signup {
  text-align: center;
  font-size: 0.9375rem;
  color: hsl(var(--text-color));
  margin: 0 0 28px;
}

.login-card__signup a {
  font-weight: 600;
  text-decoration: none;
}

.login-card__signup a:hover {
  text-decoration: underline;
}

.login-card__info {
  display: grid;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid hsl(var(--border-color, 220 10% 90%));
}

.login-card__info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.login-card__info-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-card__info-icon svg {
  display: block;
}

.login-card__info-item div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.login-card__info-item strong {
  font-size: 14px;
  color: hsl(var(--heading-color));
}

.login-card__info-item span {
  font-size: 12px;
  color: hsl(var(--text-color) / 0.8);
}
/* ============= End Login Page Styles ============= */

/* ============= Reset Password Page Styles (Centered Card Design) ============= */
.reset-password-page {
  position: relative;
  min-height: 60vh;
  padding: 60px 20px 80px;
  overflow: hidden;
}

.reset-password-page__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, hsl(var(--base) / 0.04) 0%, hsl(var(--base) / 0.02) 50%, transparent 100%);
}

.reset-password-page__blur {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  pointer-events: none;
}

.reset-password-page__blur--1 {
  width: 400px;
  height: 400px;
  background: hsl(var(--base) / 0.15);
  top: -100px;
  left: -100px;
}

.reset-password-page__blur--2 {
  width: 300px;
  height: 300px;
  background: hsl(var(--base) / 0.1);
  top: 30%;
  right: -80px;
}

.reset-password-page__blur--3 {
  width: 250px;
  height: 250px;
  background: hsl(var(--base) / 0.08);
  bottom: 10%;
  left: 20%;
}

.reset-password-card {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  padding: 48px 40px;
  background: hsl(var(--white));
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

@media (max-width: 575px) {
  .reset-password-card {
    padding: 36px 24px;
  }
}

.reset-password-card__logo {
  display: flex;
  justify-content: center;
  max-width: 56px;
  margin: 0 auto 24px;
  text-decoration: none;
}

.reset-password-card__logo img,
.reset-password-card__logo svg {
  width: 100%;
  height: auto;
}

.reset-password-card__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: hsl(var(--heading-color));
  text-align: center;
  margin: 0 0 8px;
}

.reset-password-card__subtitle {
  font-size: 14px;
  color: #FF2F63;
  text-align: center;
  margin: 0 0 28px;
  line-height: 1.5;
}

.reset-password-card__form .form-group {
  margin-bottom: 20px;
}

.reset-password-card__form .form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--heading-color));
  margin-bottom: 8px;
}

.reset-password-card__form .form--control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid hsl(var(--border-color, 220 10% 90%));
  border-radius: 10px;
  font-size: 0.9375rem;
  transition: border-color 0.2s;
}

.reset-password-card__form .form--control:focus {
  border-color: hsl(var(--base));
  outline: none;
  box-shadow: 0 0 0 3px hsl(var(--base) / 0.15);
}

.reset-password-card__form .form--control::placeholder {
  color: hsl(var(--text-color) / 0.6);
}

.reset-password-card__btn {
  padding: 14px 24px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 10px;
  margin-top: 8px;
  margin-bottom: 28px;
}

.reset-password-card__links {
  text-align: center;
  border-top: 1px solid hsl(var(--border-color, 220 10% 90%));
  padding-top: 24px;
}

.reset-password-card__link {
  display: block;
  font-size: 0.875rem;
  color: hsl(var(--text-color) / 0.9);
  text-decoration: none;
  margin-bottom: 16px;
}

.reset-password-card__link:hover {
  color: hsl(var(--base));
}

.reset-password-card__signin,
.reset-password-card__support {
  font-size: 0.9375rem;
  color: hsl(var(--text-color) / 0.9);
  margin: 0 0 12px;
}

.reset-password-card__signin a,
.reset-password-card__support a {
  font-weight: 600;
  text-decoration: underline;
}

.reset-password-card__signin a:hover,
.reset-password-card__support a:hover {
  text-decoration-thickness: 2px;
}
/* ============= End Reset Password Page Styles ============= */

/* ============= Register Page Styles (Create Your Account - Centered Card) ============= */
.register-page {
  position: relative;
  min-height: 60vh;
  padding: 60px 20px 80px;
  overflow: hidden;
}

.register-page__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, hsl(var(--base) / 0.06) 0%, hsl(var(--base) / 0.02) 50%, transparent 100%);
}

.register-page__blur {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  pointer-events: none;
}

.register-page__blur--1 {
  width: 420px;
  height: 420px;
  background: hsl(var(--base) / 0.12);
  top: -120px;
  left: -100px;
}

.register-page__blur--2 {
  width: 320px;
  height: 320px;
  background: hsl(var(--base) / 0.1);
  top: 25%;
  right: -80px;
}

.register-page__blur--3 {
  width: 280px;
  height: 280px;
  background: hsl(var(--base) / 0.08);
  bottom: 5%;
  left: 15%;
}

.register-card {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
  padding: 40px 40px 32px;
  background: hsl(var(--white));
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

@media (max-width: 575px) {
  .register-card {
    padding: 32px 24px 24px;
  }
}

.register-card__logo {
  display: flex;
  justify-content: center;
  max-width: 56px;
  margin: 0 auto 20px;
}

.register-card__logo img,
.register-card__logo svg {
  width: 100%;
  height: auto;
}

.register-card__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: hsl(var(--heading-color));
  text-align: center;
  margin: 0 0 8px;
}

.register-card__subtitle {
  font-size: 14px;
  color: #FF2F63;
  text-align: center;
  margin: 0 0 24px;
}

.register-card__type-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--heading-color));
  margin: 0 0 10px;
}

.register-card__form .form-group {
  margin-bottom: 20px;
}

.register-card__form .form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--heading-color));
  margin-bottom: 8px;
}

/* Register form inputs – Figma design */
.register-card__form .form--control {
  width: 100%;
  height: 46px;
  padding: 0 16px;
  background: #FDFDFD;
  border: 1px solid #EDEDED;
  box-shadow: inset 0 0 10px rgba(153, 153, 153, 0.1);
  border-radius: 10px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  color: hsl(var(--heading-color));
  transition: border-color 0.2s, box-shadow 0.2s;
}

.register-card__form .form--control:focus {
  border-color: hsl(var(--base));
  outline: none;
  box-shadow: inset 0 0 10px rgba(153, 153, 153, 0.1), 0 0 0 3px hsl(var(--base) / 0.15);
}

.register-card__form .form--control::placeholder {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  color: #999999;
}

/* IntlTelInput inside register card */
.register-card .iti {
  width: 100%;
  display: block;
}
.register-card .iti .iti__tel-input {
  width: 100% !important;
  height: 46px !important;
  background: #FDFDFD !important;
  border: 1px solid #EDEDED !important;
  box-shadow: inset 0 0 10px rgba(153, 153, 153, 0.1) !important;
  border-radius: 10px;
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  color: hsl(var(--heading-color));
}
.register-card .iti .iti__tel-input:focus {
  border-color: hsl(var(--base));
  outline: none;
  box-shadow: inset 0 0 10px rgba(153, 153, 153, 0.1), 0 0 0 3px hsl(var(--base) / 0.15);
}
.register-card .iti .iti__tel-input::placeholder {
  color: #999999;
}
.register-card .iti .iti__country-container {
  border-radius: 10px 0 0 10px;
}
.register-card .iti .iti__selected-country {
  padding-left: 12px;
}

/* Country of Origin – Select2 in register card (searchable, IntlTelInput-style UX) */
.register-card .register-country-select + .select2-container {
  width: 100% !important;
}

.register-card .register-country-select + .select2-container .select2-selection--single {
  height: 46px;
  padding: 0 16px;
  background: #FDFDFD;
  border: 1px solid #EDEDED;
  box-shadow: inset 0 0 10px rgba(153, 153, 153, 0.1);
  border-radius: 10px;
  align-items: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
}

.register-card .register-country-select + .select2-container .select2-selection--single .select2-selection__rendered {
  padding-left: 0;
  line-height: 44px;
  color: hsl(var(--heading-color));
}

.register-card .register-country-select + .select2-container .select2-selection--single .select2-selection__placeholder {
  color: #999999;
}

.register-card .register-country-select + .select2-container .select2-selection--single .select2-selection__arrow {
  height: 44px;
  right: 12px;
}

.register-card .register-country-select + .select2-container.select2-container--focus .select2-selection--single,
.register-card .register-country-select + .select2-container.select2-container--open .select2-selection--single {
  border-color: hsl(var(--base));
  outline: none;
  box-shadow: 0 0 0 3px hsl(var(--base) / 0.15);
}

.register-card .register-country-select + .select2-container .select2-dropdown {
  border: 1px solid hsl(var(--border-color, 220 10% 90%));
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.register-card .register-country-select + .select2-container .select2-search--dropdown .select2-search__field {
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid hsl(var(--border-color, 220 10% 90%));
}

.register-card .register-country-select + .select2-container .select2-search--dropdown .select2-search__field:focus {
  border-color: hsl(var(--base));
  outline: none;
}

.register-card .register-country-select + .select2-container .select2-results__option--highlighted[aria-selected] {
  background-color: hsl(var(--base) / 0.1);
  color: hsl(var(--base));
}

.register-card .register-country-select + .select2-container .select2-results__option[aria-selected=true] {
  background-color: hsl(var(--base) / 0.15);
  color: hsl(var(--base));
}

.register-card__password-wrap {
  position: relative;
}

.register-card__password-toggle {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: hsl(var(--text-color) / 0.6);
  cursor: pointer;
  font-size: 1rem;
  transition: color 0.2s;
}

.register-card__password-toggle:hover {
  color: hsl(var(--base));
}

.register-card__btn {
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  margin-top: 8px;
}

.register-card__divider {
  display: flex;
  align-items: center;
  margin: 24px 0 20px;
  gap: 16px;
}

.register-card__divider::before,
.register-card__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: hsl(var(--border-color, 220 10% 90%));
}

.register-card__divider span {
  font-size: 0.8125rem;
  font-weight: 500;
  color: hsl(var(--text-color) / 0.7);
}

.register-card .social-login-wrapper {
  width: 100%;
  margin-bottom: 24px;
}

.register-card .social-login-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.register-card .social-login-list__item {
  flex: none !important;
}

.register-card .social-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid hsl(var(--border-color, 220 10% 90%));
  border-radius: 10px;
  background: hsl(var(--white));
  color: hsl(var(--heading-color));
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
}

.register-card .social-login-btn:hover {
  border-color: hsl(var(--base));
  background: hsl(var(--base) / 0.04);
  color: hsl(var(--base));
}

.register-card .social-login-btn__icon {
  display: flex;
  align-items: center;
}

.register-card .social-login-btn__icon img {
  width: 20px;
  height: 20px;
}

.register-card__login {
  text-align: center;
  font-size: 0.9375rem;
  color: hsl(var(--text-color));
  margin: 24px 0 0;
  padding-top: 0;
  border-top: none;
}

.register-card__login a {
  font-weight: 600;
  text-decoration: none;
}

.register-card__login a:hover {
  text-decoration: underline;
}

.register-card__disabled {
  position: relative;
}

.register-card__disabled-overlay {
  position: absolute;
  inset: 0;
  background: hsl(var(--white) / 0.9);
  backdrop-filter: blur(4px);
  border-radius: 20px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.register-card__disabled-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: hsl(var(--heading-color));
  font-weight: 600;
  text-decoration: none;
}

.register-card__disabled-link:hover {
  color: hsl(var(--base));
}

.register-card .form-check-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.register-card .form-check-wrapper .form-check-input {
  margin-top: 4px;
  accent-color: hsl(var(--base));
}

.register-card .form-check-wrapper .form-check-label {
  font-size: 0.875rem;
  color: hsl(var(--text-color));
  font-weight: 400;
}

.register-card .form-check-wrapper a {
  color: hsl(var(--base));
  text-decoration: none;
}

.register-card .form-check-wrapper a:hover {
  text-decoration: underline;
}
/* ============= End Register Page Styles ============= */

/* Financial freedom section: visible spacing when shown after login/register form (between form and footer) */
.login-page + .financial-freedom-wrapper,
.register-page + .financial-freedom-wrapper,
.reset-password-page + .financial-freedom-wrapper {
  margin-top: 3rem;
  display: block;
}