/* Copy Animation */
.base-color {
  color: hsl(var(--main)) !important;
}

.cookies-card {
  width: 100%;
  max-width: 520px;
  padding: 32px;
  position: fixed;
  bottom: 16px;
  left: 16px;
  z-index: 999999;
  transition: all .5s;
  border: 1px solid hsl(var(--border-color) / 0.5);
  background-color: hsl(var(--gray-d-400));
  border-radius: 12px;
  text-align: center;
}

.cookies-card.hide {
  bottom: -500px !important;
}

.cookies-card> :not(:last-child) {
  margin-bottom: 24px;
}

.cookies-card__icon {
  --size: 64px;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  color: hsl(var(--white));
  background-color: hsl(var(--base));
  font-size: calc(var(--size) * 0.5);
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.cookies-card__content {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .cookies-card {
    max-width: 450px;
  }

  .cookies-card__icon {
    --size: 56px;
  }
}

@media (max-width: 575px) {
  .cookies-card {
    max-width: calc(100% - 16px);
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0 auto;

    padding: 16px;
  }

  .cookies-card__icon {
    --size: 48px;
  }

  .cookies-card__content {
    font-size: 14px;
  }

  .cookies-card> :not(:last-child) {
    margin-bottom: 16px;
  }
}

.hover-input-popup {
  position: relative;
}

.input-popup {
  display: none;
}

.hover-input-popup .input-popup {
  display: block;
  position: absolute;
  bottom: 270%;
  left: 50%;
  width: 280px;
  background-color: hsl(var(--base-two));
  padding: 16px;
  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;
  z-index: 9999;
}

.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 hsl(var(--base-two)) transparent;
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

.input-popup p {
  max-width: max-content;
  color: hsl(var(--gray-d-400));
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.input-popup p::before {
  content: '';
  font-family: 'Line Awesome Free';
  font-weight: 900;
  line-height: 1;
  font-size: 18px;
}

.input-popup p.error::after {
  content: '';
  width: 100%;
  height: 1px;
  background-color: hsl(var(--gray-d-400));
  position: absolute;
  top: 50%;
  left: 1px;
  transform: translateY(-50%);
}

.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;
  }
}


.gateway-card {
  padding: 15px;
}

.payment-card-title {
  padding: 13px 25px;
  text-align: center;
  background-color: rgb(var(--main));
  border-radius: 5px;
  border: 0;
  margin-bottom: 0px;
  color: #fff;
}

.payment-system-list {
  --thumb-width: 100px;
  --thumb-height: 40px;
  --radio-size: 12px;
  --border-color: #cccccf59;
  --hover-border-color: rgb(var(--main));
  background-color: #fff;
  border-radius: 5px;
  height: 100%;

}


.payment-system-list.is-scrollable {
  max-height: min(388px, 70vh);
  overflow-x: auto;
  padding-block: 4px;
}

.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: rgb(var(--main));
  border-radius: 10px;
}

.payment-item {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px 18px;
  border: 1px solid #fff;
  border-top-color: var(--border-color);
  transition: all 0.3s;
  border-left: 3px solid transparent;
}

.payment-item:first-child {
  border-top-color: #fff;
  border-radius: 5px 5px 0 0;
}

.payment-item:has(.payment-item__radio:checked) {
  border-left: 3px solid var(--hover-border-color);
  border-radius: 0px;
}

.payment-item__check {
  border: 3px solid transparent;
}

.payment-item:has(.payment-item__radio:checked) .payment-item__check {
  border: 3px solid rgb(var(--main));
}

.payment-item__info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  max-width: calc(100% - var(--thumb-width))
}

.payment-item__check {
  width: var(--radio-size);
  height: var(--radio-size);
  border: 1px solid rgb(var(--main));
  display: inline-block;
  border-radius: 100%;

}

.payment-item__name {
  padding-left: 10px;
  width: calc(100% - var(--radio-size));
  transition: all 0.3s;
}

.payment-item__thumb {
  width: var(--thumb-width);
  height: var(--thumb-height);
  text-align: right;
  padding-left: 10px;

  &:has(.text) {
    width: fit-content;
  }
}

.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;
}

.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 var(--border-color);
  border-radius: 5px;

  .deposit-info__input-group-text {
    align-self: center;
    padding-left: 5px;
  }

}

.deposit-info__input-group .form--control {
  padding: 5px;
  border: 0;
  height: 35px;
  text-align: right;
}

.deposit-info__input-group .form--control:focus {
  box-shadow: unset;
}

.info-text .text,
.deposit-info__input .text {
  font-size: 14px;

}

.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 {
  border: 0;
  border-block: 1px solid var(--border-color);
  border-bottom: 0;
  background: #fff;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 15px;
  font-weight: 500;
}

.payment-item:hover+.payment-item__btn {
  border-top-color: #fff;
}

button .spinner-border {
  --bs-spinner-width: 1.5rem;
  --bs-spinner-height: 1.5rem;
}

.custom-popover {
  width: 250px;
  position: absolute;
  border-radius: 8px;
  border: 1px solid hsl(var(--border-color) /0.5);
  background-color: hsl(var(--gray-d-400) / 0.5);
  backdrop-filter: blur(8px);
  padding: 12px;
  z-index: 1051;
  display: none;
}

@media screen and (max-width: 767px) {
  .custom-popover {
    width: 230px;
  }
}

@media screen and (max-width: 575px) {
  .custom-popover {
    width: 200px;
  }
}

.custom-popover>:not(:last-child) {
  margin-bottom: 16px;
}

.custom-popover__arrow {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 1px solid hsl(var(--border-color) /0.5);
  background-color: hsl(var(--gray-d-400) / 0.5);
  backdrop-filter: blur(8px);
  transform: rotate(45deg);
  z-index: 1049;
  display: none;
}

.custom-popover__close {
  --size: 24px;
  width: var(--size);
  height: var(--size);
  padding: 0px;
  color: hsl(var(--white));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-size: calc(var(--size) * 0.6);
}

.custom-popover__title {
  color: hsl(var(--base-two));
  font-size: 0.875rem;
  line-height: 100%;
}

.custom-popover__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid hsl(var(--white)/0.2);
}

@media screen and (max-width: 767px) {
  .custom-popover__footer .btn {
    font-size: 0.875rem;
    padding: 6px 12px;
  }
}

@media screen and (max-width: 575px) {
  .custom-popover__footer .btn {
    font-size: 0.75rem;
    padding: 4px 8px;
  }
}

.custom-popover-chips {
  --gap: 16px;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: var(--gap);
  flex-shrink: 0;
}

.custom-popover-chips__item {
  max-width: max-content;
  flex: 1 0 calc(25% - var(--gap));
}

.custom-popover-chips__icon {
  --size: 40px;
  width: var(--size);
  height: var(--size);
  display: block;
  -o-object-fit: cover;
  object-fit: cover;
  margin: 0 auto;
}

@media screen and (max-width: 575px) {
  .custom-popover-chips__icon {
    --size: 32px;
  }
}

.cursor {
  cursor: pointer;
}

.gray-100 {
  color: hsl(var(--gray-l-100));
}

.verification-text {
  font-size: 16px !important;
  margin-bottom: 8px;
}