/* ==========================================
   COLOR SCHEME - Change colors from here only
   ========================================== */

/* BACKUP: Pink & Purple Theme
:root {
  --primary-color: #ff3366;
  --primary-light: #ff6b9d;
  --primary-dark: #ff1a53;
  --secondary-color: #a855f7;
  --secondary-light: #c084fc;
  --secondary-dark: #9333ea;
}
*/

/* BACKUP: Cyan & Purple Theme
:root {
  --primary-color: #00d4ff;
  --primary-light: #5de5ff;
  --primary-dark: #00a8cc;
  --secondary-color: #8b5cf6;
  --secondary-light: #a78bfa;
  --secondary-dark: #7c3aed;
}
*/

:root {
  /* Primary Colors - Pink */
  --primary-color: #ff3366;
  --primary-light: #ff6b9d;
  --primary-dark: #ff1a53;

  /* Secondary Colors - Purple */
  --secondary-color: #a855f7;
  --secondary-light: #c084fc;
  --secondary-dark: #9333ea;

  /* Background Colors */
  --bg-dark: #0a0e1a;
  --bg-card: #1a1f35;
  --bg-card-dark: #0f1424;

  /* Status Colors */
  --success-color: #2ecc71;
  --danger-color: #ef4444;
  --warning-color: #f59e0b;
  --info-color: #3b82f6;

  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.5);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  --gradient-primary-hover: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-color) 100%);
  --gradient-card: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card-dark) 100%);
}

/* Copy Animation */
.base-color {
  color: hsl(var(--main)) !important;
}

.copyInput {
  display: inline-block;
  line-height: 50px;
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  text-align: center;
  font-size: 14px;
  cursor: pointer;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.copied::after {
  position: absolute;
  top: 8px;
  right: 12%;
  width: 100px;
  display: block;
  content: "COPIED";
  font-size: 1em;
  padding: 5px 5px;
  color: #fff;
  background-color: #ff7000;
  border-radius: 3px;
  opacity: 0;
  will-change: opacity, transform;
  animation: showcopied 1.5s ease;
}

@keyframes showcopied {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }

  50% {
    opacity: 0.7;
    transform: translateX(40%);
  }

  70% {
    opacity: 1;
    transform: translateX(0);
  }

  100% {
    opacity: 0;
  }
}

.cookies-card {
  width: 520px;
  padding: 30px;
  color: #fdfdfd;
  position: fixed;
  bottom: 15px;
  left: 15px;
  z-index: 999999;
  transition: all 0.5s;
  background: #261a0f;
  border-radius: 5px;
}

.cookies-card.hide {
  bottom: -500px !important;
}

.radius--10px {
  border-radius: 10px;
}

.cookies-card__icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background-color: #6e6f70;
  color: #fff;
  font-size: 32px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.cookies-card__content {
  margin-bottom: 0;
}

.cookies-btn {
  color: #363636;
  text-decoration: none;
  padding: 10px 35px;
  margin: 3px 5px;
  display: inline-block;
  border-radius: 999px;
}

.cookies-btn:hover {
  color: #363636;
}

@media (max-width: 767px) {
  .cookies-card {
    width: 100%;
    left: 0;
    bottom: 0;
    font-size: 14px;
    padding: 15px;
  }
}

.hover-input-popup {
  position: relative;
}

.input-popup {
  display: none;
}

.hover-input-popup .input-popup {
  display: block;
  position: absolute;
  bottom: 130%;
  left: 50%;
  width: 280px;
  background-color: #1a1a1a;
  color: #fff;
  padding: 20px;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.input-popup::after {
  position: absolute;
  content: "";
  bottom: -19px;
  left: 50%;
  margin-left: -5px;
  border-width: 10px 10px 10px 10px;
  border-style: solid;
  border-color: transparent transparent #1a1a1a transparent;
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

.input-popup p {
  padding-left: 20px;
  position: relative;
}

.input-popup p::before {
  position: absolute;
  content: "";
  font-family: "Line Awesome Free";
  font-weight: 900;
  left: 0;
  top: 4px;
  line-height: 1;
  font-size: 18px;
}

.input-popup p.error {
  text-decoration: line-through;
}

.input-popup p.error::before {
  content: "\f057";
  color: #ea5455;
}

.input-popup p.success::before {
  content: "\f058";
  color: #28c76f;
}

.show-filter {
  display: none;
}

@media (max-width: 767px) {
  .responsive-filter-card {
    display: none;
    transition: none;
  }

  .show-filter {
    display: block;
  }
}

/* ////////////////// 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: 0.3s;
}

.select2-container--default .select2-selection--single {
  border-color: #ced4da !important;
  border-width: 2px !important;
  border-radius: 0.375rem !important;
  padding: 0.375rem 0.75rem !important;
  height: 100% !important;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  top: 8px !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: #ed1569 !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: 0.375rem !important;
}

.gateway-card {
  padding: 15px;
}

.payment-card-title {
  padding: 13px 25px;
  text-align: center;
  background-color: #ed1569;
  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: #ed1569;
  background-color: transparent;
  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: #ed1569;
  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 var(--hover-border-color);
  border-radius: 0px;
}

.payment-item__check {
  border: 3px solid;
}

.payment-item:has(.payment-item__radio:checked) .payment-item__check {
  border: 3px solid #ed1569;
}

.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 #ed1569;
  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;
  border-radius: 5px;
}

.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;
  background: unset;
}

.deposit-info__input-group .form--control:focus {
  box-shadow: unset;
  border: none;
  background: 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: 500;
}

.payment-item__btn {
  border: 0;
  border-block: 1px solid var(--border-color);
  border-bottom: 0;
  background: transparent;
  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;
}

.payment-item__btn p,
span {
  color: #b5b5b5;
}

button .spinner-border {
  --bs-spinner-width: 1.5rem;
  --bs-spinner-height: 1.5rem;
}

label.required:after {
  content: "*";
  color: #dc3545 !important;
  margin-left: 2px;
}

.btn--dark:hover {
  color: #363636 !important;
  background-color: #ea5455 !important;
  box-shadow: 0 0 10px 2px #ea54558c !important;
}

/* ============================================
   TWO-ROW HEADER REDESIGN - SportOdds Style
   ============================================ */

/* Row 1: Main Navigation */
.header__main {
  background-color: #070b28;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header__main .navbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
}

.header__main .navbar-collapse {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  flex-grow: 1;
  flex-wrap: nowrap;
  margin-left: 15px;
}

@media (min-width: 1200px) {
  .header__main .navbar-collapse {
    flex-basis: 0;
    max-width: none;
  }
}

.header__main .site-logo img {
  max-width: 130px;
  height: auto;
}

/* Main Menu - Remove Orange Dots */
.header__main .main-menu > li::after {
  display: none !important;
}

.header__main .main-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header__main .main-menu li a {
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  border-radius: 4px;
  white-space: nowrap;
}

.header__main .main-menu li a i {
  font-size: 14px;
  opacity: 0.8;
}

.header__main .main-menu li a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.header__main .main-menu li a.active {
  color: #ffffff;
}

/* Active State Underline */
.header__main .main-menu li a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 2px;
  background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  border-radius: 2px;
}

/* Nav Right Section */
.header__main .nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: nowrap;
  margin-left: auto;
}

