/* ===== TradeSphere-inspired redesign: design tokens ===== */
:root {
  --tsg-success: 34, 197, 94;      /* green accent used for gains/checkmarks */
  --tsg-success-soft: rgba(34, 197, 94, 0.12);
  --tsg-card-bg: rgba(255, 255, 255, 0.03);
  --tsg-card-border: rgba(255, 255, 255, 0.08);
  --tsg-muted: rgba(255, 255, 255, 0.6);
}

/* Small pill label shown above section headings, e.g. "POPULAR TRADING NICHE" */
.tsg-overline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: hsl(var(--base));
  background: hsl(var(--base) / 0.12);
  border: 1px solid hsl(var(--base) / 0.25);
  padding: 5px 14px;
  border-radius: 30px;
  margin-bottom: 14px;
}
.tsg-overline.tsg-overline--success {
  color: rgb(var(--tsg-success));
  background: var(--tsg-success-soft);
  border-color: rgba(var(--tsg-success), 0.3);
}

/* Horizontal live-price ticker strip */
.tsg-ticker {
  width: 100%;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
  border-top: 1px solid var(--tsg-card-border);
  border-bottom: 1px solid var(--tsg-card-border);
  position: relative;
  z-index: 5;
}
.tsg-ticker-track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  padding: 12px 0;
  animation: tsgTickerScroll 30s linear infinite;
  width: max-content;
}
.tsg-ticker:hover .tsg-ticker-track {
  animation-play-state: paused;
}
/* Short placeholder/fallback text: no scroll (would leave blank space), just center it */
.tsg-ticker-track.tsg-ticker-static {
  animation: none;
  width: 100%;
  justify-content: center;
}
.tsg-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}
.tsg-ticker-item .tsg-symbol {
  color: var(--tsg-muted);
  font-weight: 700;
}
.tsg-ticker-item .tsg-change--up {
  color: rgb(var(--tsg-success));
}
.tsg-ticker-item .tsg-change--down {
  color: #f87171;
}
@keyframes tsgTickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Hero v2: ticker pinned to top of section, left-aligned copy, split-tone heading */
.tsg-hero.banner-section {
  padding-block: var(--header-h) 32px;
}
.tsg-hero .tsg-ticker {
  margin-bottom: 48px;
}
@media screen and (max-width: 767px) {
  .tsg-hero .tsg-ticker {
    margin-bottom: 32px;
  }
}
.tsg-hero-content {
  text-align: left;
}
.tsg-heading-accent {
  background: linear-gradient(90deg, hsl(var(--base)), rgb(var(--tsg-success)));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tsg-btn-primary,
.tsg-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-weight: 700;
  padding: 14px 28px;
}
.tsg-btn-primary {
  background: hsl(var(--base));
  border: 1px solid hsl(var(--base));
  color: #fff !important;
}
.tsg-btn-primary:hover {
  background: hsl(var(--base) / 0.85);
  border-color: hsl(var(--base) / 0.85);
  color: #fff;
}
.tsg-btn-outline {
  background: transparent;
  border: 1px solid var(--tsg-card-border);
  color: #fff !important;
}
.tsg-btn-outline:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* Bordered "platform features" style card (used in hero) */
.tsg-platform-card {
  background: var(--tsg-card-bg);
  border: 1px solid var(--tsg-card-border);
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(6px);
}
.tsg-platform-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.tsg-platform-card-header .tsg-live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgb(var(--tsg-success));
  margin-right: 6px;
  box-shadow: 0 0 0 4px var(--tsg-success-soft);
}
.tsg-advanced-label {
  color: rgb(var(--tsg-success));
  font-size: 12px;
  font-weight: 700;
}
.tsg-platform-panel {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--tsg-card-border);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 16px;
}
.tsg-platform-panel-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 14px;
}
.tsg-platform-panel .tsg-feature-row:last-child {
  margin-bottom: 0;
}
.tsg-hero-caption {
  text-align: center;
  color: var(--tsg-muted);
  font-size: 12px;
  letter-spacing: 0.04em;
  margin: 14px 0 0;
}
.tsg-feature-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--tsg-card-border);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 12px;
}
.tsg-feature-row-icon {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #fff;
}
.tsg-feature-row-text {
  flex: 1 1 auto;
}
.tsg-feature-row-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.tsg-feature-row-desc {
  font-size: 12px;
  color: var(--tsg-muted);
  margin: 0;
}
.tsg-feature-row-check {
  flex: 0 0 auto;
  color: rgb(var(--tsg-success));
  font-size: 16px;
}

