/* Copy Animation */
.base-color {
  color: hsl(var(--main)) !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: #ff7000;
  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 {
  width: 520px;
  padding: 30px;
  color: #1e2337;
  position: fixed;
  bottom: 15px;
  left: 15px;
  z-index: 999999;
  transition: all 0.5s;
  background: #d1d1d1;
  border-radius: 5px;
}

.cookies-card.hide {
  bottom: -500px !important;
}

.radius--10px {
  border-radius: 10px;
}

.cookies-card__icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background-color: #6e6f70;
  color: #fff;
  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;
  }
}

.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;
  }
}

/* ========================= Select2 CSS Start ================================== */
.select2-wrapper {
  position: relative;
}

.select2-container,
.select2-container--default .selection {
  width: 100% !important;
}

.select2-container .select2-selection--single,
.select2-container .select2-selection--mutiple {
  height: auto;
  background-color: hsl(var(--body-bg)) !important;
  border-color: hsl(var(--base) / 0.14);
  border-radius: 12px;
}

.select2-container--focus .select2-selection--single,
.select2-container--open .select2-selection--single,
.select2-container--focus .select2-selection--multiple,
.select2-container--open .select2-selection--multiple {
  border-color: hsl(var(--base)) !important;
  outline: none;
}

.select2-container .select2-selection--single .select2-selection__rendered {
  font-size: 1rem;
  font-weight: 400;
  line-height: 137%;
  color: hsl(var(--white)) !important;
  padding: 20px 24px !important;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  line-height: 1;
}

.select2-selection__placeholder {
  color: hsl(var(--white) / 0.6) !important;
}

.select2-container--focus .select2-selection__placeholder,
.select2-container--open .select2-selection__placeholder {
  color: hsl(var(--white)) !important;
}

.select2-container .select2-selection--single .select2-selection__arrow {
  width: 20px;
  height: 20px;
  top: 50%;
  right: 24px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.select2-container .select2-selection--single .select2-selection__arrow::after {
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: hsl(var(--white) / 0.6);
}

.select2-container .select2-selection--single .select2-selection__arrow b {
  display: none;
}

.select2-container .select2-selection--single[aria-expanded="true"] .select2-selection__arrow::after {
  content: "\f106";
  color: hsl(var(--white));
}

.select2-container--focus .select2-selection__arrow::after {
  color: hsl(var(--white));
}

.select2-dropdown {
  overflow: hidden;
  border-radius: 12px;
  background-color: hsl(var(--body-bg));
  border-color: hsl(var(--base));
}

.select2-results__option--selectable {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
  -ms-flex-direction: row-reverse;
  flex-direction: row-reverse;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: start;
  -ms-flex-wrap: wrap-reverse;
  flex-wrap: wrap-reverse;
  gap: 4px 8px;
}

.select2-results__option--selectable {
  font-size: 1rem;
  font-weight: 400;
  line-height: 150%;
  color: hsl(var(--black-two));
}

.select2-container--default .select2-results__option--selected {
  background-color: hsl(var(--black) / 0.05);
}

.select2-container--default .select2-results__option--selectable.select2-results__option--highlighted {
  background-color: hsl(var(--base));
}

.select2-container--default .select2-results__option.select2-results__message {
  text-align: center;
}

.select2-search--dropdown {
  padding: 6px 10px;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  color: hsl(var(--white));
  background-color: transparent;
  border-color: hsl(var(--white) / 0.15);
  border-radius: 6px;
  padding: 8px 12px;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
  border-color: hsl(var(--base));
  outline: none;
}

.select2-container--default .select2-selection--multiple {
  padding-top: 10px;
  padding-bottom: 10px;
  min-height: 50px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
  background-color: hsl(var(--base) / 0.1);
  border-color: hsl(var(--base) / 0.1);
  color: hsl(var(--base));
  font-size: 14px;
  font-weight: 500;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  border-right-color: hsl(var(--base) / 0.25);
  color: hsl(var(--base));
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
  color: hsl(var(--base));
  background-color: hsl(var(--base) / 0.1);
}

.select2-container .select2-search--inline .select2-search__field {
  margin-top: 0px;
  margin-left: 8px;
}

/* ========================= Select2 CSS End ==================================== */

.gateway-card {
  padding: 15px;
}

.payment-card-title {
  padding: 13px 25px;
  text-align: center;
  background: var(--gradient);
  border-radius: 8px;
  border: 0;
  margin-bottom: 0px;
  color: #fff;
}

.payment-system-list {
  --thumb-width: 100px;
  --thumb-height: 40px;
  --radio-size: 12px;
  --border-color: hsl(var(--white) / 0.1);
  --hover-border-color: hsl(var(--base));
  background-color: hsl(var(--section-bg-two) / 0.5);
  border-radius: 8px;
  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: hsl(var(--base));
  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 transparent;
  border-top-color: var(--border-color);
  transition: all 0.3s;
  border-left: 3px solid transparent;
}

.payment-item:first-child {
  border-top-color: transparent;
  border-radius: 8px 8px 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 hsl(var(--base));
}

.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 hsl(var(--base));
  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;
  color: hsl(var(--white) / 0.8);
  background: transparent;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 15px;
  font-weight: 500;
}