/* Auth Button Base Styles */
.header__main .nav-right .btn-nav {
  border: none;
  padding: 7px 14px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Sign In Button - Pink/Magenta Gradient */
.btn-signin {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: #ffffff !important;
}

.btn-signin:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
  box-shadow: 0 4px 15px rgba(255, 51, 102, 0.4);
  transform: translateY(-1px);
}

/* Sign Up Button - Purple Gradient */
.btn-signup {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
  color: #ffffff !important;
}

.btn-signup:hover {
  background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary-color) 100%);
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
  transform: translateY(-1px);
}

/* User Balance Display */
.header .nav-right .user-balance-display,
.user-balance-display {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  background: linear-gradient(135deg, #1a5a2e 0%, #2d7a4d 100%) !important;
  padding: 10px 18px !important;
  border-radius: 6px !important;
  border: 1px solid rgba(76, 175, 80, 0.4) !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
  line-height: normal !important;
}

.header .nav-right .user-balance-display i,
.user-balance-display i {
  color: #7cfc00 !important;
  font-size: 18px !important;
  line-height: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.header .nav-right .user-balance-display .balance-amount,
.user-balance-display .balance-amount {
  color: #7cfc00 !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  line-height: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Account Button for Authenticated Users */
.btn-account {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.btn-account i {
  font-size: 18px !important;
}

.btn-account:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
}

/* ============================================
   Row 2: Game Category Filters
   ============================================ */

.header__categories {
  background-color: #0a0e2a;
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Hide category filters on Sports page */
.header__categories.hide-on-sports {
  display: none;
}

.category-filter-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.category-filters {
  display: flex;
  align-items: center;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0;
  margin: 0;
  list-style: none;
}

.category-filters::-webkit-scrollbar {
  display: none;
}

.category-filters li {
  flex-shrink: 0;
}

.category-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  white-space: nowrap;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
  letter-spacing: 0.3px;
}

.category-item i {
  font-size: 15px;
}

.category-item:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.03);
}

.category-item.active {
  color: #ffffff;
  background: linear-gradient(180deg, rgba(255, 51, 102, 0.1) 0%, rgba(255, 107, 53, 0.05) 100%);
  border-bottom: 2px solid var(--primary-color);
}

/* Search in Category Bar */
.category-search {
  position: relative;
  flex-shrink: 0;
  margin-left: 10px;
}

.search-toggle {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.65);
  font-size: 18px;
  padding: 12px 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-toggle:hover {
  color: #ffffff;
}

.search-collapse {
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 100;
  display: none;
  margin-top: 5px;
}

.search-collapse.show {
  display: block;
}

.search-form {
  display: flex;
  background: #1a1f3d;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.search-input {
  background: transparent;
  border: none;
  padding: 12px 16px;
  color: #ffffff;
  font-size: 14px;
  width: 250px;
  outline: none;
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.search-form button {
  background: var(--gradient-primary);
  border: none;
  padding: 12px 16px;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-form button:hover {
  background: var(--gradient-primary-hover);
}

/* ============================================
   Sticky Header on Scroll
   ============================================ */

.header.menu-fixed .header__main {
  background-color: #070b28;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header.menu-fixed .header__categories {
  background-color: #0a0e2a;
}

/* ============================================
   Language Selector Styling
   ============================================ */

.header__main .language.dropdown {
  margin-right: 0;
  flex-shrink: 0;
}

.header__main .language-wrapper {
  background: rgba(255, 255, 255, 0.08) !important;
  border: none !important;
  border-radius: 5px;
  padding: 5px 10px;
  min-width: auto;
  height: 32px;
  gap: 5px;
}

.header__main .language_flag img {
  width: 18px;
  height: 18px;
  border-radius: 3px;
}

.header__main .language_text_select {
  font-size: 11px;
  margin-left: 0;
}

.header__main .collapse-icon {
  color: rgba(255, 255, 255, 0.6);
  font-size: 9px;
  margin-left: 0;
}

.header__main .language-content {
  gap: 4px;
}

.header__main .language .dropdown-menu {
  background: #1a1f3d;
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-width: 140px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header__main .language-list {
  padding: 8px 12px;
  transition: all 0.3s ease;
}

.header__main .language-list:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ============================================
   Mobile Responsive Styles
   ============================================ */

@media (max-width: 1199px) {
  .header__main {
    padding: 10px 0;
  }

  .header__main .navbar {
    justify-content: space-between;
  }

  /* Hide hamburger menu and desktop nav on mobile */
  .header__main .navbar-toggler {
    display: none !important;
  }

  .header__main .navbar-collapse {
    display: none !important;
  }

  /* Mobile Header Right - Balance/Login */
  .mobile-header-right {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
  }

  .mobile-balance {
    padding: 8px 12px !important;
    border-radius: 6px;
  }

  .mobile-balance i {
    font-size: 1rem !important;
  }

  .mobile-balance .balance-amount {
    font-size: 0.9rem !important;
  }

  .mobile-login {
    padding: 8px 16px !important;
    font-size: 12px !important;
  }

  /* Show category filters on mobile - horizontal scroll */
  .header__categories {
    display: block;
    padding: 0;
    overflow: hidden;
  }

  /* Hide category filters on Sports page */
  .header__categories.hide-on-sports {
    display: none !important;
  }

  .category-filter-wrapper {
    flex-direction: row;
    align-items: center;
    padding: 0;
  }

  .category-filters {
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
    padding: 8px 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 4px;
  }

  .category-filters::-webkit-scrollbar {
    display: none;
  }

  .category-filters li {
    flex-shrink: 0;
    width: auto;
  }

  .category-item {
    width: auto;
    padding: 8px 12px;
    border-bottom: none;
    border-left: none;
    font-size: 11px;
    white-space: nowrap;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
  }

  .category-item.active {
    background: var(--gradient-primary);
    color: #ffffff;
    border-left: none;
  }

  .category-item i {
    font-size: 12px;
  }

  /* Hide search on mobile categories - can be in a separate search page */
  .category-search {
    display: none;
  }
}

@media (min-width: 1200px) {
  .mobile-header-right {
    display: none !important;
  }
}

@media (max-width: 575px) {
  .header__main .site-logo img {
    max-width: 90px;
  }

  .mobile-balance {
    padding: 6px 10px !important;
  }

  .mobile-balance .balance-amount {
    font-size: 0.85rem !important;
  }

  .category-item {
    font-size: 10px;
    padding: 6px 10px;
  }

  .category-item i {
    font-size: 11px;
  }

  .category-filters {
    padding: 6px 0;
  }
}

/* ============================================
   Games Section - Account for Fixed Header
   ============================================ */

.games-section {
  padding-top: 130px !important; /* Account for fixed header (2 rows) */
}

/* When sports filter is active, less padding needed (only 1 row visible) */
.games-section.sports-active {
  padding-top: 85px !important;
}

@media (max-width: 1199px) {
  .games-section {
    padding-top: 120px !important; /* Header row + category filters row + spacing */
  }
}

@media (max-width: 767px) {
  .games-section {
    padding-top: 115px !important; /* Header row (~55px) + category filters row (~45px) + spacing */
  }
}

/* ============================================
   Sports Betting Iframe Section
   ============================================ */

.sports-iframe-section {
  padding-top: 85px; /* Account for our header */
  min-height: calc(100vh - 85px);
  background: #1a1a2e !important; /* Override section--bg */
  margin: 0;
  padding-bottom: 0;
}

.sports-iframe-section.section--bg {
  background: #1a1a2e !important;
  padding-bottom: 0;
}

.sports-iframe-container {
  width: 100%;
  background: #1a1a2e; /* Match iframe background */
  overflow: hidden; /* Hide the cropped portion */
  position: relative;
  margin: 0;
  padding: 0;
}

.sports-game-iframe {
  width: 100%;
  min-height: calc(100vh - 85px + 94px); /* Add 94px to compensate for cropped header */
  height: 900px;
  border: none;
  display: block;
  margin-top: -94px; /* Shift iframe up to hide LuckSport's 94px header */
  background: #1a1a2e;
}

/* Scroll overlay for guest users - allows scroll, captures clicks */
.sports-scroll-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  cursor: pointer;
  background: transparent;
}

@media (max-width: 1199px) {
  .sports-iframe-section {
    padding-top: 55px;
    min-height: calc(100vh - 55px - 60px); /* Account for header and bottom nav */
    padding-bottom: 60px; /* Space for bottom nav */
  }

  .sports-game-iframe {
    min-height: calc(100vh - 55px - 60px + 50px);
    height: calc(100vh - 55px);
    margin-top: -50px; /* Less cropping on tablet/mobile to show sports tab bar */
  }
}

@media (max-width: 767px) {
  .sports-iframe-section {
    padding-top: 55px;
    min-height: calc(100vh - 55px - 60px); /* Account for header and bottom nav */
    padding-bottom: 60px; /* Space for bottom nav */
  }

  .sports-game-iframe {
    min-height: calc(100vh - 55px - 60px + 50px);
    height: calc(100vh - 55px);
    margin-top: -50px; /* Less cropping on mobile to show sports tab bar */
  }
}

/* ============================================
   Footer Quick Links Section
   ============================================ */

.footer-links {
  padding: 40px 0 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-widget__title {
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-widget__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-widget__links li {
  margin-bottom: 10px;
}

.footer-widget__links li a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  transition: all 0.3s ease;
}

.footer-widget__links li a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

/* ========================================
   DASHBOARD STYLES - Modern Sidebar Layout
   ======================================== */

/* Dashboard Wrapper */
.dashboard-wrapper {
  display: flex;
  min-height: 100vh;
  background: #0a0e1a;
}

/* Dashboard Sidebar */
.dashboard-sidebar {
  width: 280px;
  background: linear-gradient(180deg, var(--bg-card-dark) 0%, var(--bg-dark) 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  z-index: 1000;
  transition: transform 0.3s ease;
}

.sidebar-header {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-logo img {
  height: 40px;
  width: auto;
}

.sidebar-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 24px;
  cursor: pointer;
  display: none;
}

/* Sidebar User */
.sidebar-user {
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.user-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--primary-color);
}

.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-info {
  flex: 1;
  min-width: 0;
}

.user-name {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-email {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Sidebar Balance */
.sidebar-balance {
  padding: 20px;
  background: linear-gradient(135deg, rgba(255, 51, 102, 0.1) 0%, rgba(255, 107, 53, 0.1) 100%);
  margin: 15px;
  border-radius: 12px;
  border: 1px solid rgba(255, 51, 102, 0.2);
}

.balance-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 5px;
}

.balance-amount {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 15px;
}

.balance-actions {
  display: flex;
  gap: 10px;
}

.balance-btn {
  flex: 1;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.balance-btn.deposit {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: #fff;
}

.balance-btn.withdraw {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.balance-btn:hover {
  transform: translateY(-2px);
  color: #fff;
}

/* Sidebar Navigation */
.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 15px 0;
}

.nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-item {
  margin-bottom: 2px;
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  gap: 12px;
}

.nav-link i {
  font-size: 20px;
  width: 24px;
  text-align: center;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
  background: rgba(255, 51, 102, 0.1);
}

.nav-link.active {
  border-left: 3px solid var(--primary-color);
}

.submenu-arrow {
  margin-left: auto;
  font-size: 12px;
  transition: transform 0.3s ease;
}

.nav-item.has-submenu.open .submenu-arrow {
  transform: rotate(180deg);
}

.submenu {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: rgba(0, 0, 0, 0.2);
}

.nav-item.has-submenu.open .submenu {
  max-height: 300px;
}

.submenu li a {
  display: block;
  padding: 10px 20px 10px 56px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  transition: all 0.3s ease;
}

.submenu li a:hover,
.submenu li a.active {
  color: var(--primary-color);
  background: rgba(255, 51, 102, 0.05);
}

/* Sidebar Footer */
.sidebar-footer {
  padding: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  gap: 10px;
}

.footer-link {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  transition: all 0.3s ease;
}

.footer-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.footer-link.logout:hover {
  background: rgba(255, 51, 102, 0.2);
  color: var(--primary-color);
}

/* Sidebar Overlay */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Dashboard Main Content */
.dashboard-main {
  flex: 1;
  margin-left: 280px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Dashboard Header */
.dashboard-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-card-dark);
  padding: 15px 25px;
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-toggle {
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  display: none;
}

.header-search {
  flex: 1;
  max-width: 400px;
  position: relative;
}

.header-search i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.4);
  font-size: 18px;
}

.header-search input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 12px 15px 12px 45px;
  color: #fff;
  font-size: 14px;
  transition: all 0.3s ease;
}

.header-search input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.header-search input:focus {
  outline: none;
  border-color: var(--primary-color);
  background: rgba(255, 51, 102, 0.05);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-left: auto;
}

.header-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
}

.header-btn.play-games {
  background: var(--gradient-primary);
  color: #fff;
  border: none;
  box-shadow: 0 2px 10px rgba(255, 51, 102, 0.3);
}

.header-btn.play-games:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(255, 51, 102, 0.4);
  color: #fff;
}

.header-btn.play-games i {
  font-size: 18px;
}

.header-user .user-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.header-user .user-btn img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.header-user .user-btn i {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
}

.header-user .dropdown-menu {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 10px;
  min-width: 180px;
}

.header-user .dropdown-item {
  color: rgba(255, 255, 255, 0.7);
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-user .dropdown-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.header-user .dropdown-item.text-danger:hover {
  background: rgba(255, 51, 102, 0.1);
  color: var(--primary-color);
}

.header-user .dropdown-divider {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 5px 0;
}

/* Dashboard Content */
.dashboard-content {
  flex: 1;
  padding: 25px;
}

/* Dashboard Alerts */
.dashboard-alert {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 25px;
}

.dashboard-alert.alert-danger {
  background: linear-gradient(135deg, rgba(255, 59, 48, 0.15) 0%, rgba(255, 59, 48, 0.05) 100%);
  border: 1px solid rgba(255, 59, 48, 0.3);
}

.dashboard-alert.alert-warning {
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.15) 0%, rgba(255, 193, 7, 0.05) 100%);
  border: 1px solid rgba(255, 193, 7, 0.3);
}