/* Section heading pattern: overline + centered title + subtext */
.tsg-section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}
.tsg-section-heading__title {
  font-size: 34px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}
.tsg-section-heading__desc {
  color: var(--tsg-muted);
  font-size: 15px;
}

/* Icon-in-circle feature row (no card border), used for "Why Choose" style rows */
.tsg-icon-row-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}
.tsg-icon-row {
  flex: 1 1 220px;
  max-width: 250px;
  text-align: center;
}
.tsg-icon-row-circle {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: hsl(var(--base) / 0.12);
  border: 1px solid hsl(var(--base) / 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.tsg-icon-row-circle img {
  max-width: 32px;
  max-height: 32px;
}
.tsg-icon-row-title {
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
.tsg-icon-row-desc {
  color: var(--tsg-muted);
  font-size: 14px;
  margin: 0;
}

/* Investment plan cards: colored accent bar + checklist */
.tsg-plan-accent {
  height: 5px;
  width: 100%;
}
.tsg-plan-accent--0 { background: linear-gradient(90deg, hsl(var(--base)), rgb(var(--tsg-success))); }
.tsg-plan-accent--1 { background: linear-gradient(90deg, rgb(var(--tsg-success)), hsl(var(--base))); }
.tsg-plan-accent--2 { background: linear-gradient(90deg, #c084fc, hsl(var(--base))); }

.plan-card {
  background: var(--tsg-card-bg);
  border: 1px solid var(--tsg-card-border);
  border-radius: 16px;
  overflow: hidden;
  padding: 0 0 24px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.plan-card:hover {
  transform: translateY(-6px);
  border-color: hsl(var(--base) / 0.4);
}
.plan-card-header {
  padding: 26px 24px 20px;
  text-align: center;
  border-bottom: 1px solid var(--tsg-card-border);
  margin-bottom: 20px;
}
.plan-card-title {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 14px;
}
.plan-card-circle {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: hsl(var(--base));
  background: hsl(var(--base) / 0.1);
  border: 2px solid hsl(var(--base) / 0.35);
}
.plan-card-body {
  padding: 0 24px;
}
.plan-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.plan-card-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--tsg-muted);
  font-size: 14px;
  padding: 9px 0;
}
.plan-card-item .icon {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--tsg-success-soft);
  color: rgb(var(--tsg-success));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  margin-top: 2px;
}
.plan-card-item .badge--success {
  background: var(--tsg-success-soft);
  color: rgb(var(--tsg-success));
}
.plan-card-footer {
  padding: 20px 24px 0;
}
.plan-card-btn .btn--base {
  border-radius: 10px;
  font-weight: 700;
  padding: 12px 0;
}

/* How It Works: numbered step badge on top of existing card */
.how-work-card {
  position: relative;
}
.tsg-step-num {
  position: absolute;
  top: -14px;
  left: -10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: hsl(var(--base));
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px hsl(var(--dark, 222 47% 6%));
  z-index: 2;
}

/* Restored growth-chart graphic strip below hero */
.growth-banner-section {
  padding: 20px 0 0;
}
.growth-banner-wrap {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--tsg-card-border);
}
.growth-banner-wrap img {
  width: 100%;
  display: block;
}

/* Copy Animation */

.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 .3s;
  -o-transition: all .3s;
  transition: all .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;
  }
}


