/* 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: #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: 99;
	transition: all .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: 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-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%);
  z-index: 1060;
}

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

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

.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: .3s;
}

.select2-container--default .select2-selection--single {
  border-color: hsl(var(--border)) !important;
  border-width: 1px !important;
  border-radius: .375rem !important;
  padding: .375rem .75rem !important;
  height: 45px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 11px !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: rgb(var(--main)) !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;
  border-radius: .375rem !important;
}
.select2-container:has(.select2-selection--single) {
  width: 100% !important;
}
.selection {
  width: 100%;
}
.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 hsl(var(--base));
  border-radius: 0px;
}

.payment-item__check {
  border: 3px solid transparent;
}
.payment-item__btn-text {
  color: #fff;
}

.payment-item__btn__icon {
  color: #fff;
}
.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 {
  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: hsl(var(--base));
  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;
}




.form-group{
  margin-bottom: 15px
}

.treeview li.contains-items {
  background-image: url(icons/arrow-left.png) !important;
}

.treeview li.items-expanded {
  background-image: url(icons/arrow-down.png) !important;
}
#counter{
  font-family: 'lora';
}

.accordion-button {
  flex-wrap: wrap;
}
@media (max-width: 575px) {
  .accordion-button {
    padding: 15px 8px;
  }
}

@media (max-width: 575px) {
  .transaction-item {
      flex-wrap: wrap;
  }
}
@media (max-width: 767px) {
  .transaction-item .icon-wrapper .trans-title {
      font-size: 0.875rem;
  }
}
@media (max-width: 767px) {
  .transaction-item .icon-wrapper p, .transaction-item .icon-wrapper span {
      font-size: 0.75rem !important;
  }
}
@media (max-width: 575px) {
  .transaction-item .content-wrapper {
      padding-left: 2.5rem;
      margin-top: 8px !important;
  }
}
@media (max-width: 767px) {
  .transaction-item .content-wrapper p {
      font-size: 0.75rem !important;
  }
}
@media (max-width: 767px) {
  .transaction-item .amount-wrapper p {
      font-size: 0.8125rem !important;
  }
}
@media (max-width: 767px) {
  .transaction-item .amount-wrapper span {
      font-size: 0.75rem !important;
  }
}
.table--acordion {
  background-color: #fff;
}
.table--acordion .accordion-body {
  background-color: #faebd72e;
}
.table--acordion .accordion-button {
  text-align: left;
  align-items: center;
}
.table--acordion .accordion-button::after {
  display: none;
}
.table--acordion .accordion-button:focus {
  box-shadow: none;
}
.table--acordion .left {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  align-items: center;
}
.table--acordion .left .icon {
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(69, 130, 255, 0.15);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  color: #4582ff;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  font-size: 1.625rem;
}
@media (max-width: 575px) {
  .table--acordion .left .icon {
      width: 1.875rem;
      height: 1.875rem;
      font-size: 16px;
  }
}
.table--acordion .left .content {
  width: calc(100% - 2.5rem);
  padding-left: 0.9375rem;
}
@media (max-width: 575px) {
  .table--acordion .left .content {
      padding-left: 0.625rem;
  }
}
.table--acordion .accordion-item.rcv-item .icon {
  background-color: rgba(40, 199, 111, 0.15);
  color: #28c76f;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
.table--acordion .accordion-item.sent-item .icon {
  background-color: rgba(234, 84, 85, 0.15);
  color: #ea5455;
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.caption-list li {
  display: flex;
  flex-wrap: wrap;
  padding: 0.625rem 0;
  font-size: 0.9375rem;
  border-bottom: 1px dashed #cacaca;
}
.caption-list li:first-child {
  padding-top: 0;
}
.caption-list li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}
.caption-list li .caption {
  width: 30%;
  font-family: "Maven Pro", sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  position: relative;
}
@media (max-width: 480px) {
  .caption-list li .caption {
      width: 35%;
  }
}
.caption-list li .caption::after {
  position: absolute;
  content: ':';
  top: 0;
  right: 0;
}
.caption-list li .value {
  width: 70%;
  padding-left: 0.9375rem;
}
@media (max-width: 480px) {
  .caption-list li .value {
      width: 65%;
  }
}
.caption-list-two {
  padding: 0.625rem 0.9375rem;
  background-color: rgba(69, 130, 255, 0.1);
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}
.caption-list-two li {
  font-family: "Maven Pro", sans-serif;
  font-weight: 500;
  color: #373e4a;
  font-size: 0.875rem;
  padding: 0.5rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  border-bottom: 1px dashed #b1b1b1;
}
.caption-list-two li:first-child {
  padding-top: 0;
}
.caption-list-two li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}
.caption-list-two li .caption {
  width: 20%;
  position: relative;
}
.caption-list-two li .caption::after {
  position: absolute;
  content: ':';
  top: 0;
  right: 0;
}
.caption-list-two li .value {
  width: 80%;
  text-align: right;
}


.table--acordion .left .icon-success {
  background-color: #28c87026;
  color: #28c870;
}
.table--acordion .left .icon-warning {
  background-color: #ff9e4226;
  color: #ff9e42;
}
.table--acordion .left .icon-danger {
  background-color: #ea535326;
  color: #ea5353;
}
.table--acordion .left .icon-dark {
  background-color: #081f3026;
  color: #081f30;
}


.tr-icon.icon-success{
    transform: rotate(45deg);
}

.tr-icon.icon-danger{
    transform: rotate(-45deg);
}

.close{
  background-color: transparent;
  border: none;
}

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

.auth-page-logo img{
  max-width: 180px !important;
}

.brand-logo--auth {
    justify-content: center;
}

.brand-logo--auth .brand-logo__core-trade {
    color: #0F1729;
}

.brand-logo--auth .brand-logo__max {
    color: #C8440C;
}

.input-group-text{
  border: 1px solid hsl(var(--border));
}

.dashboard-nav select.langSel {
  border: 1px solid #ddd !important;
  color: hsl(var(--body));
}

.rang-user img{ 
   width: 60px;
}

.dashboard-nav select.langSel{
  margin-left: 0px;
}

/* Brand logo: icon + Core Trade Max text */
.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
}

.brand-logo__icon {
    height: 48px;
    width: auto;
    max-height: 48px;
    object-fit: contain;
    flex-shrink: 0;
}

.brand-logo__text {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    font-family: "Maven Pro", sans-serif;
}

.brand-logo__core-trade {
    color: #ffffff;
}

.brand-logo__max {
    color: #FBA432;
    margin-left: 8px;
}

.brand-logo--footer {
    justify-content: center;
}

.header .logo {
    display: flex;
    align-items: center;
}

/* Header logo — slightly larger than default */
.header .logo .brand-logo {
    gap: 14px;
}

.header .logo .brand-logo__icon {
    height: 58px;
    max-height: 58px;
    max-width: none;
    width: auto;
}

.header .logo .brand-logo__text {
    font-size: 1.65rem;
}

.header .logo img {
    max-width: none;
    max-height: 62px;
}

@media (max-width: 575px) {
    .header .logo .brand-logo {
        gap: 10px;
    }

    .header .logo .brand-logo__icon {
        height: 44px;
        max-height: 44px;
    }

    .header .logo .brand-logo__text {
        font-size: 1.15rem;
    }

    .header .logo img {
        max-height: 48px;
    }
}

@media (max-width: 400px) {
    .header .logo .brand-logo__text {
        font-size: 1rem;
    }

    .header .logo .brand-logo__icon {
        height: 38px;
        max-height: 38px;
    }
}