.dashboard-alert.alert-info {
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.15) 0%, rgba(0, 122, 255, 0.05) 100%);
  border: 1px solid rgba(0, 122, 255, 0.3);
}

.alert-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.alert-danger .alert-icon {
  background: rgba(255, 59, 48, 0.2);
  color: #ff3b30;
}

.alert-warning .alert-icon {
  background: rgba(255, 193, 7, 0.2);
  color: #ffc107;
}

.alert-info .alert-icon {
  background: rgba(0, 122, 255, 0.2);
  color: #007aff;
}

.alert-content {
  flex: 1;
}

.alert-content h5 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 5px;
}

.alert-content p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 15px;
}

.alert-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.alert-btn {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.alert-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.alert-btn.secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Welcome Section */
.dashboard-welcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px;
  background: var(--gradient-card);
  border-radius: 16px;
  margin-bottom: 25px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.welcome-content h2 {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 5px;
}

.welcome-content p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.welcome-actions {
  display: flex;
  gap: 12px;
}

.welcome-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.welcome-btn.primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: #fff;
}

.welcome-btn.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.welcome-btn:hover {
  transform: translateY(-2px);
  color: #fff;
}

.welcome-btn.primary:hover {
  box-shadow: 0 5px 20px rgba(255, 51, 102, 0.3);
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 25px;
}

