/* Copy Animation */
.base-color {
  color: hsl(var(--main)) !important;
}

:root {
  --main: hsl(var(--base));
}

.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: #ddd;
  /* light text for dark bg */
  position: fixed;
  bottom: 15px;
  left: 15px;
  z-index: 999999;
  transition: all 0.5s;
  background: #1c1c1e;
  /* dark background */
  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: #2ecc71;
  /* bright green */
  color: #fff;
  font-size: 32px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.cookies-card__content {
  margin-bottom: 0;
  color: #ccc;
  /* make sure text is still legible */
}

.cookies-card__content a {
  color: #8bffa4;
  /* soft green link */
  text-decoration: underline;
}

.cookies-btn {
  background-color: #2ecc71;
  /* bright green button */
  color: #fff;
  text-decoration: none;
  padding: 10px 35px;
  margin: 3px 5px;
  display: inline-block;
  border-radius: 999px;
  transition: background 0.3s;
}

.cookies-btn:hover {
  background-color: #28b862;
  color: #fff;
}

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

@media (max-width: 767px) {
  .cookies-card {
    width: 100%;
    left: 0;
    bottom: 0;
    font-size: 14px;
    padding: 15px;
  }
}




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

.input-popup {
  display: none;
}

.hover-input-popup .input-popup {
  display: block;
  position: absolute;
  bottom: 130%;
  left: 50%;
  width: 280px;
  background-color: #1a1a1a;
  color: #fff;
  padding: 20px;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  z-index: 999999999;
}

.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%)
}

.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: #ced4da !important;
  border-width: 2px !important;
  border-radius: .375rem !important;
  padding: .375rem .75rem !important;
  height: 100% !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 8px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: hsl(var(--body-color));
  line-height: 2;
}

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


.gateway-card {
  padding: 15px;
}

.payment-card-title {
  padding: 13px 25px;
  text-align: center;
  background-color: 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: hsl(var(--white)/0.1);
  --hover-border-color: var(--main);
  background: linear-gradient(360deg, #051A2F 19%, hsl(var(--black)) 96%);
  border: 1px solid hsl(var(--white)/0.1);
  color: hsl(var(--white));
  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: 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-top-color: var(--border-color);
  transition: all 0.3s;
  border-left: 3px solid transparent;
}

.payment-item:not(:last-child) {
  border-bottom: 1px solid hsl(var(--white)/0.1);
}

.payment-item:first-child {
  border-radius: 5px 5px 0 0;
}

.payment-item:has(.payment-item__radio:checked) {
  border-left: 3px solid var(--hover-border-color);
  border-radius: 0px;
}

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

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

.payment-item__info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  max-width: calc(100% - var(--thumb-width))
}

.payment-item__check {
  width: var(--radio-size);
  height: var(--radio-size);
  border: 1px solid var(--main);
  display: inline-block;
  border-radius: 100%;

}

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

.payment-item__thumb {
  width: var(--thumb-width);
  height: var(--thumb-height);
  text-align: right;
  padding-left: 10px;

  &:has(.text) {
    width: fit-content;
  }
}

.payment-item__thumb img {
  max-width: var(--thumb-width);
  max-height: var(--thumb-height);
  object-fit: cover;
}


.deposit-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
}

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

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

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

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

  .deposit-info__input-group-text {
    align-self: center;
    padding-left: 5px;
  }

}

.deposit-info__input-group .form--control {
  padding: 5px;
  border: 0;
  height: 35px;
  text-align: right;
}

.deposit-info__input-group .form--control:focus {
  box-shadow: unset;
}

.info-text .text,
.deposit-info__input .text {
  font-size: 14px;

}

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

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

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

.payment-item__btn {
  border: 0;
  border-block: 1px solid var(--border-color);
  border-bottom: 0;
  background: transparent;
  color: hsl(var(--white));
  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: var(--hover-border-color);
}

button .spinner-border {
  --bs-spinner-width: 1.5rem;
  --bs-spinner-height: 1.5rem;
}