.payment-item__btn:hover {
  color: hsl(var(--white));
}

.payment-item:hover+.payment-item__btn {
  border-top-color: #fff;
}

button .spinner-border {
  --bs-spinner-width: 1.5rem;
  --bs-spinner-height: 1.5rem;
}

.countdown-wrapper-text {
  font-size: 15px;
}

/* ===============================
   BRAND PARTNERS MARQUEE
   =============================== */

.brand-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin-top: 30px;
}

.brand-marquee__track {
  display: flex;
  align-items: center;
  gap: 60px;
  width: max-content;
  animation: brand-marquee 25s linear infinite;
}

.brand-marquee .logo {
  flex: 0 0 auto;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.brand-marquee .logo:hover {
  opacity: 1;
}

@keyframes brand-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-33.3333%);
  }
}

/* Pause animation on hover */
.brand-marquee:hover .brand-marquee__track {
  animation-play-state: paused;
}

/* Mobile optimization */
@media (max-width: 768px) {
  .brand-marquee__track {
    gap: 40px;
    animation-duration: 35s;
  }
}

/* =====================================
   FIX: Two-color banner title
   ===================================== */

.banner-content__title {
    color: #ffffff;
}

.banner-content__title span {
    color: hsl(var(--base)) !important;
}

/* =====================================
   FIX: Banner title gradient (as button)
   ===================================== */

.banner-content__title span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* =====================================
   PRELOADER GIF
   ===================================== */

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.3s ease;
}

.preloader.loaded {
    opacity: 0;
    pointer-events: none;
}