.stat-card {
  background: var(--gradient-card);
  border-radius: 16px;
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: flex-start;
  gap: 15px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 51, 102, 0.3);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.stat-card.balance .stat-icon {
  background: linear-gradient(135deg, rgba(255, 51, 102, 0.2) 0%, rgba(255, 51, 102, 0.1) 100%);
  color: var(--primary-color);
}

.stat-card.deposit .stat-icon {
  background: linear-gradient(135deg, rgba(46, 204, 113, 0.2) 0%, rgba(46, 204, 113, 0.1) 100%);
  color: #2ecc71;
}

.stat-card.withdraw .stat-icon {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.2) 0%, rgba(255, 107, 53, 0.1) 100%);
  color: var(--secondary-color);
}

.stat-card.invest .stat-icon {
  background: linear-gradient(135deg, rgba(155, 89, 182, 0.2) 0%, rgba(155, 89, 182, 0.1) 100%);
  color: #9b59b6;
}

.stat-card.win .stat-icon {
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.2) 0%, rgba(52, 211, 153, 0.1) 100%);
  color: #34d399;
}

.stat-card.loss .stat-icon {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(239, 68, 68, 0.1) 100%);
  color: #ef4444;
}

.stat-content {
  flex: 1;
  min-width: 0;
}

.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  display: block;
  margin-bottom: 5px;
}

.stat-value {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.stat-action {
  margin-top: auto;
}

.stat-action a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.3s ease;
}

.stat-action a:hover {
  color: var(--primary-color);
}

.stat-indicator {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.stat-indicator.positive {
  background: rgba(52, 211, 153, 0.2);
  color: #34d399;
}

.stat-indicator.negative {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

/* Quick Actions Section */
.quick-actions-section {
  margin-bottom: 25px;
}

.section-title {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 20px;
}

.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
}

.quick-action-card {
  background: var(--gradient-card);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.quick-action-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 51, 102, 0.3);
}

.action-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 12px;
}

.action-icon.deposit {
  background: linear-gradient(135deg, rgba(46, 204, 113, 0.2) 0%, rgba(46, 204, 113, 0.1) 100%);
  color: #2ecc71;
}

.action-icon.withdraw {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.2) 0%, rgba(255, 107, 53, 0.1) 100%);
  color: var(--secondary-color);
}

.action-icon.games {
  background: linear-gradient(135deg, rgba(255, 51, 102, 0.2) 0%, rgba(255, 51, 102, 0.1) 100%);
  color: var(--primary-color);
}

.action-icon.referral {
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.2) 0%, rgba(52, 152, 219, 0.1) 100%);
  color: #3498db;
}

.action-icon.support {
  background: linear-gradient(135deg, rgba(155, 89, 182, 0.2) 0%, rgba(155, 89, 182, 0.1) 100%);
  color: #9b59b6;
}

.action-icon.settings {
  background: linear-gradient(135deg, rgba(149, 165, 166, 0.2) 0%, rgba(149, 165, 166, 0.1) 100%);
  color: #95a5a6;
}

