:root {
    --card-bg: #252836;
}

td.gridjs-td, th.gridjs-th {
    border: none;
}
.gridjs-tr{
    border-bottom: 1px solid rgb(43, 49, 62) ;
}
.gridjs-wrapper {
    border: none;
}
.transaction_email{
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 155px;
    overflow: hidden;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover{
    background: #468aef;
    color: white !important;
}

/* header css */
.nav-icons-wrapper {
    position: absolute;
    transform: translateX(-50%);
    /* background: rgba(255, 255, 255, 0.05); */
    padding: 10px 25px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.top-nav-icons .nav-icon {
	cursor: pointer;
	transition: all 0.2s ease-in-out;
}

.top-nav-icons .nav-icon:hover {
	transform: translateY(-3px);
	color: #0d6efd;
}

.top-nav-icons .nav-icon i {
	display: block;
	margin-bottom: 3px;
}

/* Sidebar css user */

.child_menu {
      list-style-type: none;
  }

  /* Bottom fixed section */
  .sidebar-bottom {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      background-color: var(--vz-vertical-menu-bg);
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      padding: 10px 0;
  }

  .sidebar-bottom .nav-item {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 8px 20px;
      color: #adb5bd;
      text-decoration: none;
      font-size: 13px;
      transition: all 0.2s ease;
  }

  .sidebar-bottom .nav-item:hover {
      color: #fff;
      background: rgba(255, 255, 255, 0.05);
  }

  .sidebar-bottom .nav-item i {
      font-size: 15px;
  }

  .sidebar-version {
      text-align: center;
      font-size: 11px;
      color: #adb5bd;
      padding-top: 8px;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .sidebar-version .version-text {
      font-weight: 600;
  }

.login-bg-img {
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0;
    padding: 0;
    background-image: url('/assets/images/tradexcombatlog2.png');
}


.wallet-container {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
    background: linear-gradient(135deg, rgba(79, 156, 249, 0.15) 0%, rgba(99, 102, 241, 0.15) 100%);
    /* border-radius: 50px; */
    border: 1px solid rgba(79, 156, 249, 0.2);
}

.wallet-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.wallet-info i {
    font-size: 1.2rem;
    color: var(--primary);
}

.wallet-info span {
    font-size: 0.7rem;
    color: var(--text-secondary);
    white-space: nowrap;
}

body{
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    margin: 0;
    padding: 0;
    background-image: url('/assets/images/login-body-bg.avif');

}
.form-div{
    border-radius: unset !important;
}

/* Login With Google Button */
.gsi-material-button {
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -webkit-appearance: none;
  background-color: #131314;
  background-image: none;
  border: 1px solid #747775;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: #e3e3e3;
  cursor: pointer;
  font-family: 'Roboto', arial, sans-serif;
  font-size: 14px;
  height: 40px;
  letter-spacing: 0.25px;
  outline: none;
  overflow: hidden;
  padding: 0 12px;
  position: relative;
  text-align: center;
  -webkit-transition: background-color .218s, border-color .218s, box-shadow .218s;
  transition: background-color .218s, border-color .218s, box-shadow .218s;
  vertical-align: middle;
  white-space: nowrap;
  width: auto;
  max-width: 400px;
  min-width: min-content;
  border-color: #8e918f;
}

.gsi-material-button .gsi-material-button-icon {
  height: 20px;
  margin-right: 12px;
  min-width: 20px;
  width: 20px;
}

.gsi-material-button .gsi-material-button-content-wrapper {
  -webkit-align-items: center;
  align-items: center;
  display: flex;
  -webkit-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: nowrap;
  flex-wrap: nowrap;
  height: 100%;
  justify-content: space-between;
  position: relative;
  width: 100%;
}

.gsi-material-button .gsi-material-button-contents {
  -webkit-flex-grow: 1;
  flex-grow: 1;
  font-family: 'Roboto', arial, sans-serif;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: top;
}

.gsi-material-button .gsi-material-button-state {
  -webkit-transition: opacity .218s;
  transition: opacity .218s;
  bottom: 0;
  left: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.gsi-material-button:disabled {
  cursor: default;
  background-color: #13131461;
  border-color: #8e918f1f;
}

.gsi-material-button:disabled .gsi-material-button-state {
  background-color: #e3e3e31f;
}

.gsi-material-button:disabled .gsi-material-button-contents {
  opacity: 38%;
}

.gsi-material-button:disabled .gsi-material-button-icon {
  opacity: 38%;
}

.gsi-material-button:not(:disabled):active .gsi-material-button-state, 
.gsi-material-button:not(:disabled):focus .gsi-material-button-state {
  background-color: white;
  opacity: 12%;
}

.gsi-material-button:not(:disabled):hover {
  -webkit-box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
  box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
}

.gsi-material-button:not(:disabled):hover .gsi-material-button-state {
  background-color: white;
  opacity: 8%;
}

/* Mid Section dashborad Css */

/* Welcome Section */
.welcome-section {
    margin-bottom: 15px;
    flex-shrink: 0;
}

.welcome-section h3 {
    font-size: 1.2rem;
    margin-bottom: 3px;
    color: var(--text-secondary);
}

.welcome-section p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin: 0;
}

.welcome-section strong {
    color: var(--primary);
}

/* carousel css */

.my-combat-carousel .carousel-inner {
    min-height: 200px;
    border-radius: 10px;
    overflow: hidden;
}

/* Background image and overlay */
.combat-bg {
    height: 200px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.combat-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.80);
}

/* Header & Footer boxes */
.bg-combat-card {
    background: rgba(34, 38, 50, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(2px);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
}

/* Carousel dots */
.my-combat-carousel .carousel-indicators {
    justify-content: center;
    margin-top: 14px;
    gap: 6px;
}

.my-combat-carousel .carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8) !important; /* white for inactive */
    border: none;
    opacity: 1;
    transition: all 0.3s ease;
}

.my-combat-carousel .carousel-indicators .active {
    background-color: #00b2ff !important; /* blue for active */
    transform: scale(1.3);
}

/* Text styles */
.text-info {
    color: #00b2ff !important;
}

.display-5 {
    letter-spacing: 1px;
}

.shadow-sm {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4) !important;
}