.preloader img {
    width: 80px;
    height: 80px;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Mobile */
@media (max-width: 768px) {
    .preloader img {
        width: 60px;
        height: 60px;
    }
}

/* =====================================
   TESTIMONIALS -> CERTIFICATES (BANNERS)
   ===================================== */

.testimonial-section .testimonial-item__thumb {
  width: auto !important;
  height: auto !important;
  border-radius: 16px !important;
  overflow: hidden !important;
}

/* ВАЖНО: именно под твои классы */
.testimonial-section .testimonial-item__thumb.certificate-only-thumb {
  width: 100% !important;
  max-width: 1100px !important; /* можно 1200px */
  margin: 0 auto !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  display: block !important;
}

.testimonial-section .testimonial-item__thumb.certificate-only-thumb img.certificate-only-image {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
  border-radius: 16px !important;
}

/* На случай если тема делает img круглым или режет */
.testimonial-section .testimonial-item__thumb img {
  border-radius: 16px !important;
}

/* Слайд по центру и без "аватарных" ограничений */
.testimonial-section .testimonails-card,
.testimonial-section .testimonial-item.certificate-only-item {
  text-align: center !important;
}

/* =====================================
   TESTIMONIALS -> CERTIFICATES (SMALL BANNERS)
   ===================================== */

/* Размер "небольшого баннера" */
.testimonial-section .testimonial-item__thumb.certificate-only-thumb {
  max-width: 560px !important;   /* <-- основной размер (поставь 420-650) */
}

/* Если хочешь ограничить по высоте, чтобы блок не раздувался */
.testimonial-section .testimonial-item__thumb.certificate-only-thumb img.certificate-only-image{
  max-height: 320px !important;  /* <-- подгони 220-360 */
  object-fit: contain !important;
}

/* Адаптив для телефона */
@media (max-width: 768px){
  .testimonial-section .testimonial-item__thumb.certificate-only-thumb{
    max-width: 92% !important;
  }
  .testimonial-section .testimonial-item__thumb.certificate-only-thumb img.certificate-only-image{
    max-height: 220px !important;
  }
}

/* =====================================
   MOBILE FIX: Certificates slider
   ===================================== */

@media (max-width: 768px){

  /* Контейнер баннера на мобилке */
  .testimonial-section .testimonial-item__thumb.certificate-only-thumb{
    width: 92% !important;
    max-width: 420px !important;   /* можно 360-520 */
    height: auto !important;
    margin: 0 auto !important;
    border-radius: 16px !important;
    overflow: hidden !important;
  }

  /* Картинка баннера */
  .testimonial-section .testimonial-item__thumb.certificate-only-thumb img.certificate-only-image{
    width: 100% !important;
    height: auto !important;
    max-height: 220px !important;
    object-fit: contain !important;
    border-radius: 16px !important;
    display: block !important;
  }

  /* Перебиваем "аватарные" правила темы, которые делают кружок 60x60 */
  .testimonial-section .testimonial-item__thumb,
  .testimonial-section .testimonial-item__thumb img{
    width: auto !important;
    height: auto !important;
    border-radius: 16px !important;
  }
}

/* =========================
   CREATED: TradingView icon
   Format: <i class="lab la-tradingview"></i>
   Works everywhere (no container dependency)
   ========================= */

i.lab.la-tradingview{
  display: inline-block !important;
  width: 1em !important;
  height: 1em !important;
  line-height: 1 !important;
  position: relative !important;
  vertical-align: -0.125em !important;
}

/* Рисуем иконку через SVG-mask */
i.lab.la-tradingview::before{
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  display: block !important;

  /* Белая */
  background-color: #fff !important;

  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2048%2048%27%3E%3Cpolygon%20points%3D%274.5%2014.453%204.5%2022.273%2011.865%2022.273%2011.865%2033.547%2019.685%2033.547%2019.685%2014.453%204.5%2014.453%27/%3E%3Cpolygon%20points%3D%2726.202%2033.547%2034.326%2014.453%2043.5%2014.453%2035.376%2033.547%2026.202%2033.547%27/%3E%3Ccircle%20cx%3D%2725.8407%27%20cy%3D%2718.3627%27%20r%3D%273.9101%27/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2048%2048%27%3E%3Cpolygon%20points%3D%274.5%2014.453%204.5%2022.273%2011.865%2022.273%2011.865%2033.547%2019.685%2033.547%2019.685%2014.453%204.5%2014.453%27/%3E%3Cpolygon%20points%3D%2726.202%2033.547%2034.326%2014.453%2043.5%2014.453%2035.376%2033.547%2026.202%2033.547%27/%3E%3Ccircle%20cx%3D%2725.8407%27%20cy%3D%2718.3627%27%20r%3D%273.9101%27/%3E%3C/svg%3E") no-repeat center / contain;
}

/* ✅ Сделать чуть больше как остальные иконки */
i.lab.la-tradingview{
  transform: scale(1.15) !important;
  transform-origin: center !important;
}

/* =====================================
   MOBILE FIX: Footer social icons one row
   ===================================== */
@media (max-width: 767px){

  /* 1) Контейнер с иконками - запрещаем перенос */
  .footer-area .social-list,
  .footer-area .social-links,
  .footer-area .footer-social,
  footer .social-list,
  footer .social-links,
  footer .footer-social{
    display: flex !important;
    flex-wrap: nowrap !important;     /* ✅ один ряд */
    align-items: center !important;
    gap: 14px !important;
  }

  /* 2) На всякий случай убираем поведение inline-block/float у li/a */
  .footer-area .social-list li,
  .footer-area .social-links li,
  footer .social-list li,
  footer .social-links li{
    flex: 0 0 auto !important;
  }

  /* 3) Чтобы иконки не “разъезжались” по высоте */
  .footer-area .social-list a,
  .footer-area .social-links a,
  footer .social-list a,
  footer .social-links a{
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
  }

  /* 4) TradingView не должен быть больше остальных на мобилке */
  i.lab.la-tradingview{
    transform: none !important;
  }
}