.adjust-height .payment-system-list.is-scrollable {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

/* ================= Theme Toggle Switch ================= */
.theme-switch-wrapper {
  display: flex;
  align-items: center;
}

.theme-switch {
  display: inline-block;
  height: 24px;
  position: relative;
  width: 48px;
}

.theme-switch input {
  display: none;
}

.slider {
  background-color: #ccc;
  bottom: 0;
  cursor: pointer;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: .4s;
}

.slider:before {
  background-color: #fff;
  bottom: 2px;
  content: "";
  height: 20px;
  left: 2px;
  position: absolute;
  transition: .4s;
  width: 20px;
}

input:checked+.slider {
  background-color: hsl(var(--base));
}

input:checked+.slider:before {
  transform: translateX(24px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/* ================= Dashboard Light Mode (Default) ================= */
.dashboard {
  --card-bg: 0 0% 100%;
  --section-bg: 240 10% 98%;
  --background-color: 240 10% 96%;
  --body-color: 210 10% 30%;
  --heading-color: 210 10% 10%;
  --border-color: 210 10% 90%;
}

/* Force text colors in Light Mode */
.dashboard *,
.dashboard h1,
.dashboard h2,
.dashboard h3,
.dashboard h4,
.dashboard h5,
.dashboard h6 {
  color: hsl(var(--heading-color));
}

.dashboard p,
.dashboard span,
.dashboard li,
.dashboard div,
.dashboard label,
.dashboard input,
.dashboard i,
.dashboard a,
.dashboard td,
.dashboard th {
  color: hsl(var(--body-color));
}

.dashboard .text-white,
.dashboard .text-light,
.dashboard .text-white *,
.dashboard .text-light * {
  color: hsl(var(--heading-color)) !important;
}

/* Sidebar Specific Light Mode Overrides */
.dashboard .dashboard-sidebar {
  background: hsl(var(--card-bg));
  border: 1px solid hsl(var(--border-color));
}

.dashboard .dashboard-sidebar__title {
  color: hsl(var(--heading-color)) !important;
  border-bottom: 1px solid hsl(var(--border-color));
}

.dashboard .dashboard-sidebar .latest-item {
  border-bottom: 1px solid hsl(var(--border-color));
}

.dashboard .dashboard-sidebar .latest-item__title a {
  color: hsl(var(--heading-color)) !important;
}

.dashboard .dashboard-sidebar .latest-item__title a:hover {
  color: hsl(var(--base)) !important;
}

/* Sidebar Submenu Overrides (Light Mode) */
.dashboard .sidebar-submenu-list__link {
  color: hsl(var(--heading-color)) !important;
}

.dashboard .sidebar-submenu-list__link:hover {
  color: hsl(var(--base)) !important;
}

/* Form Control Placeholder Overrides (Light Mode) */
.dashboard .form--control::-webkit-input-placeholder {
  color: hsl(var(--body-color)) !important;
}

.dashboard .form--control::-moz-placeholder {
  color: hsl(var(--body-color)) !important;
}

.dashboard .form--control:-ms-input-placeholder {
  color: hsl(var(--body-color)) !important;
}

.dashboard .form--control::-ms-input-placeholder {
  color: hsl(var(--body-color)) !important;
}

.dashboard .form--control::placeholder {
  color: hsl(var(--body-color)) !important;
}

/* Fix for buttons to keep white text if needed */
.dashboard .btn--base,
.dashboard .btn--base *,
.dashboard .btn--primary,
.dashboard .btn--primary *,
.dashboard .btn--success,
.dashboard .btn--success *,
.dashboard .btn--danger,
.dashboard .btn--danger *,
.dashboard .btn--dark,
.dashboard .btn--dark *,
.dashboard .btn--info,
.dashboard .btn--info *,
.dashboard .badge,
.dashboard .badge * {
  color: #fff !important;
}

/* ================= Dashboard Dark Mode (Restoring Original) ================= */
body.dark-mode .dashboard {
  --card-bg: 210 81% 10%;
  --section-bg: 211 82% 9%;
  --background-color: 0 0% 0%;
  --body-color: 0 0% 80%;
  --heading-color: 0 0% 89%;
  --border-color: 0 0% 88%;
}

/* Reset text colors in Dark Mode */
body.dark-mode .dashboard *,
body.dark-mode .dashboard h1,
body.dark-mode .dashboard h2,
body.dark-mode .dashboard h3,
body.dark-mode .dashboard h4,
body.dark-mode .dashboard h5,
body.dark-mode .dashboard h6 {
  color: hsl(var(--heading-color));
}

body.dark-mode .dashboard p,
body.dark-mode .dashboard span,
body.dark-mode .dashboard li,
body.dark-mode .dashboard div,
body.dark-mode .dashboard label,
body.dark-mode .dashboard input,
body.dark-mode .dashboard i,
body.dark-mode .dashboard a,
body.dark-mode .dashboard td,
body.dark-mode .dashboard th {
  color: hsl(var(--body-color));
}

body.dark-mode .dashboard .text-white,
body.dark-mode .dashboard .text-light,
body.dark-mode .dashboard .text-white *,
body.dark-mode .dashboard .text-light * {
  color: #fff !important;
}

/* Sidebar Specific Dark Mode Overrides */
body.dark-mode .dashboard .dashboard-sidebar {
  background: -webkit-gradient(linear, left bottom, left top, color-stop(19%, #051A2F), color-stop(96%, hsl(var(--black))));
  background: linear-gradient(360deg, #051A2F 19%, hsl(var(--black)) 96%);
  border: 1px solid hsl(var(--white)/0.1);
}

body.dark-mode .dashboard .dashboard-sidebar__title {
  color: hsl(var(--white)) !important;
  border-bottom: 1px solid hsl(var(--white)/0.1);
}

body.dark-mode .dashboard .dashboard-sidebar .latest-item {
  border-bottom: 1px solid hsl(var(--white)/0.1);
}

body.dark-mode .dashboard .dashboard-sidebar .latest-item__title a {
  color: hsl(var(--white)/0.7) !important;
}

body.dark-mode .dashboard .dashboard-sidebar .latest-item__title a:hover {
  color: hsl(var(--base)) !important;
}

/* Sidebar Submenu Overrides (Dark Mode) */
body.dark-mode .dashboard .sidebar-submenu-list__link {
  color: hsl(var(--white)/0.7) !important;
}

body.dark-mode .dashboard .sidebar-submenu-list__link:hover {
  color: hsl(var(--base)) !important;
}

/* Form Control Placeholder Overrides (Dark Mode) */
body.dark-mode .dashboard .form--control::-webkit-input-placeholder {
  color: hsl(var(--white)) !important;
}

body.dark-mode .dashboard .form--control::-moz-placeholder {
  color: hsl(var(--white)) !important;
}

body.dark-mode .dashboard .form--control:-ms-input-placeholder {
  color: hsl(var(--white)) !important;
}

body.dark-mode .dashboard .form--control::-ms-input-placeholder {
  color: hsl(var(--white)) !important;
}

body.dark-mode .dashboard .form--control::placeholder {
  color: hsl(var(--white)) !important;
}

/* ================= AWIN Custom Theme Palette ================= */
:root {
  --awin-blue: #0d6efd;
  --awin-blue-hover: #0b5ed7;
  --awin-orange: #FF5E00;
  --awin-orange-hover: #E05300;
  --awin-purple: #4A154B;
  --awin-purple-dark: #361037;
  --awin-green: #2ecc71;
  --awin-red: #ea5455;
  --awin-gray: #f4f4f4;
  --awin-text: #333333;
}

/* Publisher (Blue/White/Dark text) */
.theme-publisher .dashboard-sidebar {
  background-color: #ffffff !important;
  color: var(--awin-text) !important;
  border-right: 1px solid #eaeaea;
}

.theme-publisher .dashboard-sidebar__title,
.theme-publisher .sidebar-submenu-list__link,
.theme-publisher .sidebar-menu-list__link {
  color: var(--awin-text) !important;
}

.theme-publisher .btn--primary,
.theme-publisher .badge--primary {
  background-color: var(--awin-blue) !important;
  border-color: var(--awin-blue) !important;
  color: #fff !important;
}


/* Advertiser (Purple) */
.theme-advertiser .dashboard-sidebar {
  background-color: var(--awin-purple) !important;
  color: #ffffff !important;
}

.theme-advertiser .dashboard-sidebar__title,
.theme-advertiser .sidebar-submenu-list__link,
.theme-advertiser .sidebar-menu-list__link {
  color: #ffffff !important;
}

.theme-advertiser .sidebar-submenu-list__link:hover,
.theme-advertiser .sidebar-menu-list__link:hover {
  background-color: var(--awin-purple-dark) !important;
}

/* Status Colors */
.status-green {
  color: var(--awin-green) !important;
}

.status-orange {
  color: var(--awin-orange) !important;
}

.status-red {
  color: var(--awin-red) !important;
}

.bg-status-green {
  background-color: var(--awin-green) !important;
  color: white;
}

.bg-status-orange {
  background-color: var(--awin-orange) !important;
  color: white;
}

.bg-status-red {
  background-color: var(--awin-red) !important;
  color: white;
}