:root {
  --main: hsl(var(--base));
  --base-h: 201;
  --base-s: 100%;
  --base-l: 33%;
  --base: var(--base-h) var(--base-s) var(--base-l);

  --white-h: 202;
  --secondary-s: 100%;
  --secondary-l: 10%;
  --secondary: var(--secondary-h) var(--secondary-s) var(--secondary-l);

  --white-h: 0;
  --white-s: 0%;
  --white-l: 100%;
  --white: var(--white-h) var(--white-s) var(--white-l);
}

.cookies-card {
  width: 520px;
  padding: 30px;
  color: #1e2337;
  position: fixed;
  bottom: 15px;
  left: 15px;
  z-index: 999999;
  transition: all 0.5s;
  border: 1px solid hsl(var(--border-color));
  background: hsl(var(--white));
  border-radius: 16px;
}

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

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

.cookies-card__icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background-color: hsl(var(--base-two));
  color: hsl(var(--dark));
  font-size: 32px;
  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;
  }
}

.payment-item__btn-text {
  color: #fff;
}

.payment-item__btn__icon {
  color: #fff;
}

.payment-card-title {
  padding: 12px 24px;
  text-align: center;
  color: hsl(var(--dark));
  background-color: hsl(var(--base-two));
  border-radius: 8px;
}

.payment-system-list {
  --thumb-width: 100px;
  --thumb-height: 40px;
  --radio-size: 16px;
  --hover-border-color: hsl(var(--base));
  background-color: #fff;
  border-radius: 8px;
  height: 100%;
}

.payment-system-list.is-scrollable {
  max-height: min(388px, 70vh);
  overflow-x: auto;
  padding: 0px 4px;
  scrollbar-width: thin;
  scrollbar-color: #e2e8f0 #f1f5f9;
}

.payment-item {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 12px 18px;
  border: 1px solid hsl(var(--border-color));
  border-top: none;
  cursor: pointer;
}

.payment-item:first-child {
  border-top: 1px solid hsl(var(--border-color));
}

.payment-item:first-child {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.payment-item:last-child {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.payment-item:has(.payment-item__radio:checked) {
  border-left: 3px solid var(--main);
}

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

.payment-item:has(.payment-item__radio:checked) .payment-item__check {
  border: 3px solid 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 var(--main);
  display: inline-block;
  border-radius: 100%;
}

.payment-item__name {
  padding-left: 10px;
  width: calc(100% - var(--radio-size));
  transition: all 0.3s;
  font-weight: 500;
  color: hsl(var(--dark));
}

.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:not(:last-child) {
  margin-bottom: 8px;
}

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

.deposit-info__title .text {
  color: hsl(var(--dark)/0.8);
}

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

.deposit-info__input .text {
  font-size: 1rem !important;
  font-weight: 500;
  color: hsl(var(--dark));
}


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

.deposit-info__input-group {
  border: 1px solid hsl(var(--border-color));
  border-radius: 8px;

  .deposit-info__input-group-text {
    align-self: center;
    padding-left: 8px;
    line-height: 110%;
  }
}

.deposit-info__input-group:focus-within {
  border-color: hsl(var(--base));
}

.deposit-info__input-group .form--control {
  padding: 5px 8px;
  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;
}


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

.hover-input-popup:hover .input-popup {
  opacity: 1;
  visibility: visible;
}

.input-popup {
  position: absolute;
  bottom: 130%;
  left: 50%;
  width: 280px;
  background-color: #1a1a1a;
  color: #fff;
  padding: 20px;
  border-radius: 16px !important;
  transform: translateX(-50%);
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  z-index: 9;
}

.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;
}


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

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

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

.payment-item__btn {
  border: 0;
  border-block: 1px solid hsl(var(--border-color));
  border-bottom: 0;
  background: var(--main);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 15px;
  font-weight: 500;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.payment-item:hover+.payment-item__btn {
  border-top-color: #fff;
}

/* Language */

.dropdown-lang {
  margin-left: 20px !important;
  margin-right: 30px !important;
}

@media (max-width: 1199px) {
  .dropdown-lang {
    margin: 10px 0px !important;
  }
}

.dropdown-lang .language-btn .flag {
  width: 20px;
  height: 15px;
  border-radius: 2px;
}

.dropdown-lang .language-btn::after {
  color: #fff !important;
}

.dropdown-lang .language-text {
  color: #fff !important;
  font-size: 16px;
}

.dropdown-lang .dropdown-menu {
  width: 112px !important;
  border: 1px solid hsl(var(--border));
  border-radius: 8px;
  padding: 10px !important;
  max-height: 370px;
  overflow-y: auto;
  background-color: hsl(var(--secondary)) !important;
  z-index: 999;
  box-shadow: var(--box-shadow);
  transform: inherit;
  min-width: 130px !important;
  margin-top: 20px;
}

.dropdown-lang .dropdown-menu.show {
  opacity: 1 !important;
  visibility: visible !important;
}

.dropdown-lang .dropdown-menu a {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 500;
  text-transform: capitalize;
  color: #fff !important;
  transition: 0.3s;
  padding-bottom: 6px;
  /* border-bottom: 1px solid #f3f3f3; */
  padding: 0 !important;
}

.dropdown-lang .dropdown-menu li {
  margin: 0 !important;
}

.dropdown-lang .dropdown-menu a:hover {
  color: #918a8a !important;
}

.dropdown-lang .dropdown-menu li:last-child a {
  border-bottom: none;
  padding-bottom: 0px;
  margin-bottom: 0px;
}

.dropdown-lang .dropdown-menu a .flag {
  width: 20px;
  margin-right: 10px;
  height: 15px;
}

.dropdown-lang .dropdown-menu li:last-child a {
  margin-bottom: 0px;
}

.dropdown-lang .a {
  color: #fff !important;
}

label.required:after {
  content: "*";
  color: #dc3545 !important;
  margin-left: 2px;
}

.image--uploader {
  width: 240px;
  border-radius: 10px;
}

.image-upload-wrapper {
  height: 280px;
  position: relative;
}

.image-upload-preview {
  width: 100%;
  height: 100%;
  display: block;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  border-radius: 10px;
  border: 3px solid #f1f1f1;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.25);
}

.image-upload-input-wrapper {
  position: absolute;
  display: inline-flex;
  bottom: -14px;
  right: -7px;
}

.image-upload-input-wrapper input {
  width: 0;
  opacity: 0;
}

.image-upload-input-wrapper label {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-align: center;
  border: 2px solid #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0;
}

.show-filter {
  display: none;
}

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

  .show-filter {
    display: block;
  }
}