.input-group-text.copytext.copyBoard {
  cursor: pointer;
}

.cookies-card {
  width: 520px;
  padding: 30px;
  color: #dddddd;
  position: fixed;
  bottom: 15px;
  left: 15px;
  z-index: 999999;
  transition: all .5s;
  border-radius: 5px;
  border: 1px solid hsl(var(--base)/ 0.5);
  border-radius: 12px;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  -ms-border-radius: 12px;
  -o-border-radius: 12px;
  background-color: hsl(var(--section-bg));
  box-shadow: 0 0 15px hsl(var(--base)/ 0.25);
}

.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: 70%;
  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-container--default .select2-search--dropdown .select2-search__field {
  padding: 10px 20px;
}

.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-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-container--default .select2-search--dropdown .select2-search__field:focus {
  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;
  border-radius: 12px !important;
}



.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: var(--second_color);
  border-radius: 5px;
  height: 100%;

}


.payment-system-list.is-scrollable {
  max-height: min(388px, 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(--white)/.1);
  border-radius: 10px;
}

.payment-item {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px 18px;
  transition: all 0.3s;
  border-left: 3px solid transparent;
  margin-bottom: 0;
}

label.payment-item {
  border-bottom: 1px solid #ffffff42;
}

label.payment-item:last-child {
  border-bottom: 0 !important;
}

.gateway-card {
  padding: 0;
  margin-top: 30px;
  border: 1px solid #373742 !important;
  border-radius: 10px;
  overflow: hidden;
}

.payment-item:first-child {
  border-top-color: #fff;
  border-radius: 5px 5px 0 0;
}

.payment-item:last-child {
  border-bottom: 0 !important;
  border-radius: 5px 5px 0 0;
}

.payment-item:has(.payment-item__radio:checked) {
  border-left: 3px solid hsl(var(--base));
  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;
  margin-bottom: 8px;
}

.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 {
  border: 0;
  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: hsl(var(--base));
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 15px;
  font-weight: 500;
  color: hsl(var(--white));
}

.payment-item:hover+.payment-item__btn {
  border-top-color: #fff;
}

.payment-item__btn-text {
  color: hsl(var(--white));
}

button .spinner-border {
  --bs-spinner-width: 1.5rem;
  --bs-spinner-height: 1.5rem;
}

.modal-content {
  background-color: #242431;
  border: 1px solid rgba(0, 0, 0, .2);
}

.modal-content .close {
  background: transparent;
  color: #fff;
}

.modal-header {
  border-bottom: 1px solid #373742;
}

.modal-footer {
  border-top: 1px solid #373742;
}


.table-search {
  width: 33%;
  margin-left: auto;
}

@media (max-width:991px) {
  .table-search {
    width: 50%;
  }
}

@media (max-width:575px) {
  .table-search {
    width: 100%;
  }
}

.verification-code-wrapper {
  border: 1px solid hsl(var(--white)/0.1);
  background: hsl(var(--section-bg));
  border-radius: 12px;
}

.verification-code::after {
  background: hsl(var(--section-bg)) !important;
}

.verification-code span {
  border-radius: 6px;
  background-color: transparent !important;
}

.verification-code input:focus {
  background-color: inherit !important;
}

.verification-area form>.form-group:last-child,
.verification-area form>.mb-3:last-child {
  margin-bottom: 0px !important;
}

.border-bottom {
  border-color: rgba(255, 255, 255, 0.24) !important;
}

label.required:after {
  content: '*';
  color: #DC3545 !important;
  margin-left: 2px;
}

.verification-code span {
  background: #22222e;
  border: solid 1px #f1f1f11f;
  color: #ffffff;
}

.verification-code input {
  color: #ffff !important;
}

.disabled {
  opacity: 0.7;
}

.input-group-text {
  background-color: hsl(var(--base)) !important;
}

.file-upload .remove-btn {
  background: #dc3545 !important;
  border-color: #dc3545 !important;
}