.quick-action-card span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.quick-action-card:hover span {
  color: #fff;
}

/* Account Info Section */
.account-info-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.info-card {
  background: var(--gradient-card);
  border-radius: 16px;
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.card-title {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-title i {
  font-size: 20px;
  color: var(--primary-color);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.info-item {
  padding: 15px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
}

.info-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  display: block;
  margin-bottom: 5px;
}

.info-value {
  font-size: 14px;
  color: #fff;
  font-weight: 500;
}

/* Security Items */
.security-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 15px;
}

.security-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  font-size: 13px;
}

.security-item i {
  font-size: 18px;
}

.security-item.verified {
  color: #2ecc71;
}

.security-item.verified i {
  color: #2ecc71;
}

.security-item.unverified {
  color: rgba(255, 255, 255, 0.5);
}

.security-item.unverified i {
  color: #ef4444;
}

.enable-2fa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 51, 102, 0.2) 0%, rgba(255, 51, 102, 0.1) 100%);
  color: var(--primary-color);
  font-size: 13px;
  font-weight: 500;
  border: 1px solid rgba(255, 51, 102, 0.3);
  transition: all 0.3s ease;
}

.enable-2fa-btn:hover {
  background: linear-gradient(135deg, rgba(255, 51, 102, 0.3) 0%, rgba(255, 51, 102, 0.2) 100%);
  color: var(--primary-color);
}

/* Dashboard Modal Styles */
.dashboard-content .modal-content {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
}

.dashboard-content .modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 25px;
}

.dashboard-content .modal-title {
  color: #fff;
  font-weight: 600;
}

.dashboard-content .btn-close {
  filter: invert(1);
  opacity: 0.5;
}

.dashboard-content .modal-body {
  padding: 25px;
  color: rgba(255, 255, 255, 0.8);
}

/* Dashboard Responsive Styles */
@media (max-width: 1399px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-actions-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1199px) {
  .dashboard-sidebar {
    transform: translateX(-100%);
  }

  .dashboard-sidebar.active {
    transform: translateX(0);
  }

  .dashboard-main {
    margin-left: 0;
  }

  .sidebar-toggle {
    display: block;
  }

  .sidebar-close {
    display: block;
  }

  .account-info-section {
    grid-template-columns: 1fr;
  }

  /* Add padding to sidebar footer for bottom nav */
  .sidebar-footer {
    padding-bottom: 80px;
  }

  .sidebar-nav {
    padding-bottom: 20px;
  }
}