/* Right Side bar css */
.section-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}


/* .col-lg-8 .section-card {
    flex: 1;
}

.col-lg-4 .section-card {
    flex: 0 0 auto;
    padding: 10px;
    margin-bottom: 8px;
}

.col-lg-4 .section-card:nth-child(1) {
    flex-shrink: 0;
}

.col-lg-4 .section-card:nth-child(2) {
    flex-shrink: 0;
}

.col-lg-4 .section-card:nth-child(3) {
    flex-shrink: 0;
}

.col-lg-4 .section-card:nth-child(4) {
    flex: 0 0 auto;
    min-height: 0;
}

.col-lg-4 .section-header {
    margin-bottom: 6px;
}

.col-lg-4 .section-header h4 {
    font-size: 0.85rem;
}

.col-lg-4 .dots-indicator {
    padding: 5px 0;
}

.col-lg-4 .dot {
    width: 6px;
    height: 6px;
}

.col-lg-4 .dot.active {
    width: 18px;
}

.col-lg-4 .view-more {
    font-size: 0.7rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-shrink: 0;
}

.section-header h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.section-header h4 .fa-fire {
    color: var(--live-red);
}

.view-more {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.85rem;
}

/* Carousel Section */
.carousel-section {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.combat-carousel-card {
    background: 
        linear-gradient(135deg, rgba(30, 33, 57, 0.8) 0%, rgba(37, 40, 54, 0.9) 100%),
        url('images/my_combat_bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    backdrop-filter: blur(10px);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.combat-title-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    font-weight: 500;
    flex-shrink: 0;
}

.combat-vs-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    padding: 70px 20px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 300"><defs><linearGradient id="grad" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:rgb(31,33,40);stop-opacity:0.8" /><stop offset="100%" style="stop-color:rgb(37,40,54);stop-opacity:0.9" /></linearGradient></defs><rect width="1000" height="300" fill="url(%23grad)"/></svg>') center/cover;
    flex: 1;
    min-height: 0;
}

.currency-box {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    padding: 12px 25px;
    background: rgba(79, 156, 249, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(79, 156, 249, 0.3);
    min-width: 100px;
    text-align: center;
}

.vs-text {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.combat-details {
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 0.8rem;
}

.detail-label {
    color: var(--text-secondary);
}

.detail-value {
    color: var(--text-primary);
    font-weight: 600;
}

.detail-value.timer {
    color: var(--success);
    font-weight: 700;
}

/* Old Combat Card - Keep for HOT Combats */
.combat-card {
    background: linear-gradient(135deg, #1e2139 0%, #252836 100%);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 10px;
}

.combat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.combat-header h5 {
    font-size: 1rem;
    margin: 0;
}

.live-badge {
    background: var(--live-red);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.live-badge .fa-circle {
    font-size: 0.5rem;
}

.combat-match {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin: 30px 0;
}

.currency {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.vs {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.combat-info {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.combat-info strong {
    color: var(--text-primary);
}

.dots-indicator {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 8px 0;
    flex-shrink: 0;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: var(--primary);
    width: 24px;
    border-radius: 4px;
}

/* Tournament Banner */
.tournament-banner {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 8px;
    flex-shrink: 0;
}

.tournament-banner img {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

.tournament-info {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}

.tournament-info strong {
    color: var(--primary);
}

/* Combat Types */
.combat-types {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.combat-type-card {
    flex: 1;
    background: linear-gradient(135deg, #1e2745 0%, #2a3154 100%);
    border-radius: 6px;
    padding: 6px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.combat-type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(79, 156, 249, 0.3);
}

.combat-icon {
    background: rgba(79, 156, 249, 0.2);
    border-radius: 5px;
    padding: 5px;
    margin-bottom: 4px;
}

.vs-text {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
}

.combat-badge {
    background: var(--primary);
    color: white;
    font-size: 0.45rem;
    font-weight: 700;
    padding: 2px;
    border-radius: 3px;
    margin-bottom: 4px;
}

.combat-label {
    font-size: 0.65rem;
    color: var(--text-primary);
    line-height: 1.2;
}

.combat-label small {
    font-size: 0.55rem;
    color: var(--text-secondary);
}

/* Transaction Filters */
.transaction-filters {
    display: flex;
    gap: 4px;
    margin-bottom: 6px;
}

.filter-btn {
    flex: 1;
    padding: 4px;
    background: var(--bg-dark);
    color: var(--text-secondary);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.65rem;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary);
    color: white;
}

/* Transactions List */
.transactions-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 0 0 auto;
}

.transactions-list::-webkit-scrollbar {
    width: 4px;
}

.transactions-list::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 2px;
}

.transaction-item {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4px;
    padding: 5px 6px;
    background: var(--bg-dark);
    border-radius: 4px;
    font-size: 0.65rem;
}

.trans-label {
    color: var(--text-secondary);
    font-size: 0.65rem;
}

.trans-value {
    font-weight: 600;
    color: var(--success);
    font-size: 0.65rem;
}

.trans-date {
    color: var(--text-secondary);
    text-align: right;
    font-size: 0.6rem;
}

/* Event Banner */
.event-banner {
    background: linear-gradient(135deg, #2a1e4d 0%, #1e2745 100%);
    border-radius: 6px;
    padding: 8px;
    margin-bottom: 5px;
    flex-shrink: 0;
}

.event-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.event-date {
    font-size: 0.6rem;
    color: var(--text-secondary);
}

.event-time {
    color: var(--primary);
    margin-top: 2px;
    font-size: 0.6rem;
}

.event-prize {
    text-align: center;
}

.prize-amount {
    font-size: 1rem;
    font-weight: 700;
    color: var(--warning);
}

.prize-label {
    font-size: 0.6rem;
    color: var(--text-secondary);
}

.event-image img {
    width: 50px;
    height: 40px;
    border-radius: 5px;
}

/* Played Combats */
.played-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
    flex: 0 0 auto;
}

.played-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 4px;
    background: var(--bg-dark);
    border-radius: 5px;
    font-size: 0.65rem;
}

.played-type {
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 1px;
    font-size: 0.6rem;
}

.played-status {
    color: var(--text-secondary);
    font-size: 0.55rem;
    margin-bottom: 3px;
}

.played-user {
    /* display: flex;
    align-items: center;
    gap: 1px; */
    padding-top: 3px;
    border-top: 1px solid var(--border-color);
}

.played-user img {
    width: 14px;
    height: 14px;
    border-radius: 50%;
}

.played-user span {
    color: var(--text-secondary);
    font-size: 0.55rem;
}

.played-date {
    color: var(--text-secondary);
    font-size: 0.5rem;
    margin-top: auto;
} */