@media (max-width: 575px) {
    .brand-logo {
        gap: 8px;
    }

    .brand-logo__icon {
        height: 40px;
        max-height: 40px;
    }

    .brand-logo__text {
        font-size: 1.05rem;
    }
}

@media (max-width: 400px) {
    .brand-logo__text {
        font-size: 0.9rem;
    }

    .brand-logo__icon {
        height: 36px;
        max-height: 36px;
    }
}

/* Header & Footer brand colors */
.header {
    background-color: #0F1729 !important;
}

.header .menu li a {
    color: #ffffff !important;
}

.header .menu li a:hover,
.header .menu li:hover > a {
    color: #FBA432 !important;
}

.header .menu-btn a {
    background-color: #FBA432 !important;
    color: #0F1729 !important;
}

.header .menu-btn a:hover {
    background-color: #e89320 !important;
    color: #0F1729 !important;
}

.header .header-trigger span,
.header .header-trigger span::before,
.header .header-trigger span::after {
    background-color: #ffffff !important;
}

@media (max-width: 991px) {
    .header .menu.active {
        background-color: #0F1729 !important;
    }

    .header .menu li a {
        color: #ffffff !important;
    }

    .header .menu li a:hover {
        color: #FBA432 !important;
    }
}

footer {
    background-color: #0F1729 !important;
    color: #ffffff !important;
}

footer .footer-text,
footer .copy-right-text,
footer p {
    color: #ffffff !important;
}

footer .footer-links a,
footer .link-color {
    color: #ffffff !important;
}

footer .footer-links a:hover,
footer .link-color:hover {
    color: #FBA432 !important;
}

footer a.text--base {
    color: #FBA432 !important;
}

footer a.text--base:hover {
    color: #ffffff !important;
}


/* investor card design */

.investor-card{
  background-color: hsl(var(--white));
  padding: 30px;
  position: relative;
  border-radius: 10px;
  box-shadow: 0px 0px 10px #ddd ;
}

.investor-card__thumb{
  position: absolute;
  right:20px;
  top: 20px;
}

.amount  span{
  font-weight: 500;
  color: #2a3962;
}

/* ========== Core Trade Max Homepage (TradeCore-style) ========== */
.ctm-home {
    --ctm-bg: #0F1729;
    --ctm-bg-card: rgba(30, 41, 59, 0.4);
    --ctm-border: rgba(51, 65, 85, 0.5);
    --ctm-orange: #FBA432;
    --ctm-orange-dark: #e89320;
    --ctm-text: #ffffff;
    --ctm-muted: #94a3b8;
    --ctm-muted-dark: #64748b;
    background: var(--ctm-bg);
    color: var(--ctm-text);
    font-family: "Maven Pro", sans-serif;
    margin-top: -1px;
}

.ctm-home .ctm-container {
    max-width: 1280px;
}

.ctm-gradient-text {
    background: linear-gradient(90deg, #fb923c, #fbbf24, #fb923c);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.ctm-text-muted-sm {
    color: var(--ctm-muted-dark);
    font-size: 0.8125rem;
}

.ctm-label {
    display: block;
    font-size: 0.875rem;
    color: var(--ctm-muted-dark);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    font-family: ui-monospace, monospace;
}

.ctm-muted-label {
    color: var(--ctm-muted-dark);
    font-size: 0.875rem;
}

.ctm-section {
    padding: 5rem 0;
    position: relative;
}

.ctm-section--sm {
    padding: 3rem 0;
}

.ctm-section--cta {
    padding-bottom: 6rem;
}

.ctm-section-head {
    max-width: 48rem;
    margin-bottom: 3.5rem;
}

.ctm-section-head h2 {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.ctm-section-head p {
    color: var(--ctm-muted);
    font-size: 1.125rem;
    line-height: 1.7;
    margin: 0;
}

/* Hero */
.ctm-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 4rem 0;
    overflow: hidden;
    background: var(--ctm-bg);
}

.ctm-hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
}

.ctm-hero__glow--1 {
    top: 25%;
    left: 33%;
    width: 600px;
    height: 600px;
    background: rgba(251, 164, 50, 0.15);
}

.ctm-hero__glow--2 {
    top: 50%;
    right: 0;
    width: 384px;
    height: 384px;
    background: rgba(245, 158, 11, 0.1);
}

.ctm-hero__grid {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

.ctm-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: rgba(251, 164, 50, 0.1);
    border: 1px solid rgba(251, 164, 50, 0.2);
    color: #fb923c;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.ctm-hero__title {
    font-size: clamp(2rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 1.25rem;
}

.ctm-hero__desc {
    color: var(--ctm-muted);
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.7;
    max-width: 36rem;
    margin-bottom: 2rem;
}

.ctm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.ctm-btn--primary {
    background: linear-gradient(90deg, #f97316, #ea580c);
    color: #fff !important;
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.25);
}

.ctm-btn--primary:hover {
    background: linear-gradient(90deg, #ea580c, #c2410c);
    transform: scale(1.03);
    color: #fff !important;
}

.ctm-btn--lg {
    padding: 1rem 2rem;
    font-size: 1.05rem;
}

.ctm-btn--outline {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid var(--ctm-border);
    color: #fff !important;
    border-radius: 0.5rem;
}

.ctm-btn--outline:hover {
    border-color: rgba(251, 164, 50, 0.4);
    color: #fb923c !important;
}

.ctm-link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #fb923c !important;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none !important;
    transition: color 0.2s;
}

.ctm-link-arrow:hover {
    color: #fdba74 !important;
}

.ctm-tag {
    display: inline-block;
    font-size: 0.75rem;
    color: #fb923c;
    background: rgba(251, 164, 50, 0.1);
    border: 1px solid rgba(251, 164, 50, 0.2);
    border-radius: 999px;
    padding: 0.35rem 0.85rem;
}

/* Mockup */
.ctm-mockup-wrap {
    position: relative;
}

.ctm-mockup-wrap::before {
    content: "";
    position: absolute;
    inset: -1rem;
    background: linear-gradient(90deg, rgba(249,115,22,0.05), rgba(249,115,22,0.1), rgba(245,158,11,0.05));
    border-radius: 1.5rem;
    filter: blur(24px);
}

.ctm-mockup {
    position: relative;
    background: #0f172a;
    border: 1px solid var(--ctm-border);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.ctm-mockup--large {
    max-width: 900px;
}

.ctm-mockup__bar {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.75rem;
    background: rgba(30, 41, 59, 0.8);
    border-bottom: 1px solid var(--ctm-border);
}

.ctm-mockup__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.ctm-mockup__dot--red { background: rgba(239, 68, 68, 0.8); }
.ctm-mockup__dot--yellow { background: rgba(234, 179, 8, 0.8); }
.ctm-mockup__dot--green { background: rgba(34, 197, 94, 0.8); }

.ctm-mockup__bar-title {
    font-size: 0.75rem;
    color: var(--ctm-muted-dark);
    margin-left: 0.25rem;
}

.ctm-mockup__body {
    display: flex;
    min-height: 320px;
}

.ctm-mockup__body--flow {
    display: block;
    padding: 1.5rem;
    min-height: 200px;
}

.ctm-mockup__sidebar {
    width: 140px;
    flex-shrink: 0;
    border-right: 1px solid var(--ctm-border);
    padding: 0.75rem 0.5rem;
    background: rgba(15, 23, 42, 0.5);
}

.ctm-mockup__nav-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.65rem;
    color: var(--ctm-muted-dark);
    padding: 0.4rem 0.5rem;
    border-radius: 0.35rem;
    margin-bottom: 0.15rem;
}

.ctm-mockup__nav-item--active {
    background: rgba(30, 41, 59, 0.8);
    color: #fff;
    border-left: 2px solid var(--ctm-orange);
}

.ctm-mockup__nav-item--active i {
    color: var(--ctm-orange);
}

.ctm-mockup__main {
    flex: 1;
    padding: 0.75rem;
}

.ctm-mockup__header {
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--ctm-border);
}