@media (max-width: 991px) {
  .dashboard-welcome {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .welcome-actions {
    width: 100%;
    justify-content: center;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-actions-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .dashboard-content {
    padding: 15px;
    padding-bottom: 85px;
  }

  .dashboard-header {
    padding: 12px 15px;
  }

  .header-search {
    display: none;
  }

  .header-btn.play-games {
    padding: 8px 14px;
    font-size: 13px;
  }

  .header-btn.play-games i {
    font-size: 16px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .stat-card {
    padding: 20px;
  }

  .quick-actions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .dashboard-welcome {
    padding: 20px;
  }

  .welcome-content h2 {
    font-size: 20px;
  }

  .welcome-actions {
    flex-direction: column;
  }

  .welcome-btn {
    width: 100%;
    justify-content: center;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .security-items {
    grid-template-columns: 1fr;
  }

  .dashboard-alert {
    flex-direction: column;
    text-align: center;
  }

  .alert-actions {
    justify-content: center;
  }
}

@media (max-width: 1199px) {
  .dashboard-content {
    padding-bottom: 85px;
  }
}

/* ========================================
   DASHBOARD PAGES - Modern UI Styling
   ======================================== */

/* Dashboard Page Card */
.dashboard-card {
  background: var(--gradient-card);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  margin-bottom: 25px;
}

.dashboard-card__header {
  padding: 20px 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

.dashboard-card__title {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dashboard-card__title i {
  color: var(--primary-color);
  font-size: 22px;
}

.dashboard-card__body {
  padding: 25px;
}

.dashboard-card__footer {
  padding: 20px 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Modern Table */
.modern-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.modern-table thead th {
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.6);
  padding: 16px 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.modern-table thead th:first-child {
  border-radius: 10px 0 0 0;
}

.modern-table thead th:last-child {
  border-radius: 0 10px 0 0;
}

.modern-table tbody td {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  color: #fff;
  font-size: 14px;
  vertical-align: middle;
}

.modern-table tbody tr {
  transition: background 0.2s ease;
}

.modern-table tbody tr:hover {
  background: rgba(255, 51, 102, 0.03);
}

.modern-table tbody tr:last-child td {
  border-bottom: none;
}

.modern-table .text-amount {
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
}

.modern-table .text-amount.positive {
  color: #2ecc71;
}

.modern-table .text-amount.negative {
  color: #ef4444;
}

.modern-table .trx-id {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

.modern-table .date-time {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.modern-table .date-time .date {
  color: #fff;
  font-size: 14px;
}

.modern-table .date-time .time {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

/* Status Badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.status-badge--success {
  background: rgba(46, 204, 113, 0.12);
  color: #2ecc71;
}

.status-badge--pending {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
}

.status-badge--danger {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
}

.status-badge--info {
  background: rgba(59, 130, 246, 0.12);
  color: #3b82f6;
}

.status-badge i {
  font-size: 10px;
}

/* Modern Form Inputs */
.modern-form .form-group {
  margin-bottom: 20px;
}

.modern-form .form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
}

.modern-form .form-label.required::after {
  content: '*';
  color: var(--primary-color);
  margin-left: 4px;
}

.modern-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px 18px;
  color: #fff;
  font-size: 15px;
  transition: all 0.3s ease;
}

.modern-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.modern-input:focus {
  outline: none;
  border-color: var(--primary-color);
  background: rgba(255, 51, 102, 0.05);
  box-shadow: 0 0 0 3px rgba(255, 51, 102, 0.12);
}

.modern-input:disabled,
.modern-input[readonly] {
  background: rgba(255, 255, 255, 0.02);
  color: rgba(255, 255, 255, 0.5);
  cursor: not-allowed;
}

.modern-input-group {
  position: relative;
  display: flex;
  align-items: stretch;
}

.modern-input-group .modern-input {
  border-radius: 12px 0 0 12px;
}

.modern-input-group__append {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: none;
  border-radius: 0 12px 12px 0;
  padding: 0 18px;
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

/* Modern Select */
.modern-select {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px 18px;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 18px;
  padding-right: 45px;
}

.modern-select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 51, 102, 0.12);
}

.modern-select option {
  background: var(--bg-card);
  color: #fff;
}

/* Modern Button */
.btn-modern {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-modern--primary {
  background: var(--gradient-primary);
  color: #fff;
}

.btn-modern--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 51, 102, 0.35);
  color: #fff;
}

.btn-modern--secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-modern--secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.btn-modern--sm {
  padding: 10px 18px;
  font-size: 13px;
  border-radius: 10px;
}

.btn-modern--block {
  width: 100%;
}

/* Action Buttons */
.action-btn {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
}

.action-btn:hover {
  background: rgba(255, 51, 102, 0.15);
  color: var(--primary-color);
  border-color: rgba(255, 51, 102, 0.3);
}

/* Payment Gateway Selector - Updated */
.gateway-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 350px;
  overflow-y: auto;
  padding-right: 5px;
}

.gateway-list::-webkit-scrollbar {
  width: 4px;
}

.gateway-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.gateway-list::-webkit-scrollbar-thumb {
  background: rgba(255, 51, 102, 0.5);
  border-radius: 4px;
}

.gateway-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gateway-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.gateway-item.active {
  background: rgba(255, 51, 102, 0.08);
  border-color: rgba(255, 51, 102, 0.3);
}

.gateway-item__radio {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.gateway-item.active .gateway-item__radio {
  border-color: var(--primary-color);
}

.gateway-item.active .gateway-item__radio::after {
  content: '';
  width: 10px;
  height: 10px;
  background: var(--primary-color);
  border-radius: 50%;
}

.gateway-item__image {
  width: 50px;
  height: 35px;
  object-fit: contain;
  border-radius: 6px;
}

.gateway-item__info {
  flex: 1;
}

.gateway-item__name {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
}

.gateway-item__rate {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

/* Info Panel */
.info-panel {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 20px;
}

.info-panel__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-panel__row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.info-panel__row:first-child {
  padding-top: 0;
}

.info-panel__label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-panel__label i {
  font-size: 16px;
}

.info-panel__value {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.info-panel__value.highlight {
  color: var(--primary-color);
}

.info-panel__value.success {
  color: #2ecc71;
}

/* Filter Panel */
.filter-panel {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 25px;
}

.filter-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.filter-panel__title {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-panel__title i {
  color: var(--primary-color);
}

.filter-panel__toggle {
  background: none;
  border: none;
  color: var(--primary-color);
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}

.filter-panel__body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.filter-panel__actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

/* Search Box */
.search-box {
  position: relative;
  max-width: 300px;
}

.search-box__input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 12px 18px 12px 45px;
  color: #fff;
  font-size: 14px;
}

.search-box__input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.search-box__input:focus {
  outline: none;
  border-color: var(--primary-color);
}

.search-box__icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.4);
  font-size: 18px;
}

/* Pagination */
.modern-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 25px;
}

.modern-pagination .page-link {
  min-width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.modern-pagination .page-link:hover {
  background: rgba(255, 51, 102, 0.1);
  border-color: rgba(255, 51, 102, 0.3);
  color: var(--primary-color);
}

.modern-pagination .page-item.active .page-link {
  background: var(--gradient-primary);
  border-color: transparent;
  color: #fff;
}

.modern-pagination .page-item.disabled .page-link {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Modern Modal */
.modern-modal .modal-content {
  background: var(--gradient-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
}

.modern-modal .modal-header {
  padding: 20px 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modern-modal .modal-title {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modern-modal .modal-title i {
  color: var(--primary-color);
}

.modern-modal .btn-close {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: all 0.3s ease;
}

.modern-modal .btn-close:hover {
  background: rgba(255, 51, 102, 0.2);
}

.modern-modal .modal-body {
  padding: 25px;
}

.modern-modal .modal-footer {
  padding: 20px 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

/* Detail List for Modal */
.detail-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.detail-list__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
}

.detail-list__label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.detail-list__value {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}

/* Referral Link Card */
.referral-link-card {
  background: linear-gradient(135deg, rgba(255, 51, 102, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
  border: 1px solid rgba(255, 51, 102, 0.2);
  border-radius: 16px;
  padding: 25px;
  margin-bottom: 25px;
}

.referral-link-card__title {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.referral-link-card__title i {
  color: var(--primary-color);
}

.referral-link-card__input-group {
  display: flex;
  gap: 10px;
}

.referral-link-card__input {
  flex: 1;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px 18px;
  color: #fff;
  font-size: 14px;
}

.referral-link-card__btn {
  background: var(--gradient-primary);
  border: none;
  border-radius: 12px;
  padding: 14px 24px;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.referral-link-card__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(255, 51, 102, 0.3);
}

.referral-link-card__btn.copied {
  background: #2ecc71;
}

/* Referral Tree */
.referral-tree {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 20px;
}

.referral-tree .treeview {
  color: #fff;
}

.referral-tree .treeview li {
  padding: 8px 0;
}

.referral-tree .treeview .icon-item {
  color: var(--primary-color);
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 60px 20px;
}

.empty-state__icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.empty-state__icon i {
  font-size: 36px;
  color: rgba(255, 255, 255, 0.3);
}

.empty-state__title {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.empty-state__text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
}

/* Amount Display */
.amount-display {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
}

.amount-display--positive {
  color: #2ecc71;
}

.amount-display--positive::before {
  content: '+';
}

.amount-display--negative {
  color: #ef4444;
}

.amount-display--negative::before {
  content: '-';
}

/* Two Column Layout */
.two-col-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

/* Profile Form */
.profile-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.profile-form .form-group.full-width {
  grid-column: span 2;
}

/* Select2 Dark Theme - Updated */
.dashboard-content .select2-container--default .select2-selection--single {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  height: 50px !important;
  padding: 10px 18px !important;
}

.dashboard-content .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #fff !important;
  padding-left: 0 !important;
  line-height: 28px !important;
}

.dashboard-content .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 48px !important;
  right: 12px !important;
}

.dashboard-content .select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: rgba(255, 255, 255, 0.5) transparent transparent transparent !important;
}

.dashboard-content .select2-dropdown {
  background: var(--bg-card) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  margin-top: 5px !important;
  overflow: hidden;
}

.dashboard-content .select2-container--default .select2-results__option {
  padding: 12px 18px !important;
  color: rgba(255, 255, 255, 0.8) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dashboard-content .select2-container--default .select2-results__option--highlighted[aria-selected] {
  background: rgba(255, 51, 102, 0.15) !important;
  color: #fff !important;
}

.dashboard-content .select2-container--default .select2-results__option[aria-selected=true] {
  background: rgba(255, 51, 102, 0.25) !important;
  color: #fff !important;
}

.dashboard-content .select2-search--dropdown .select2-search__field {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 8px !important;
  padding: 10px 15px !important;
  color: #fff !important;
}

/* Alert Boxes */
.alert-modern {
  padding: 18px 20px;
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.alert-modern--info {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.alert-modern--success {
  background: rgba(46, 204, 113, 0.1);
  border: 1px solid rgba(46, 204, 113, 0.2);
}

.alert-modern--warning {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.alert-modern--danger {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.alert-modern__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.alert-modern--info .alert-modern__icon {
  background: rgba(59, 130, 246, 0.2);
  color: #3b82f6;
}

.alert-modern--success .alert-modern__icon {
  background: rgba(46, 204, 113, 0.2);
  color: #2ecc71;
}

.alert-modern--warning .alert-modern__icon {
  background: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
}

.alert-modern--danger .alert-modern__icon {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.alert-modern__content {
  flex: 1;
}

.alert-modern__title {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 5px;
}

.alert-modern__text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* Dashboard Page Responsive */
@media (max-width: 991px) {
  .two-col-layout {
    grid-template-columns: 1fr;
  }

  .profile-form {
    grid-template-columns: 1fr;
  }

  .profile-form .form-group.full-width {
    grid-column: span 1;
  }

  .filter-panel__body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .dashboard-card__header {
    padding: 15px 20px;
  }

  .dashboard-card__body {
    padding: 20px;
  }

  .dashboard-card__title {
    font-size: 16px;
  }

  .modern-table thead th {
    padding: 12px 15px;
    font-size: 10px;
  }

  .modern-table tbody td {
    padding: 14px 15px;
    font-size: 13px;
  }

  .referral-link-card__input-group {
    flex-direction: column;
  }

  .search-box {
    max-width: 100%;
  }

  .info-panel__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
}

/* Table Responsive Wrapper */
.table-responsive-wrapper {
  overflow-x: auto;
  margin: 0 -25px;
  padding: 0 25px;
}

@media (max-width: 767px) {
  .table-responsive-wrapper {
    margin: 0 -20px;
    padding: 0 20px;
  }
}

/* ============================================
   DASHBOARD PAGES - ADDITIONAL STYLES
   ============================================ */

/* Gateway List Item - Full Styling */
.gateway-list-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.gateway-list-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}

.gateway-list-item:has(.gateway-list-item__radio:checked) {
  background: rgba(255, 51, 102, 0.08);
  border-color: rgba(255, 51, 102, 0.4);
}

.gateway-list-item__radio {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.gateway-list-item__check {
  width: 22px;
  height: 22px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
  color: transparent;
  font-size: 12px;
}

.gateway-list-item:has(.gateway-list-item__radio:checked) .gateway-list-item__check {
  background: var(--gradient-primary);
  border-color: var(--primary-color);
  color: #fff;
}

.gateway-list-item__icon {
  width: 50px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  padding: 4px;
}

.gateway-list-item__icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.gateway-list-item__info {
  flex: 1;
  min-width: 0;
}

.gateway-list-item__name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 3px;
}

.gateway-list-item__limit {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.gateway-show-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: rgba(255, 51, 102, 0.1);
  border: 1px dashed rgba(255, 51, 102, 0.3);
  border-radius: 12px;
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gateway-show-more:hover {
  background: rgba(255, 51, 102, 0.15);
  border-color: rgba(255, 51, 102, 0.5);
}

/* Modern Input - Extended Styling */
.modern-input-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modern-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.modern-input-wrapper .modern-input {
  padding-left: 50px;
}

.modern-input-prefix {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-color);
  font-size: 16px;
  font-weight: 600;
  z-index: 1;
}

.modern-input-hint {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 8px;
}

/* Info Panel - Extended */
.info-panel--dark {
  background: rgba(0, 0, 0, 0.2);
}

.info-panel__divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 5px 0;
}

.info-panel__row--total {
  padding-top: 15px !important;
}

.info-panel__value--highlight {
  color: var(--primary-color) !important;
  font-size: 16px !important;
}

.info-panel__value--success {
  color: #2ecc71 !important;
}

/* Search Box - Full Styling */
.search-box {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  max-width: 280px;
}

.search-box__input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 16px;
  color: #fff;
  font-size: 14px;
  outline: none;
}

.search-box__input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.search-box__btn {
  background: var(--gradient-primary);
  border: none;
  padding: 12px 16px;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-box__btn:hover {
  opacity: 0.9;
}

/* Referral Link Card */
.referral-link-card {
  background: linear-gradient(135deg, rgba(255, 51, 102, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
  border: 1px solid rgba(255, 51, 102, 0.2);
  border-radius: 16px;
  padding: 25px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.referral-link-card__icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  flex-shrink: 0;
}

.referral-link-card__content {
  flex: 1;
  min-width: 200px;
}

.referral-link-card__title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 5px 0;
}

.referral-link-card__subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.referral-link-card__input {
  display: flex;
  align-items: stretch;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
  max-width: 400px;
}

.referral-link-card__url {
  flex: 1;
  background: transparent;
  border: none;
  padding: 14px 16px;
  color: #fff;
  font-size: 13px;
  outline: none;
  min-width: 0;
}

.referral-link-card__copy {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-primary);
  border: none;
  padding: 14px 20px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.referral-link-card__copy:hover {
  opacity: 0.9;
}

.referral-link-card__copy.copied {
  background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
}

/* Alert Modern */
.alert-modern {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 14px;
}

.alert-modern--info {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: #60a5fa;
}

.alert-modern--info i {
  font-size: 20px;
}

/* Filter Panel Label */
.filter-panel__label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-panel__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.filter-panel__item--btn {
  display: flex;
  align-items: flex-end;
}

@media (max-width: 991px) {
  .filter-panel__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .filter-panel__grid {
    grid-template-columns: 1fr;
  }

  .referral-link-card {
    flex-direction: column;
    text-align: center;
  }

  .referral-link-card__input {
    max-width: 100%;
  }
}

/* Modern Table Additional */
.modern-table {
  width: 100%;
  border-collapse: collapse;
}

.modern-table thead th {
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.6);
  padding: 16px 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  white-space: nowrap;
}

.modern-table tbody td {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 14px;
  vertical-align: middle;
}

.modern-table tbody tr:hover {
  background: rgba(255, 51, 102, 0.03);
}

.modern-table tbody tr:last-child td {
  border-bottom: none;
}

/* Status Badge */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.status-badge--success {
  background: rgba(46, 204, 113, 0.12);
  color: #2ecc71;
}

.status-badge--pending {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
}

.status-badge--danger {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
}

.status-badge--info {
  background: rgba(59, 130, 246, 0.12);
  color: #3b82f6;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 60px 20px;
}

.empty-state i {
  font-size: 64px;
  color: rgba(255, 255, 255, 0.15);
  margin-bottom: 15px;
}

.empty-state p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 15px;
  margin: 0;
}

/* Button Modern */
.btn-modern {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
}

.btn-modern--primary {
  background: var(--gradient-primary);
  color: #fff;
}

.btn-modern--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 51, 102, 0.35);
  color: #fff;
}

.btn-modern--primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-modern--outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}

.btn-modern--outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.btn-modern--sm {
  padding: 8px 14px;
  font-size: 13px;
}

.btn-modern--success {
  background: rgba(46, 204, 113, 0.15);
  color: #2ecc71;
}

/* Modern Modal */
.modern-modal .modal-content {
  background: var(--gradient-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
}

.modern-modal .modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 25px;
}

.modern-modal .modal-title {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modern-modal .modal-title i {
  color: var(--primary-color);
}

.modern-modal .modal-close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modern-modal .modal-close:hover {
  background: rgba(255, 51, 102, 0.2);
  color: var(--primary-color);
}

.modern-modal .modal-body {
  padding: 25px;
}

/* Detail List */
.detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.detail-list__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.detail-list__item:last-child {
  border-bottom: none;
}

.detail-list__label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.detail-list__value {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.detail-list__link {
  color: var(--primary-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.detail-list__link:hover {
  color: var(--secondary-color);
}

/* Admin Feedback */
.admin-feedback {
  margin-top: 20px;
  padding: 15px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 10px;
}

.admin-feedback__title {
  font-size: 14px;
  font-weight: 600;
  color: #ef4444;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-feedback__text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* Form Field - Simple Block Layout */
.form-field {
  margin-bottom: 0;
}

.form-field__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-field__input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px 18px;
  color: #fff;
  font-size: 15px;
  transition: all 0.3s ease;
}

.form-field__input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.form-field__input:focus {
  outline: none;
  border-color: var(--primary-color);
  background: rgba(255, 51, 102, 0.05);
  box-shadow: 0 0 0 3px rgba(255, 51, 102, 0.12);
}

.form-field__input--readonly {
  background: rgba(255, 255, 255, 0.02);
  color: rgba(255, 255, 255, 0.5);
  cursor: not-allowed;
}

.form-field__hint {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 8px;
}

.form-field__hint--verified {
  color: #2ecc71;
}

/* Amount Input with Currency Symbol */
.amount-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.amount-input-prefix {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-color);
  font-size: 18px;
  font-weight: 700;
  z-index: 1;
}

.amount-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px 18px 16px 50px;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.amount-input::placeholder {
  color: rgba(255, 255, 255, 0.25);
  font-weight: 400;
}

.amount-input:focus {
  outline: none;
  border-color: var(--primary-color);
  background: rgba(255, 51, 102, 0.05);
  box-shadow: 0 0 0 3px rgba(255, 51, 102, 0.12);
}

/* ===============================================
   Profile Settings Form - Full Width Inputs
   =============================================== */
.profile-form-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 24px !important;
  width: 100% !important;
}

.profile-form-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 20px !important;
  width: 100% !important;
}

.profile-form-row--three {
  grid-template-columns: repeat(3, 1fr) !important;
}

.profile-form-field {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  min-width: 0 !important;
}

.profile-form-field--full {
  width: 100% !important;
  grid-column: 1 / -1 !important;
}

.profile-form-label {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: rgba(255, 255, 255, 0.6) !important;
  margin-bottom: 8px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  display: block !important;
}

.profile-form-input,
input.profile-form-input,
.profile-form input[type="text"],
.profile-form input[type="email"],
.profile-form input[type="tel"],
.dashboard-card .profile-form-input {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 10px !important;
  padding: 14px 16px !important;
  color: #fff !important;
  font-size: 15px !important;
  transition: all 0.3s ease !important;
  box-sizing: border-box !important;
  display: block !important;
  height: auto !important;
}

.profile-form-input::placeholder {
  color: rgba(255, 255, 255, 0.3) !important;
}

.profile-form-input:focus {
  outline: none !important;
  border-color: var(--primary-color) !important;
  background: rgba(255, 51, 102, 0.05) !important;
  box-shadow: 0 0 0 3px rgba(255, 51, 102, 0.12) !important;
}

.profile-form-input--readonly,
.profile-form-input[readonly],
.profile-form-input[disabled] {
  background: rgba(255, 255, 255, 0.02) !important;
  color: rgba(255, 255, 255, 0.5) !important;
  cursor: not-allowed !important;
}

.profile-form-hint {
  font-size: 12px !important;
  color: rgba(255, 255, 255, 0.5) !important;
  margin-top: 6px !important;
}

.profile-form-hint--verified {
  color: #2ecc71 !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.profile-form-divider {
  height: 1px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  margin: 10px 0 !important;
  grid-column: 1 / -1 !important;
}

/* Profile Settings Card Specific */
.profile-settings-card {
  width: 100% !important;
}

.profile-settings-card .dashboard-card__body {
  display: block !important;
  width: 100% !important;
}

.profile-settings-card .profile-form,
.profile-settings-card form {
  width: 100% !important;
  display: block !important;
}

.profile-settings-card .row {
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
}

.profile-settings-card [class*="col-"] {
  padding-left: 10px !important;
  padding-right: 10px !important;
  flex: 0 0 auto !important;
}

.profile-settings-card .col-md-6 {
  width: 50% !important;
}

.profile-settings-card .col-md-4 {
  width: 33.333% !important;
}

.profile-settings-card .col-12 {
  width: 100% !important;
}

@media (max-width: 768px) {
  .profile-form-row,
  .profile-form-row--three {
    grid-template-columns: 1fr !important;
  }

  .profile-settings-card .col-md-6,
  .profile-settings-card .col-md-4 {
    width: 100% !important;
  }
}