.ctm-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-width: 280px;
    margin: 0 auto;
}

.ctm-flow__step {
    width: 100%;
    padding: 0.65rem 0.75rem;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid var(--ctm-border);
    border-radius: 0.5rem;
    font-size: 0.7rem;
    color: #cbd5e1;
}

.ctm-flow__step--trigger {
    border-left: 2px solid #f97316;
    box-shadow: 0 0 12px rgba(249, 115, 22, 0.2);
}

.ctm-flow__step--condition { border-left: 2px solid #f59e0b; }
.ctm-flow__step--action { border-left: 2px solid #10b981; }

.ctm-flow__label {
    display: block;
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ctm-muted-dark);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.ctm-flow__line {
    width: 1px;
    height: 1rem;
    border-left: 1px dashed var(--ctm-border);
}

/* Tabs */
.ctm-tabs {
    display: grid;
    gap: 0.25rem;
    background: rgba(30, 41, 59, 0.3);
    border-radius: 0.75rem;
    padding: 0.25rem;
}

.ctm-tabs--platform {
    grid-template-columns: repeat(2, 1fr);
    max-width: 48rem;
}

.ctm-tabs--broker {
    grid-template-columns: repeat(2, 1fr);
    max-width: 42rem;
}

@media (min-width: 576px) {
    .ctm-tabs--platform { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 768px) {
    .ctm-tabs--broker { grid-template-columns: repeat(4, 1fr); }
}

.ctm-tabs__btn {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.65rem 0.5rem;
    border: none;
    background: transparent;
    border-radius: 0.5rem;
    color: var(--ctm-muted-dark);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.ctm-tabs__btn i {
    font-size: 1rem;
}

.ctm-tabs__sub {
    display: none;
    font-size: 0.5625rem;
    font-weight: 400;
    line-height: 1.3;
    opacity: 0;
}

@media (min-width: 576px) {
    .ctm-tabs__sub { display: block; }
}

.ctm-tabs__btn.is-active {
    color: #fff;
}

.ctm-tabs__btn.is-active::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(51, 65, 85, 0.5);
    border: 1px solid rgba(71, 85, 105, 0.3);
    border-radius: 0.5rem;
    z-index: 0;
}

.ctm-tabs__btn.is-active i {
    color: var(--ctm-orange);
    position: relative;
    z-index: 1;
}

.ctm-tabs__btn.is-active .ctm-tabs__title,
.ctm-tabs__btn.is-active .ctm-tabs__sub {
    position: relative;
    z-index: 1;
}

.ctm-tabs__btn.is-active .ctm-tabs__sub {
    color: var(--ctm-muted);
    opacity: 1;
}

.ctm-tabs__progress {
    height: 2px;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 999px;
    margin-top: 0.5rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}

.ctm-tabs__progress-bar {
    height: 100%;
    width: 50%;
    background: linear-gradient(90deg, #f97316, #fbbf24);
    border-radius: 999px;
}

.ctm-tab-panel {
    display: none;
}

.ctm-tab-panel.is-active {
    display: block;
}

.ctm-preview-card {
    background: var(--ctm-bg-card);
    border: 1px solid var(--ctm-border);
    border-radius: 1rem;
    padding: 2.5rem;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.ctm-preview-card h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.ctm-preview-card p {
    color: var(--ctm-muted);
    margin: 0;
}

.ctm-kyc-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .ctm-kyc-grid { grid-template-columns: repeat(4, 1fr); }
}

.ctm-kyc-card {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid var(--ctm-border);
    border-radius: 0.5rem;
    padding: 0.75rem;
    font-size: 0.75rem;
}

.ctm-kyc-card strong {
    display: block;
    color: #fff;
    margin-bottom: 0.5rem;
}

.ctm-kyc-status {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
}

.ctm-kyc-status--ok { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.ctm-kyc-status--pending { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.ctm-kyc-status--fail { background: rgba(239, 68, 68, 0.15); color: #f87171; }

/* Platform links */
.ctm-platform-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

@media (min-width: 576px) {
    .ctm-platform-links { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 768px) {
    .ctm-platform-links { grid-template-columns: repeat(5, 1fr); }
}

.ctm-platform-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    background: rgba(30, 41, 59, 0.3);
    border: 1px solid var(--ctm-border);
    color: var(--ctm-muted) !important;
    font-size: 0.75rem;
    text-decoration: none !important;
    transition: all 0.2s;
}

.ctm-platform-link:hover {
    background: rgba(30, 41, 59, 0.5);
    color: #fff !important;
    border-color: rgba(71, 85, 105, 0.6);
}

.ctm-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(251, 164, 50, 0.2), transparent);
    margin-top: 3rem;
}

/* Stats */
.ctm-stat-big {
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 700;
    line-height: 1;
}

.ctm-stat-big-label {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: var(--ctm-muted);
    margin-top: 0.75rem;
}

.ctm-stat-sm {
    font-size: clamp(1.25rem, 3vw, 1.875rem);
    font-weight: 700;
}

.ctm-stat-sm-label {
    font-size: 0.6875rem;
    color: var(--ctm-muted-dark);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 0.35rem;
}

.ctm-award-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(30, 41, 59, 0.3);
    border: 1px solid var(--ctm-border);
    border-radius: 999px;
    padding: 0.65rem 1.25rem;
    backdrop-filter: blur(8px);
}

.ctm-award-badge__icon {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #fbbf24, #f97316);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.ctm-stars {
    display: flex;
    gap: 0.1rem;
    color: #fbbf24;
    font-size: 0.75rem;
}

/* Logo marquee */
.ctm-logo-marquee {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.ctm-logo-marquee__track {
    display: flex;
    gap: 3rem;
    animation: ctm-marquee 30s linear infinite;
    width: max-content;
}

.ctm-logo-marquee__item {
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    white-space: nowrap;
    transition: color 0.3s;
}

.ctm-logo-marquee__item:hover {
    color: rgba(255, 255, 255, 0.7);
}

@keyframes ctm-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Solution card */
.ctm-solution-card {
    background: rgba(30, 41, 59, 0.3);
    border: 1px solid var(--ctm-border);
    border-radius: 1rem;
    padding: 2rem;
    backdrop-filter: blur(8px);
}

@media (min-width: 768px) {
    .ctm-solution-card { padding: 2.5rem; }
}

.ctm-compare-item {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid var(--ctm-border);
    border-radius: 0.75rem;
    padding: 1.25rem;
    margin-bottom: 0.75rem;
}

.ctm-compare-item__bad {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--ctm-muted-dark);
    margin-bottom: 0.5rem;
}

.ctm-compare-item__bad i { color: #f87171; }

.ctm-compare-item__good {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #fff;
}

.ctm-compare-item__good i { color: #34d399; }

.ctm-compare-item__detail {
    font-size: 0.75rem;
    color: var(--ctm-muted);
    margin: 0.35rem 0 0 1.375rem;
}

/* Comparison table */
.ctm-table-wrap {
    background: rgba(30, 41, 59, 0.3);
    border: 1px solid var(--ctm-border);
    border-radius: 1rem;
    overflow: hidden;
}

.ctm-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.ctm-table th,
.ctm-table td {
    padding: 0.875rem 1.25rem;
    text-align: left;
    vertical-align: middle;
    border-bottom: 1px solid rgba(51, 65, 85, 0.2);
}

.ctm-table thead th {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ctm-muted-dark);
    font-weight: 600;
}

.ctm-table thead th.ctm-table__highlight {
    color: #fb923c;
    font-size: 0.875rem;
    text-transform: none;
    border-top: 2px solid #f97316;
    background: rgba(249, 115, 22, 0.05);
}

.ctm-table tbody td:first-child {
    color: #cbd5e1;
    font-size: 0.875rem;
}

.ctm-table__highlight {
    background: rgba(249, 115, 22, 0.03);
}

.ctm-table tbody td {
    font-size: 0.8125rem;
    color: var(--ctm-muted);
}

.ctm-table tbody td.ctm-table__highlight {
    color: #fff;
    font-weight: 500;
}

.ctm-table__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    margin-right: 0.5rem;
    font-size: 0.65rem;
    vertical-align: middle;
}

.ctm-table__icon--ok { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.ctm-table__icon--no { background: rgba(239, 68, 68, 0.15); color: #f87171; }
.ctm-table__icon--partial { background: rgba(245, 158, 11, 0.15); color: #fbbf24; font-weight: 700; }

/* Integration cards */
.ctm-int-card {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid var(--ctm-border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    height: 100%;
    transition: border-color 0.3s;
}

.ctm-int-card:hover {
    border-color: rgba(71, 85, 105, 0.6);
}

.ctm-int-card__head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.ctm-int-card__icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ctm-int-card__icon--blue { background: rgba(59, 130, 246, 0.1); color: #60a5fa; }
.ctm-int-card__icon--green { background: rgba(16, 185, 129, 0.1); color: #34d399; }
.ctm-int-card__icon--purple { background: rgba(139, 92, 246, 0.1); color: #a78bfa; }
.ctm-int-card__icon--amber { background: rgba(245, 158, 11, 0.1); color: #fbbf24; }

.ctm-int-card h3 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.ctm-int-card__count {
    font-size: 0.75rem;
    font-weight: 500;
}

.ctm-int-card__count--blue { color: #60a5fa; }
.ctm-int-card__count--green { color: #34d399; }
.ctm-int-card__count--purple { color: #a78bfa; }
.ctm-int-card__count--amber { color: #fbbf24; }

.ctm-int-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.ctm-int-card__tags span {
    background: rgba(51, 65, 85, 0.5);
    border-radius: 0.35rem;
    padding: 0.25rem 0.625rem;
    font-size: 0.75rem;
    color: #cbd5e1;
}

/* Blog */
.ctm-blog-feature {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid var(--ctm-border);
    border-radius: 0.75rem;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ctm-blog-feature__visual {
    height: 12rem;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(30, 41, 59, 0.5));
    position: relative;
    overflow: hidden;
}

.ctm-blog-visual {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ctm-blog-visual__funnel {
    width: 200px;
}

.ctm-funnel-step {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0.75rem;
    font-size: 0.7rem;
    color: #fff;
    margin-bottom: 2px;
}

.ctm-funnel-step--1 {
    width: 100%;
    background: linear-gradient(90deg, rgba(249,115,22,0.4), rgba(249,115,22,0.6));
    border-radius: 0.35rem 0.35rem 0 0;
}

.ctm-funnel-step--2 {
    width: 85%;
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(90deg, rgba(245,158,11,0.4), rgba(245,158,11,0.6));
}

.ctm-funnel-step--3 {
    width: 70%;
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(90deg, rgba(16,185,129,0.4), rgba(16,185,129,0.6));
    border-radius: 0 0 0.35rem 0.35rem;
}

.ctm-blog-feature__content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ctm-blog-feature__content h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.ctm-blog-feature__content p {
    color: var(--ctm-muted);
    line-height: 1.6;
    flex: 1;
}

.ctm-article-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid transparent;
    margin-bottom: 0.25rem;
    transition: all 0.2s;
}

.ctm-article-item.is-active {
    background: rgba(30, 41, 59, 0.6);
    border-color: var(--ctm-border);
}

.ctm-article-item__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #475569;
    flex-shrink: 0;
    margin-top: 0.45rem;
}

.ctm-article-item.is-active .ctm-article-item__dot {
    background: var(--ctm-orange);
}

.ctm-article-item__title {
    font-size: 0.875rem;
    color: var(--ctm-muted-dark);
    line-height: 1.4;
}

.ctm-article-item.is-active .ctm-article-item__title {
    color: #fff;
    font-weight: 500;
}

/* FAQ */
.ctm-faq {
    max-width: 48rem;
}

.ctm-faq__item {
    margin-bottom: 0.75rem;
}

.ctm-faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(30, 41, 59, 0.3);
    border: 1px solid var(--ctm-border);
    border-radius: 0.75rem;
    color: #cbd5e1;
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s;
}

.ctm-faq__item.is-open .ctm-faq__question {
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(71, 85, 105, 0.5);
    color: #fff;
}

.ctm-faq__toggle {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(51, 65, 85, 0.5);
    color: var(--ctm-muted);
    font-size: 0.875rem;
}

.ctm-faq__item.is-open .ctm-faq__toggle {
    background: var(--ctm-orange);
    color: #fff;
}

.ctm-faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.ctm-faq__item.is-open .ctm-faq__answer {
    max-height: 300px;
}

.ctm-faq__answer p {
    padding: 0 1.25rem 1.25rem;
    margin: 0;
    color: var(--ctm-muted);
    line-height: 1.7;
    font-size: 0.9375rem;
}

.ctm-faq__item.is-open .ctm-faq__answer {
    background: rgba(30, 41, 59, 0.3);
    border: 1px solid var(--ctm-border);
    border-top: none;
    border-radius: 0 0 0.75rem 0.75rem;
    margin-top: -0.5rem;
    padding-top: 0.5rem;
}

/* Override theme defaults inside homepage */
.ctm-home h1,
.ctm-home h2,
.ctm-home h3,
.ctm-home h4,
.ctm-home p {
    font-family: "Maven Pro", sans-serif;
}

.ctm-home a.ctm-btn,
.ctm-home a.ctm-link-arrow,
.ctm-home a.ctm-platform-link {
    text-decoration: none;
}

/* Plan & Contact pages — match homepage dark theme */
.ctm-page {
    background-color: #0F1729;
    color: #ffffff;
}

.ctm-page h1,
.ctm-page h2,
.ctm-page h3,
.ctm-page h4,
.ctm-page h5,
.ctm-page h6,
.ctm-page .title {
    color: #ffffff !important;
}

.ctm-page p,
.ctm-page label,
.ctm-page span:not(.ctm-gradient-text):not(.value) {
    color: #e2e8f0;
}

.ctm-page .label {
    color: #94a3b8 !important;
}

.ctm-page .value {
    color: #ffffff !important;
}

/* Plan page cards */
.ctm-page .plan-item {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(51, 65, 85, 0.5);
    border-radius: 1rem;
    color: #ffffff;
}

.ctm-page .plan-item.style--two .plan-rate .rate,
.ctm-page .plan-item.style--two .plan-rate .plan-rate-percent,
.ctm-page .plan-item .plan-title {
    color: #FBA432 !important;
}

.ctm-page .plan-item.style--two .plan-rate .plan-rate-percent {
    font-family: "Maven Pro", sans-serif;
    font-size: 3.25rem !important;
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.04em;
    background: linear-gradient(180deg, #ffe0a8 0%, #FBA432 48%, #FB8931 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent !important;
    filter: drop-shadow(0 4px 14px rgba(251, 164, 50, 0.28));
}

.ctm-page .plan-item p,
.ctm-page .plan-item .list li {
    color: #cbd5e1 !important;
}

.ctm-page .plan-item .cmn--btn,
.ctm-page .btn--base {
    background-color: #FBA432 !important;
    border-color: #FBA432 !important;
    color: #0F1729 !important;
}

.ctm-page .plan-item .cmn--btn:hover,
.ctm-page .btn--base:hover {
    background-color: #e89320 !important;
    border-color: #e89320 !important;
    color: #0F1729 !important;
}

/* Plan category sections */
.ctm-page .plan-categories-wrapper {
    width: 100%;
}

.ctm-page .plan-categories-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 1rem;
    margin-bottom: 0;
}

.ctm-page .plan-category-plans-panel {
    flex-basis: 100%;
    width: 100%;
    padding: 0.5rem 0 0.75rem;
}

.ctm-page .plan-category-label {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #162032;
    border: 1px solid rgba(251, 164, 50, 0.35);
    border-left: 4px solid #FBA432;
    border-radius: 0.5rem;
    padding: 0.85rem 1.35rem;
    margin-bottom: 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.25s ease;
    color: inherit;
    text-align: left;
    flex: 0 0 calc((100% - 2rem) / 3);
    max-width: calc((100% - 2rem) / 3);
    width: calc((100% - 2rem) / 3);
    min-width: 0;
}

.ctm-page .plan-category-label:hover,
.ctm-page .plan-category-label.is-active {
    border-color: #FBA432;
    box-shadow: 0 6px 20px rgba(251, 164, 50, 0.15);
}

.ctm-page .plan-category-label.is-active {
    background: rgba(251, 164, 50, 0.08);
}

.ctm-page .plan-category-label__arrow {
    display: flex;
    align-items: center;
    color: #94A3B8;
    font-size: 1.1rem;
    margin-left: auto;
    flex-shrink: 0;
    transition: transform 0.25s ease, color 0.25s ease;
}

.ctm-page .plan-category-label.is-active .plan-category-label__arrow {
    color: #FBA432;
    transform: rotate(180deg);
}

.ctm-page .plan-category-label__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    color: #FBA432;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.ctm-page .plan-category-label__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ctm-page .plan-category-label__name {
    color: #FBA432 !important;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
}

.ctm-page .plan-category-label__count {
    display: block;
    color: #94A3B8;
    font-size: 0.8rem;
    margin-top: 0.1rem;
}

.ctm-page .plan-category-plans {
    padding-left: 0.25rem;
}

.ctm-page .plan-category-plans .plan-item {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.ctm-page .plan-category-plans .plan-item.style--two {
    padding: 1.5rem 1.25rem !important;
}

.ctm-page .plan-category-plans .plan-item.style--two .plan-rate .plan-rate-percent {
    font-size: 3.25rem !important;
    line-height: 1.05;
}

.ctm-page .plan-category-plans .plan-item__body {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
}

@media (max-width: 991px) {
    .ctm-page .plan-category-label {
        flex: 0 0 calc((100% - 1rem) / 2);
        max-width: calc((100% - 1rem) / 2);
        width: calc((100% - 1rem) / 2);
    }
}

@media (max-width: 575px) {
    .ctm-page .plan-categories-row {
        flex-direction: column;
    }

    .ctm-page .plan-category-label {
        flex: 1 1 100%;
        max-width: 100%;
        width: 100%;
        min-width: 0;
    }
}

/* Contact page card & form */
.ctm-page .custom--card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(51, 65, 85, 0.5);
    color: #ffffff;
}

.ctm-page .custom--card .card-body {
    background: transparent;
}

.ctm-page .form--control,
.ctm-page .form-control.form--control {
    background: rgba(15, 23, 42, 0.6) !important;
    border: 1px solid rgba(51, 65, 85, 0.5) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

.ctm-page .form--control[readonly],
.ctm-page .form-control.form--control[readonly] {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    opacity: 1;
}

.ctm-page .form--control:-webkit-autofill,
.ctm-page .form--control:-webkit-autofill:hover,
.ctm-page .form--control:-webkit-autofill:focus,
.ctm-page .form-control.form--control:-webkit-autofill,
.ctm-page .form-control.form--control:-webkit-autofill:hover,
.ctm-page .form-control.form--control:-webkit-autofill:focus {
    -webkit-text-fill-color: #ffffff !important;
    caret-color: #ffffff;
    transition: background-color 5000s ease-in-out 0s;
}

.ctm-page .form--control::placeholder {
    color: #64748b !important;
}

.ctm-page .form--control:focus {
    border-color: #FBA432 !important;
    box-shadow: 0 0 0 2px rgba(251, 164, 50, 0.15) !important;
}

.ctm-page .form-group label {
    color: #ffffff !important;
    font-weight: 500;
}

.ctm-page .fw-bold {
    color: #ffffff !important;
}

/* ============================================================
   User Dashboard — Core Trade Max dark theme (matches admin)
   BG: #0F1729 | Sidebar: #0B1220 | Accent: #FB8931
   ============================================================ */
.dashboard-sidebar {
    background-color: #0B1220 !important;
    border-right-color: rgba(255, 255, 255, 0.08) !important;
}

.dashboard-sidebar .brand-logo--sidebar {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.5rem;
    padding: 0 4px;
}

.dashboard-sidebar .brand-logo--sidebar .brand-logo__icon {
    height: 40px;
    max-height: 40px;
}

.dashboard-sidebar .brand-logo--sidebar .brand-logo__text {
    font-size: 0.95rem;
}

.dashboard-sidebar .brand-logo--sidebar .brand-logo__max {
    color: #FB8931;
    margin-left: 4px;
}

/* Sidebar — Balance Account block */
.dashboard-sidebar .sidebar-balance-section {
    margin-top: 0.5rem;
    margin-bottom: 1.25rem;
    padding: 0 4px;
}

.dashboard-sidebar .sidebar-balance-section__heading {
    color: #ffffff !important;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 0.85rem;
    letter-spacing: 0.02em;
}

.dashboard-sidebar .sidebar-wallet-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 12px;
}

.dashboard-sidebar .sidebar-wallet-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    padding: 14px 8px;
    min-height: 118px;
    border-radius: 12px;
    background: #162032;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dashboard-sidebar .sidebar-wallet-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.dashboard-sidebar .sidebar-wallet-card__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 18px;
    position: relative;
}

.dashboard-sidebar .sidebar-wallet-card__icon::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 10px;
    opacity: 0.2;
    background-color: currentColor;
}

.dashboard-sidebar .sidebar-wallet-card__icon.is-primary {
    color: #3b82f6;
}

.dashboard-sidebar .sidebar-wallet-card__icon.is-success {
    color: #22c55e;
}

.dashboard-sidebar .sidebar-wallet-card__amount {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff !important;
    margin: 0;
    line-height: 1.2;
    word-break: break-word;
}

.dashboard-sidebar .sidebar-wallet-card__label {
    font-size: 0.68rem;
    font-weight: 600;
    color: #94a3b8 !important;
    margin: 0;
    line-height: 1.3;
}

.dashboard-sidebar .sidebar-wallet-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dashboard-sidebar .sidebar-wallet-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.65rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.dashboard-sidebar .sidebar-wallet-btn--primary {
    background-color: #FB8931 !important;
    border: 1px solid #FB8931 !important;
    color: #ffffff !important;
}

.dashboard-sidebar .sidebar-wallet-btn--primary:hover {
    background-color: #E97A2B !important;
    border-color: #E97A2B !important;
    color: #ffffff !important;
}

.dashboard-sidebar .sidebar-wallet-btn--outline {
    background-color: transparent !important;
    border: 1px solid #FB8931 !important;
    color: #FB8931 !important;
}

.dashboard-sidebar .sidebar-wallet-btn--outline:hover {
    background-color: #FB8931 !important;
    color: #ffffff !important;
}

.dashboard-sidebar .profile-info {
    background: #1A2332 !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
}

.dashboard-sidebar .profile-info p,
.dashboard-sidebar .profile-info h4,
.dashboard-sidebar .profile-info sub,
.dashboard-sidebar .profile-info small {
    color: #ffffff !important;
}

.dashboard-sidebar .profile-info .text--base,
.dashboard-sidebar .profile-info .usd-balance {
    color: #FB8931 !important;
}

.dashboard-sidebar .btn--base {
    background-color: #FB8931 !important;
    border-color: #FB8931 !important;
    color: #ffffff !important;
}

.dashboard-sidebar .btn--base:hover {
    background-color: #E97A2B !important;
    border-color: #E97A2B !important;
}

.dashboard-sidebar .btn--secondary {
    background-color: transparent !important;
    border-color: #FB8931 !important;
    color: #FB8931 !important;
}

.dashboard-sidebar .btn--secondary:hover {
    background-color: #FB8931 !important;
    color: #ffffff !important;
}

.dashboard-sidebar .sidebar-menu li a {
    color: #94A3B8 !important;
}

.dashboard-sidebar .sidebar-menu li a:hover {
    color: #FB8931 !important;
    background-color: rgba(251, 137, 49, 0.12) !important;
}

.dashboard-sidebar .sidebar-menu li a.active {
    color: #ffffff !important;
    background-color: #FB8931 !important;
}

.dashboard-sidebar .sidebar-menu li a.active img,
.dashboard-sidebar .sidebar-menu li a:hover img {
    filter: brightness(0) invert(1);
}

.dashboard-wrapper {
    background-color: #0F1729 !important;
}

.dashboard-wrapper h1,
.dashboard-wrapper h2,
.dashboard-wrapper h3,
.dashboard-wrapper h4,
.dashboard-wrapper h5,
.dashboard-wrapper h6,
.dashboard-wrapper .dashboard-inner > .row > .col-md-12 > .mb-4 h3 {
    color: #ffffff !important;
}

.dashboard-wrapper p,
.dashboard-wrapper .text,
.dashboard-wrapper label,
.dashboard-wrapper .form-group label {
    color: #94A3B8 !important;
}

.dashboard-nav {
    background-color: #0B1220 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: none !important;
}

.dashboard-nav .dash-sidebar-toggler,
.dashboard-nav .dash-sidebar-toggler i {
    color: #ffffff !important;
}

.nav-header-link li .link {
    background: #FB8931 !important;
    color: #ffffff !important;
}

.nav-header-link .dropdown-wrapper {
    background: #162032 !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25) !important;
}

.nav-header-link .dropdown-wrapper::before {
    border-bottom-color: #162032;
}

.nav-header-link .dropdown-wrapper .dropdown-header .name,
.nav-header-link .dropdown-wrapper .dropdown-header p,
.nav-header-link .dropdown-wrapper .links li a {
    color: #94A3B8 !important;
    border-top-color: rgba(255, 255, 255, 0.08) !important;
}

.nav-header-link .dropdown-wrapper .links li a:hover {
    color: #FB8931 !important;
}

.dashboard-wrapper .language_switcher__caption {
    border-color: rgba(255, 255, 255, 0.08) !important;
    background: #1A2332 !important;
}

.dashboard-wrapper .language_switcher__list {
    background: #162032 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.dashboard-wrapper .language_switcher__item .text {
    color: #ffffff !important;
}

.dashboard-content,
.dashboard-wrapper .custom--card,
.dashboard-wrapper .dashboard-widget,
.dashboard-wrapper .card {
    background: #162032 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16) !important;
    color: #ffffff;
}

.dashboard-wrapper .dashboard-widget {
    border-left: 3px solid #FB8931 !important;
}

.dashboard-wrapper .dashboard-widget h3,
.dashboard-wrapper .dashboard-widget h5,
.dashboard-wrapper .dashboard-widget p,
.dashboard-wrapper .dashboard-widget span,
.dashboard-wrapper .dashboard-widget .fw-bold {
    color: #ffffff !important;
}

.dashboard-wrapper .dashboard-widget h5.text-secondary,
.dashboard-wrapper .dashboard-widget .text--secondary {
    color: #94A3B8 !important;
}

.dashboard-wrapper .dashboard-widget hr {
    border-color: rgba(255, 255, 255, 0.08) !important;
    opacity: 1;
}

.dashboard-wrapper .dashboard-widget small,
.dashboard-wrapper .dashboard-widget small i {
    color: #94A3B8 !important;
}

/* User dashboard — admin-style stat cards */
.dashboard-wrapper .user-dashboard-stats__heading {
    color: #ffffff !important;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.dashboard-wrapper .user-widget-card-wrapper {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px !important;
    width: 100%;
}

.dashboard-wrapper .user-widget-card-wrapper .widget-card {
    aspect-ratio: 1 / 1;
    width: 100% !important;
    max-width: none;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 16px !important;
    border-radius: 14px !important;
    background-color: #162032 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    overflow: hidden;
}

.dashboard-wrapper .user-widget-card-wrapper .widget-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2), 0 4px 12px rgba(251, 137, 49, 0.1) !important;
    background-color: rgba(251, 137, 49, 0.05) !important;
}

.dashboard-wrapper .user-widget-card-wrapper .widget-card-link {
    position: absolute;
    inset: 0;
    z-index: 3;
}

.dashboard-wrapper .user-widget-card-wrapper .widget-card-left {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 10px !important;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0 !important;
    padding: 12px 36px 12px 12px;
    flex: none !important;
    pointer-events: none;
    z-index: 1;
}

.dashboard-wrapper .user-widget-card-wrapper .widget-card-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100%;
}

.dashboard-wrapper .user-widget-card-wrapper .widget-card-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    min-height: 52px;
    font-size: 22px;
    border-radius: 12px;
    display: grid !important;
    place-items: center;
    position: relative;
    margin: 0 auto !important;
    flex-shrink: 0;
}

.dashboard-wrapper .user-widget-card-wrapper .widget-card-icon::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: 12px;
    opacity: 0.2;
    background-color: currentColor;
}

.dashboard-wrapper .user-widget-card-wrapper .widget-card.bg--success .widget-card-icon {
    color: #22c55e;
}

.dashboard-wrapper .user-widget-card-wrapper .widget-card.bg--warning .widget-card-icon {
    color: #f59e0b;
}

.dashboard-wrapper .user-widget-card-wrapper .widget-card.bg--danger .widget-card-icon {
    color: #ef4444;
}

.dashboard-wrapper .user-widget-card-wrapper .widget-card.bg--primary .widget-card-icon {
    color: #3b82f6;
}

.dashboard-wrapper .user-widget-card-wrapper .widget-card.bg--info .widget-card-icon {
    color: #14b8a6;
}

.dashboard-wrapper .user-widget-card-wrapper .widget-card-amount {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #ffffff !important;
    line-height: 1.2;
    text-align: center !important;
    width: 100%;
}

.dashboard-wrapper .user-widget-card-wrapper .widget-card-title {
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    line-height: 1.35;
    color: #94a3b8 !important;
    margin: 0 !important;
    text-align: center !important;
    width: 100%;
}

.dashboard-wrapper .user-widget-card-wrapper .widget-card-arrow {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 26px;
    height: 26px;
    font-size: 11px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    color: #94a3b8 !important;
    z-index: 2;
    pointer-events: none;
}

@media (max-width: 1199px) {
    .dashboard-wrapper .user-widget-card-wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .dashboard-wrapper .user-widget-card-wrapper {
        grid-template-columns: 1fr;
    }

    .dashboard-wrapper .user-widget-card-wrapper .widget-card {
        aspect-ratio: auto;
        min-height: 140px;
    }
}

.dashboard-wrapper .card .card-body {
    background: transparent !important;
    color: #ffffff !important;
}

.dashboard-wrapper .card .title,
.dashboard-wrapper .card h5.title {
    color: #ffffff !important;
}

.dashboard-wrapper .card p,
.dashboard-wrapper .card p small,
.dashboard-wrapper .card p i {
    color: #94A3B8 !important;
}

.dashboard-wrapper .apexcharts-text,
.dashboard-wrapper .apexcharts-title-text,
.dashboard-wrapper .apexcharts-legend-text {
    fill: #94A3B8 !important;
    color: #94A3B8 !important;
}

.dashboard-wrapper .custom--card .card-header,
.dashboard-wrapper .custom--card .card-footer {
    background: #1A2332 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
}

.dashboard-wrapper .custom--card .card-body {
    background: transparent !important;
    color: #ffffff;
}

.dashboard-wrapper .form--control,
.dashboard-wrapper .form-control,
.dashboard-wrapper select.form--control {
    background: #1A2332 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
}

.dashboard-wrapper .form--control::placeholder,
.dashboard-wrapper .form-control::placeholder {
    color: #64748b !important;
}

.dashboard-wrapper .form--control:focus,
.dashboard-wrapper .form-control:focus {
    border-color: #FB8931 !important;
    box-shadow: 0 0 0 2px rgba(251, 137, 49, 0.15) !important;
}

.dashboard-wrapper .btn--base,
.dashboard-wrapper .cmn--btn.btn--base {
    background-color: #FB8931 !important;
    border-color: #FB8931 !important;
    color: #ffffff !important;
}

.dashboard-wrapper .btn--base:hover,
.dashboard-wrapper .cmn--btn.btn--base:hover {
    background-color: #E97A2B !important;
    border-color: #E97A2B !important;
    color: #ffffff !important;
}

.dashboard-wrapper .btn--secondary {
    background-color: #1A2332 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
}

.dashboard-wrapper .btn--secondary:hover {
    background-color: #FB8931 !important;
    border-color: #FB8931 !important;
    color: #ffffff !important;
}

.dashboard-wrapper .text--base {
    color: #FB8931 !important;
}

.dashboard-wrapper .payment-system-list {
    background-color: #162032 !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
}

.dashboard-wrapper .payment-item {
    border-top-color: rgba(255, 255, 255, 0.08) !important;
    border-left-color: transparent !important;
    background: transparent;
}

.dashboard-wrapper .payment-item:first-child {
    border-top-color: transparent !important;
}

.dashboard-wrapper .payment-item:has(.payment-item__radio:checked) {
    border-left-color: #FB8931 !important;
    background: rgba(251, 137, 49, 0.08) !important;
}

.dashboard-wrapper .payment-item__name,
.dashboard-wrapper .deposit-info__title .text,
.dashboard-wrapper .deposit-info__input .text {
    color: #ffffff !important;
}

.dashboard-wrapper .payment-item__check {
    border-color: #FB8931 !important;
}

.dashboard-wrapper .payment-item:has(.payment-item__radio:checked) .payment-item__check {
    background: #FB8931;
}

.dashboard-wrapper .payment-item__btn {
    background: #FB8931 !important;
    border-color: #FB8931 !important;
}

.dashboard-wrapper .deposit-info__input-group,
.dashboard-wrapper .deposit-info__input-group-text {
    background: #1A2332 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
}

.dashboard-wrapper hr,
.dashboard-wrapper .total-amount {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.dashboard-wrapper .table {
    color: #ffffff;
}

.dashboard-wrapper .table thead th {
    background: #1A2332 !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.dashboard-wrapper .table tbody td {
    background: #162032 !important;
    color: #94A3B8 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.dashboard-wrapper .table tbody tr:hover td {
    background: rgba(251, 137, 49, 0.06) !important;
}

.dashboard-wrapper .alert {
    background: #162032 !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.dashboard-wrapper .cmn--tabs {
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

.dashboard-wrapper .cmn--tabs li a {
    color: #94A3B8 !important;
}

.dashboard-wrapper .cmn--tabs li a.active {
    color: #FB8931 !important;
    border-color: #FB8931 !important;
}

.dashboard-sidebar .btn-close,
.dashboard-sidebar .dash-sidebar-close {
    filter: invert(1);
}

/* Investment list — empty state & plan items */
.dashboard-wrapper .invest-empty-state,
.dashboard-wrapper .plan-list .accordion-body,
.dashboard-wrapper .accordion-body.bg-white,
.dashboard-wrapper .accordion-body.text-center {
    background: #162032 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16) !important;
    color: #94A3B8 !important;
    width: 100%;
}

.dashboard-wrapper .invest-empty-state h4,
.dashboard-wrapper .plan-list .accordion-body h4,
.dashboard-wrapper .accordion-body .text--muted {
    color: #94A3B8 !important;
}

.dashboard-wrapper .plan-item-two {
    background: #162032 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
}

@media (max-width: 1399px) {
    .dashboard-wrapper .plan-item-two {
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16) !important;
    }
}

.dashboard-wrapper .plan-item-two .plan-name,
.dashboard-wrapper .plan-item-two .plan-value,
.dashboard-wrapper .plan-item-two .plan-desc,
.dashboard-wrapper .plan-item-two .fw-bold {
    color: #ffffff !important;
}

.dashboard-wrapper .plan-item-two .plan-label {
    color: #94A3B8 !important;
}

.dashboard-wrapper .plan-item-two .invest-details-link {
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: #94A3B8 !important;
}

.dashboard-wrapper .plan-item-two .invest-details-link:hover {
    border-color: #FB8931 !important;
    color: #FB8931 !important;
}

/* Invest statistics — Total Invest / Total Profit (one row, 2 cards) */
.dashboard-wrapper .invest-summary-cards {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    height: 100%;
    align-items: stretch;
}

.dashboard-wrapper .invest-summary-card {
    height: 100%;
    background: #162032 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dashboard-wrapper .invest-summary-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2), 0 4px 12px rgba(251, 137, 49, 0.1) !important;
}

.dashboard-wrapper .invest-summary-card__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    padding: 1.25rem 1rem !important;
    min-height: 140px;
}

.dashboard-wrapper .invest-summary-card__label {
    font-size: 0.9rem;
    font-weight: 700;
    color: #94a3b8 !important;
    margin: 0;
}

.dashboard-wrapper .invest-summary-card__amount {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: #FB8931 !important;
}

.dashboard-wrapper .invest-summary-card__btn {
    margin-top: auto;
    max-width: 100%;
}

@media (max-width: 575px) {
    .dashboard-wrapper .invest-summary-cards {
        grid-template-columns: 1fr;
    }
}

.dashboard-wrapper .title,
.dashboard-wrapper h5.title {
    color: #ffffff !important;
}

.dashboard-wrapper .title .text-base,
.dashboard-wrapper .count.text-base {
    color: #FB8931 !important;
}

.dashboard-wrapper .link-color {
    color: #FB8931 !important;
}

.dashboard-wrapper .link-color:hover {
    color: #E97A2B !important;
}

/* Filter inputs — transactions & other pages */
.dashboard-wrapper hr {
    border-color: rgba(255, 255, 255, 0.08) !important;
    opacity: 1;
}

.dashboard-wrapper .custom-input-box {
    background-color: #162032 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 14px !important;
    padding: 0.5rem 0.75rem !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.dashboard-wrapper .custom-input-box label {
    color: #94A3B8 !important;
}

.dashboard-wrapper .custom-input-box select,
.dashboard-wrapper .custom-input-box input {
    color: #ffffff !important;
    background-color: transparent !important;
}

.dashboard-wrapper .custom-input-box select {
    accent-color: #FB8931;
    color-scheme: dark;
}

.dashboard-wrapper .custom-input-box select:focus,
.dashboard-wrapper .custom-input-box select:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

.dashboard-wrapper .custom-input-box select option {
    background: #162032 !important;
    color: #ffffff !important;
}

.dashboard-wrapper .custom-input-box select option:checked,
.dashboard-wrapper .custom-input-box select option:hover,
.dashboard-wrapper .custom-input-box select option:focus,
.dashboard-wrapper .custom-input-box select option:active {
    background: #FB8931 !important;
    background-color: #FB8931 !important;
    color: #ffffff !important;
}

.dashboard-wrapper .custom-input-box input::placeholder {
    color: #64748b !important;
}

.dashboard-wrapper .trx-search .icon-area {
    color: #FB8931 !important;
}

/* Transaction accordion list */
.dashboard-wrapper .table--acordion {
    background: transparent !important;
}

.dashboard-wrapper .table--acordion .accordion-item {
    background: #162032 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 14px !important;
    margin-bottom: 10px;
    overflow: hidden;
}

.dashboard-wrapper .table--acordion .accordion-button {
    background: #162032 !important;
    color: #ffffff !important;
}

.dashboard-wrapper .table--acordion .accordion-button:not(.collapsed) {
    background: #1A2332 !important;
    box-shadow: none !important;
}

.dashboard-wrapper .table--acordion .accordion-body {
    background: #1A2332 !important;
    color: #94A3B8 !important;
}

.dashboard-wrapper .table--acordion .trans-title,
.dashboard-wrapper .table--acordion .amount-wrapper b {
    color: #ffffff !important;
}

.dashboard-wrapper .table--acordion .text-muted {
    color: #94A3B8 !important;
}

.dashboard-wrapper .caption-list li {
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

.dashboard-wrapper .caption-list li .caption,
.dashboard-wrapper .caption-list li .value {
    color: #94A3B8 !important;
}

.user-notification-bell {
    background: #162032 !important;
    color: #FBA432 !important;
    font-size: 1.25rem;
}

.user-notification-bell.notification-link--active::before,
.user-notification-bell.notification-link--active::after {
    display: block;
}

.user-notification-bell:not(.notification-link--active)::before,
.user-notification-bell:not(.notification-link--active)::after {
    display: none;
}

.nav-header-link .dropdown-wrapper.user-notification-dropdown {
    width: min(360px, 92vw);
    max-height: 70vh;
    overflow-y: auto;
    padding: 0;
    background: #162032;
    border: 1px solid rgba(251, 164, 50, 0.25);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.user-notification-dropdown__header {
    padding: 1rem 1.15rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    background: #162032;
    z-index: 2;
}

.user-notification-alerts .alert {
    margin: 0;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    background: transparent;
}

.user-notification-alerts .alert:last-child {
    border-bottom: 0;
}

.user-notification-alerts .alert__message,
.user-notification-alerts .alert__message small {
    color: #e2e8f0 !important;
}

.user-notification-empty {
    color: #94a3b8;
    font-size: 0.875rem;
}

/* Preloader — logo spin + grow animation */
.preloader-brand {
    display: inline-block;
    width: 120px;
    height: 120px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: transparent;
}

.preloader-brand__logo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    transform: translate(-50%, -50%);
    object-fit: cover;
    border-radius: 50%;
    animation: preloader-logo-spin-grow 2.4s linear infinite;
}

@keyframes preloader-logo-spin-grow {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) scale(0.75);
    }

    50% {
        transform: translate(-50%, -50%) rotate(180deg) scale(1.2);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg) scale(0.75);
    }
}

/* Referral team tree (My Referrals) */
.ref-tree-card-wrap .card-body {
    padding: 1.5rem 1rem 1.75rem;
}

.ref-tree-panel {
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.25rem 0.5rem 0.5rem;
    -webkit-overflow-scrolling: touch;
}

.ref-tree {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: min-content;
    margin: 0 auto;
}

.ref-tree-root {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ref-tree-sub {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 0;
}

.ref-tree-stem {
    width: 0;
    height: 22px;
    border-left: 2px solid rgba(251, 137, 49, 0.45);
}

.ref-tree-bar {
    width: calc(100% - 48px);
    max-width: 720px;
    min-width: 80px;
    height: 0;
    border-top: 2px solid rgba(148, 163, 184, 0.28);
    margin-bottom: 0;
}

.ref-tree-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 1rem 1.25rem;
    width: 100%;
    max-width: 100%;
    padding-top: 0;
}

.ref-tree-branch {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
}

.ref-tree-card {
    position: relative;
    background: linear-gradient(180deg, rgba(30, 38, 55, 0.98) 0%, rgba(18, 24, 36, 0.98) 100%);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 10px;
    padding: 0.65rem 0.7rem 0.6rem;
    min-width: 108px;
    max-width: 132px;
    width: 100%;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.ref-tree-branch > .ref-tree-card::before {
    content: "";
    position: absolute;
    top: -22px;
    left: 50%;
    width: 0;
    height: 22px;
    border-left: 2px solid rgba(148, 163, 184, 0.32);
    transform: translateX(-50%);
}

.ref-tree-card--root::before {
    display: none;
}

.ref-tree-card:hover {
    border-color: rgba(251, 137, 49, 0.45);
    box-shadow: 0 8px 22px rgba(251, 137, 49, 0.12);
    transform: translateY(-2px);
}

.ref-tree-card--root {
    min-width: 128px;
    max-width: 156px;
    padding: 0.75rem 0.85rem;
    border-color: rgba(251, 137, 49, 0.55);
    box-shadow: 0 0 0 1px rgba(251, 137, 49, 0.12), 0 10px 28px rgba(251, 137, 49, 0.14);
}

.ref-tree-card--sm {
    min-width: 96px;
    max-width: 112px;
    padding: 0.5rem 0.55rem;
}

.ref-tree-card--sm .ref-tree-card__avatar {
    width: 26px;
    height: 26px;
    font-size: 0.58rem;
}

.ref-tree-card--sm .ref-tree-card__name {
    font-size: 0.68rem;
}

.ref-tree-card--sm .ref-tree-card__username {
    font-size: 0.58rem;
}

.ref-tree-card__avatar {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    margin: 0 auto 0.4rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #fb8931, #e67a22);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.ref-tree-card--root .ref-tree-card__avatar {
    width: 36px;
    height: 36px;
    font-size: 0.75rem;
}

.ref-tree-card__name {
    display: block;
    color: #f1f5f9;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.25;
    word-break: break-word;
}

.ref-tree-card__username {
    display: block;
    margin-top: 0.2rem;
    color: #94a3b8;
    font-size: 0.65rem;
    font-weight: 500;
    line-height: 1.2;
    word-break: break-all;
}

.ref-tree-card__username::before {
    content: "@";
    opacity: 0.85;
}

@media (max-width: 575px) {
    .ref-tree-row {
        gap: 0.75rem;
    }

    .ref-tree-card {
        min-width: 96px;
        max-width: 118px;
    }

    .ref-tree-bar {
        width: calc(100% - 24px);
    }
}