.game_main .input_label {
    overflow: unset!important;
}
.footer .footer_top .footer_widget ul li a:hover, .footer .footer_top .footer_widget ul li a.active {
    color: #FFEB3B;
}
/* Bet history tables — same size on all game pages (override extra.css table { font-size: 0.875em }) */
.bets_table thead tr td,
.bets_table tbody tr td {
	font-size: 14px;
	line-height: 1.45;
	padding: 11px 14px;
	vertical-align: middle;
}
.bets_table thead tr {
	height: auto;
	min-height: 46px;
}
.bets_table tbody tr {
	height: auto;
	min-height: 46px;
	line-height: 1.45;
}
.table.bets_table > thead > tr > th,
.table.bets_table > thead > tr > td,
.table.bets_table > tbody > tr > th,
.table.bets_table > tbody > tr > td {
	line-height: 1.45 !important;
}

.bets_nav {
	width: 300px!important;
}
.bets_nav ul li {
	width: 150px!important;
	overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
	font-size: 12px;
	padding: 0px;
	text-align: center!important;
}
.game_title {
	clear: both;
    display: inline-block;
    white-space: nowrap;
}
.dark_mode .form__input#select_captcha {
	background-color: #212428 !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%239ca3af' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 14px center !important;
}
.dark_mode .form__input#select_page {
    background: #212428 !important;
}
.history_tbl {
	max-width: 425px;
	margin: 20px auto;
	border-radius: 7px !important;
	box-shadow: rgba(0, 0, 0, 0.25) 4px 4px 12px;
	overflow: hidden;
}
.history_header th {
	border: none!important;
}
.history_row th, .history_row td {
	border: none!important;
}

/* -------- Light -------- */
.faucet-tabs{
  display:inline-flex; gap:0; padding:4px;
  background:#e9edf2; border:1px solid #d8dde3;
  border-radius:12px; box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  margin-bottom: 20px;
  gap: 5px; padding: 5px; 
}
.faucet-tab{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 16px; border-radius:10px;
  color:#4b5563; font-weight:600; text-decoration:none; white-space:nowrap;
  transition: background .15s, color .15s, box-shadow .15s;
  margin: 0px 1px;
}
.faucet-tab:hover{ background:rgba(255,255,255,.35); }
.faucet-tab.is-active{
  background:#fff; color:#0f172a;
  border:1px solid #e6e9ee; box-shadow:0 2px 6px rgba(0,0,0,.06);
}
.faucet-tab .badge{
  font:700 12px/1 system-ui; padding:2px 6px; border-radius:999px;
  background:#2196F3; color:#FFFFFF; border:1px solid #e2e8f0;
}

/* -------- Dark (body #1e2024) -------- */
.dark_mode .faucet-tabs{
  background:#2d3035; border-color:#25282d;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.dark_mode .faucet-tab{ color:#c9d4db; }
.dark_mode .faucet-tab:hover{ background:#35383e; }
.dark_mode .faucet-tab.is-active{
  background:#fff; color:#1e2024;
  border:1px solid #dfe6ec; box-shadow:0 2px 8px rgba(0,0,0,.35);
}
.dark_mode .faucet-tab .badge{
  background:#54c853; color:#FFFFFF; border-color:#2b404e;
}

/* Optional: disabled + focus */
.faucet-tab[aria-disabled="true"], .faucet-tab.is-disabled{ opacity:.55; pointer-events:none; }
.faucet-tab:focus-visible{ outline:2px solid #66c1d1; outline-offset:2px; border-radius:12px; }
.bet_btn span {
	white-space: normal;
	word-break: normal;
	overflow-wrap: break-word;
}
/* ===============================
   DATA TABLE COMPONENT
================================ */

.data-table {
	background: #FFF;
	padding: 15px;
	border-radius: 10px;
	border: 1px solid #DDD;
	margin-bottom: 20px;
}

.data-table-title {
	font-size: 15px;
	font-weight: 600;
	margin-bottom: 16px;
	color: #2d2d2d;
	text-align: left;
	padding: 10px;
}

.data-table-head {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
	font-size: 12px;
	align-items: center;
	font-weight: 600;
	color: #777;
	margin-bottom: 10px;
}

.data-table-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
	align-items: center;
	background: #fafbfe;
	border-radius: 14px;
	padding: 12px 5px;
	margin-top: 7px;
}
.data-table.striped .data-table-row:nth-child(even) {
	background: transparent;
}
.data-table-row .cell {
	font-size: 13px;
	color: #333;
}
.data-table.striped .data-table-row .survey_icon {
	height: 35px;
	border-radius: 5px;
	border: 1px solid #EEE;
}
.dark_mode .data-table.striped .data-table-row .survey_icon {
	border: 1px solid #212428;
}

/* ===============================
   DARK MODE
================================ */

.dark_mode .data-table {
	background: #1c1e22 !important;
	border: none;
}

.dark_mode .data-table-title {
	color: #FFF;
}

.dark_mode .data-table-head {
	color: #DDD;
}

.dark_mode .data-table-row {
	background: #292e35;
}

.dark_mode .data-table-row .cell {
	color: #FFF;
}

.game-nav-ico {
	width: 18px;
	height: 18px;
	display: inline-block;
	vertical-align: -3px;
	fill: currentColor;
	color: inherit;
	flex-shrink: 0;
}
.side-nav-sub__icon .game-nav-ico {
	width: 18px;
	height: 18px;
	vertical-align: 0;
}
.bets-data-table .game-nav-ico {
	width: 16px;
	height: 16px;
	margin-right: 4px;
}

/* Bet history on game pages (data-table layout) */
#bets_history_wrap {
	width: 100%;
	max-width: 100%;
	margin: 0 auto 20px;
}
.bets-data-table.data-table {
	max-width: 100%;
	min-width: 0;
	border: 1px solid #e6eaee;
	border-radius: 16px;
	box-sizing: border-box;
}
.dark_mode .bets-data-table.data-table {
	border: 1px solid rgb(104 117 135 / 22%);
}
.bets-table-body {
	width: 100%;
	max-width: 100%;
	overflow-x: visible;
}
.bets-table-scroll {
	min-width: 0;
	width: 100%;
}
/* Desktop: full width, columns stretch */
.bets-data-table.bets-cols-my .bets-table-scroll .data-table-head,
.bets-data-table.bets-cols-my .bets-table-scroll .data-table-row {
	grid-template-columns: minmax(72px, 1fr) minmax(84px, 1.35fr) minmax(100px, 1.35fr) minmax(64px, 0.95fr) minmax(100px, 1.25fr) !important;
	column-gap: 10px;
}
.bets-data-table.bets-cols-all .bets-table-scroll .data-table-head,
.bets-data-table.bets-cols-all .bets-table-scroll .data-table-row {
	grid-template-columns: minmax(68px, 0.95fr) minmax(80px, 1.25fr) minmax(72px, 1fr) minmax(96px, 1.2fr) minmax(60px, 0.9fr) minmax(96px, 1.15fr) !important;
	column-gap: 10px;
}
@media (min-width: 640px) {
	.bets-table-scroll .data-table-head {
		font-size: 13px;
		padding: 0 8px 8px;
	}
	.bets-table-scroll .data-table-row {
		font-size: 14px;
		padding: 11px 12px;
	}
	.bets-table-scroll .data-table-head > span,
	.bets-table-scroll .data-table-row > span {
		overflow: visible;
		text-overflow: clip;
	}
}
@media (max-width: 639px) {
	#bets_history_wrap {
		width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
	.bets-data-table.data-table {
		padding: 10px 8px;
		border-radius: 8px;
	}
	.bets-table-body {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: thin;
	}
	.bets-table-scroll {
		min-width: 450px;
		width: auto;
	}
	/* Mobile: fixed columns, total ~450px */
	.bets-data-table.bets-cols-my .bets-table-scroll .data-table-head,
	.bets-data-table.bets-cols-my .bets-table-scroll .data-table-row {
		grid-template-columns: 68px 70px 118px 54px 118px !important;
		column-gap: 5px;
	}
	.bets-data-table.bets-cols-all .bets-table-scroll .data-table-head,
	.bets-data-table.bets-cols-all .bets-table-scroll .data-table-row {
		grid-template-columns: 58px 62px 54px 100px 50px 98px !important;
		column-gap: 5px;
	}
	.bets-table-scroll .data-table-head,
	.bets-table-scroll .data-table-row {
		font-size: 12px;
		padding: 8px 6px;
	}
	.bets-table-scroll .data-table-head {
		font-size: 12px;
		padding: 0 6px 6px;
	}
	.bets-table-scroll .data-table-head > span,
	.bets-table-scroll .data-table-row > span {
		font-size: inherit;
		line-height: 1.35;
		min-width: 0;
		overflow: hidden;
		text-overflow: ellipsis;
	}
	.bets-table-scroll .data-table-row > span * {
		font-size: inherit;
	}
}
.bets-data-table-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-direction: row !important;
	gap: 12px;
	padding: 6px 12px 10px !important;
	margin-bottom: 10px !important;
	border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.bets-title-tabs {
	display: flex;
	align-items: center;
	gap: 18px;
	min-width: 0;
}
.bets-title-history {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
	font-size: 14px;
	font-weight: 500;
	color: #6b7280;
	text-decoration: none;
	padding: 7px 15px;
	border-radius: 6px;
	border: 1px solid rgba(148, 163, 184, 0.3);
	transition: color 0.15s, background 0.15s;
}
.bets-title-history i {
	font-size: 13px;
	opacity: 0.85;
}
.bets-title-history:hover {
	color: #38bdf8;
	background: rgba(56, 189, 248, 0.08);
	text-decoration: none;
}
.bets-title-history:hover i {
	opacity: 1;
	color: #38bdf8;
}
.bets-title-tab {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.01em;
	color: #a8b0bd;
	cursor: pointer;
	user-select: none;
	padding-bottom: 4px;
	border-bottom: 2px solid transparent;
	transition: color 0.15s, border-color 0.15s;
}
.bets-title-icon {
	font-size: 12px;
	opacity: 0.75;
	transition: opacity 0.15s, color 0.15s;
}
.bets-title-tab:hover {
	color: #6b7280;
}
.bets-title-tab:hover .bets-title-icon {
	opacity: 0.9;
}
.bets-title-tab.is-active {
	color: #4b5563;
	border-bottom-color: #38bdf8;
}
.bets-title-tab.is-active .bets-title-icon {
	opacity: 1;
	color: #38bdf8;
}
.dark_mode .bets-data-table-title {
	border-bottom-color: rgb(104 117 135 / 22%);
}
.dark_mode .bets-title-tab {
	color: #64748b;
}
.dark_mode .bets-title-tab:hover {
	color: #94a3b8;
}
.dark_mode .bets-title-tab.is-active {
	color: #cbd5e1;
	border-bottom-color: #38bdf8;
}
.dark_mode .bets-title-history {
	color: #94a3b8;
}
.dark_mode .bets-title-history:hover {
	color: #38bdf8;
	background: rgba(56, 189, 248, 0.12);
}
.bets-table-scroll .data-table-head {
	font-weight: 500;
	color: #9ca3af;
	margin-bottom: 4px;
}
.bets-table-scroll .data-table-row {
	color: #4b5563;
	margin-top: 7px;
}
.bets-table-scroll .data-table-head,
.bets-table-scroll .data-table-row {
	white-space: nowrap;
	word-break: normal;
	align-items: center;
}
.bets-table-scroll .data-table-head > span,
.bets-table-scroll .data-table-row > span {
	font-size: inherit;
	line-height: 1.35;
	white-space: nowrap;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
}
.bets-table-scroll .data-table-row > span * {
	font-size: inherit;
	vertical-align: middle;
}
.dark_mode .bets-data-table .data-table-row span {
	color: #e2e8f0;
}

.data-table-row[data-game-id] {
	cursor: pointer;
}
.data-table.striped .data-table-row[data-game-id]:hover,
.data-table.striped .data-table-row[data-game-id]:nth-child(even):hover {
	background: rgba(56, 189, 248, 0.1);
}
.dark_mode .data-table.striped .data-table-row[data-game-id]:hover,
.dark_mode .data-table.striped .data-table-row[data-game-id]:nth-child(even):hover {
	background: rgba(56, 189, 248, 0.14);
}

/* Bets table skeleton while loading */
.bets-data-table.is-loading .data-table-row--skeleton {
	pointer-events: none;
}

.bets-skeleton-bar {
	display: block;
	width: 90%;
	max-width: 100%;
	height: 14px;
	border-radius: 4px;
	background: linear-gradient(
		90deg,
		rgba(0, 0, 0, 0.06) 0%,
		rgba(0, 0, 0, 0.1) 40%,
		rgba(0, 0, 0, 0.06) 80%
	);
	background-size: 200% 100%;
	animation: bets-skeleton-shimmer 1.35s ease-in-out infinite;
	margin: auto;
}

.data-table-row--skeleton:nth-child(2) .bets-skeleton-bar { animation-delay: 0.08s; }
.data-table-row--skeleton:nth-child(3) .bets-skeleton-bar { animation-delay: 0.16s; }
.data-table-row--skeleton:nth-child(4) .bets-skeleton-bar { animation-delay: 0.24s; }
.data-table-row--skeleton:nth-child(5) .bets-skeleton-bar { animation-delay: 0.32s; }
.data-table-row--skeleton:nth-child(6) .bets-skeleton-bar { animation-delay: 0.4s; }
.data-table-row--skeleton:nth-child(7) .bets-skeleton-bar { animation-delay: 0.48s; }
.data-table-row--skeleton:nth-child(8) .bets-skeleton-bar { animation-delay: 0.56s; }

.data-table-row--skeleton > span:nth-child(1) .bets-skeleton-bar { width: 72%; }
.data-table-row--skeleton > span:nth-child(2) .bets-skeleton-bar { width: 58%; }
.data-table-row--skeleton > span:nth-child(3) .bets-skeleton-bar { width: 64%; }
.data-table-row--skeleton > span:nth-child(4) .bets-skeleton-bar { width: 48%; }
.data-table-row--skeleton > span:nth-child(5) .bets-skeleton-bar { width: 70%; }
.data-table-row--skeleton > span:nth-child(6) .bets-skeleton-bar { width: 52%; }

@keyframes bets-skeleton-shimmer {
	0% { background-position: 200% 0; }
	100% { background-position: -200% 0; }
}

.dark_mode .bets-skeleton-bar {
	background: linear-gradient(
		90deg,
		rgba(255, 255, 255, 0.06) 0%,
		rgba(255, 255, 255, 0.14) 40%,
		rgba(255, 255, 255, 0.06) 80%
	);
	background-size: 200% 100%;
}

.bets-skeleton-bar--short {
	width: 45%;
	margin-top: 6px;
}

.bets-skeleton-bar--medium {
	width: 72%;
	margin-top: 6px;
}

.tx-table-scroll {
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
}

.tx-table-scroll__inner {
	min-width: 500px;
	width: max(100%, 500px);
}

.tx-history-table .data-table-row--skeleton > div {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
}

.tx-history-table .data-table-row--skeleton .bets-skeleton-bar {
	height: 12px;
}

.tx-history-table.is-loading .data-table-row--skeleton {
	pointer-events: none;
}

/* OR CONTINUE WITH */
.or-divider {
	display: flex;
	align-items: center;
	text-align: center;
	margin: 20px 0;
	color: #999;
	font-size: 12px;
	letter-spacing: 0.5px;
}

.or-divider::before,
.or-divider::after {
	content: "";
	flex: 1;
	border-bottom: 1px solid #e0e0e0;
}

.or-divider span {
	padding: 0 12px;
	white-space: nowrap;
}

/* GOOGLE BUTTON */
.btn-google {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;

	padding: 12px 14px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 6px;

	font-size: 14px;
	font-weight: 500;
	color: #444;
	cursor: pointer;

	transition: background 0.2s ease, box-shadow 0.2s ease;
}

.btn-google img {
	width: 18px;
	height: 18px;
}

.btn-google:hover {
	background: #f7f7f7;
	box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.btn-google:active {
	background: #eee;
}

.dark_mode .input_group:has(select) {
    position: relative;
    align-items: center;
}

.dark_mode .input_group {
    border: 2px solid #3a3e44;
}
.input_group:has(select) select {
	border: none;
}

.dark_mode .input_group:has(select) select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #000;
    color: #fff;
    border-radius: 6px;
    border: none;
    color-scheme: dark;
}

.dark_mode .input_group:has(select) select::-ms-expand {
	display: none;
}

.dark_mode .input_group:has(select) select option {
    background-color: #1f2229;
    color: #fff;
}

.dark_mode .input_group:has(select)::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid white;
    pointer-events: none;
}

.dark_mode .input_group:has(select)::after {
    right: 50px;
}

.dark_mode .input_group:has(select:only-child)::after {
    right: 10px;
}

/* Captcha select uses its own background-image caret — hide the shared ::after triangle */
.input_group.captcha-select-group:has(select)::after,
.dark_mode .input_group.captcha-select-group:has(select)::after {
	content: none;
	display: none;
}

.gx-header * {
	box-sizing: border-box;
}

.gx-header {
	width: 100%;
	background: #fff;
	border-bottom: 1px solid #e5e7eb;
	margin-top: -40px;
}

.dark_mode .gx-header {
	background: #212428 !important;
	border-bottom: 1px solid #2a2d32;
}

.dark_mode .gx-title {
	color: #fff;
}

.gx-container {
	max-width: 1150px;
	margin: 0 auto;
	padding: 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.gx-left {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	flex: 1;
}

.gx-back-btn {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #6b7280;
	transition: 0.2s;
}

.gx-back-btn:hover {
	background: #f3f4f6;
	color: #111827;
}

.gx-title {
	font-size: 18px;
	font-weight: 600;
	color: #0e3b5e;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	margin-top: 5px;
}

.gx-nav {
	display: flex;
	gap: 8px;
	align-items: center;
}

.gx-btn {
	display: flex;
	align-items: center;
	gap: 6px;
	background: #f3f4f6;
	border-radius: 999px;
	padding: 6px 12px;
	font-size: 14px;
	font-weight: 500;
	color: #374151;
	border: none;
	cursor: pointer;
	transition: 0.2s;
}

.gx-btn:hover {
	background: #e5e7eb;
}

.gx-label {
	display: inline;
}

/* Quick game switcher (in-game header) */
.gx-game-switcher {
	position: relative;
	flex-shrink: 0;
}
.gx-games-toggle {
	width: 36px;
	height: 36px;
	border: none;
	border-radius: 50%;
	background: #f3f4f6;
	color: #6b7280;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.15s, color 0.15s;
	font-size: 14px;
	padding: 0;
}
.gx-games-toggle:hover,
.gx-games-toggle[aria-expanded="true"] {
	background: #e0f2fe;
	color: #0284c7;
}
.dark_mode .gx-games-toggle {
	background: #1e2024;
	color: #94a3b8;
}
.dark_mode .gx-games-toggle:hover,
.dark_mode .gx-games-toggle[aria-expanded="true"] {
	background: #243b4a;
	color: #38bdf8;
}
.gx-games-panel {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	z-index: 500;
	width: min(320px, calc(100vw - 32px));
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
	padding: 10px;
}
.dark_mode .gx-games-panel {
	background: #1e2024;
	border-color: #3a3e44;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}
.gx-games-panel-head {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #9ca3af;
	padding: 2px 4px 8px;
}
.dark_mode .gx-games-panel-head {
	color: #64748b;
}
.gx-games-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 6px;
	max-height: 280px;
	overflow-y: auto;
}
.gx-game-chip {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: 6px 4px;
	border-radius: 8px;
	text-decoration: none !important;
	transition: background 0.15s;
}
.gx-game-chip:hover {
	background: #f3f4f6;
}
.dark_mode .gx-game-chip:hover {
	background: #243b4a;
}
.gx-game-chip.is-active {
	background: #e0f2fe;
}
.dark_mode .gx-game-chip.is-active {
	background: #243b4a;
}
.gx-game-chip-img {
	width: 72px;
	height: 72px;
	border-radius: 8px;
	background-size: cover;
	background-position: center;
	background-color: #f9fafb;
}
.gx-game-chip-label {
	font-size: 10px;
	line-height: 1.2;
	color: #4b5563;
	text-align: center;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.dark_mode .gx-game-chip-label {
	color: #cbd5e1;
}
.gx-game-chip.is-active .gx-game-chip-label {
	color: #0284c7;
	font-weight: 600;
}
.dark_mode .gx-game-chip.is-active .gx-game-chip-label {
	color: #38bdf8;
}
.gx-games-all-link {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin-top: 8px;
	padding: 8px;
	font-size: 12px;
	font-weight: 500;
	color: #6b7280 !important;
	border-top: 1px solid #f3f4f6;
	border-radius: 0 0 8px 8px;
	text-decoration: none !important;
}
.gx-games-all-link:hover {
	color: #0284c7 !important;
	background: #f9fafb;
}
.dark_mode .gx-games-all-link {
	color: #94a3b8 !important;
	border-top-color: #3a3e44;
}
.dark_mode .gx-games-all-link:hover {
	color: #38bdf8 !important;
	background: #243b4a;
}

@media (min-width: 640px) {
	.gx-container {
		padding-left: 0;
		padding-right: 0;
	}
	.gx-title {
		font-size: 24px;
	}

	.gx-nav {
		gap: 12px;
	}
}
@media (max-width: 1200px) {
	.gx-container {
		max-width: 800px;
	}
}

@media (max-width: 639px) {
	.gx-hide-sm {
		display: none;
	}
}
.history_row th, .history_row td {
    background: #f9fafb;
}
.history_row:nth-child(2n+1) th, .history_row:nth-child(2n+1) td {
    background: #EFEFEF;
}


/* ===== CONTAINER ===== */
.stats-container {
	background: #fff;
	padding: 15px;
	border-radius: 15px;
	border: 1px solid #ddd;
	width: 100%;
	max-width: 1000px;
	margin: 20px auto;
	box-shadow: 0 8px 17px 2px rgba(0, 0, 0, 0.1), 0 3px 14px 2px rgba(0, 0, 0, 0.07), 0 5px 5px -3px rgba(0, 0, 0, 0.1);
}

/* ===== GRID / FLEX ===== */
.stats-grid {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
}

/* ===== CARD ===== */
.stats-card {
	display: flex;
	align-items: center;
	flex: 1;
	min-width: 220px;
	background: #F5F5F5;
	border: 1px solid #DDD;
	border-radius: 12px;
	padding: 14px;
	box-shadow: 0 2px 6px rgba(0,0,0,0.06);
	transition: all 0.25s ease-in-out;
	cursor: pointer;
	overflow: hidden;
}

.stats-header h3 {
	font-size: 16px;
	font-weight: 600;
	color: #111827;
	margin-bottom: 10px;
	text-align: left;
}

.stats-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.stats-card.active {
	border: 2px solid #FF9800;
	box-shadow: rgb(255 152 0 / 34%) 4px 4px 10px;
}

.stats-card.success-card {
	background: rgb(139 195 74 / 10%);
	border: 1px solid #8BC34A;
}
.stats-card.success-card .icon{
	background: #8BC34A;
}
.stats-card.info-card {
	background: #03a9f442;
	border: 1px solid #03A9F4;
}
.stats-card.info-card .icon{
	background: #03a9f4;
}
.stats-card.danger-card {
	background: rgb(255 87 34 / 10%);
	border: 1px solid #FF5722;
}
.stats-card.danger-card .icon{
	background: #ff9800;
}


/* ===== LEFT (ICON) ===== */
.stats-card-left .icon {
	width: 50px;
	height: 50px;
	border-radius: 12px;
	background: #03A9F4;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	color: #FFF;
}

/* ===== RIGHT (CONTENT) ===== */
.stats-card-right {
	margin-left: 12px;
	flex: 1;
}

.stats-title {
	font-size: 13px;
	font-weight: 600;
	color: #374151;
	white-space: nowrap;
}

.stats-value {
	font-size: 20px;
	font-weight: bold;
	color: #111827;
	margin-top: 2px;
	white-space: nowrap;
}

.stats-sub {
	font-size: 12px;
	color: #3f4a5d;
	margin-top: 4px;
}

/* ===== BUTTON ===== */
.stats-btn {
	margin-top: 8px;
	padding: 10px 12px;
	border-radius: 8px;
	border: none;
	background: #e5e7eb;
	color: #666;
	font-size: 13px;
	cursor: not-allowed;
}

.stats-btn.active {
	background: #8bc34a;
	color: #fff;
	cursor: pointer;
}

/* ===== IMAGE (optional) ===== */
.stats-card img {
	max-height: 35px;
}
/* ===== DARK MODE ===== */
.dark_mode .stats-container {
	background: #2d3035 !important;
	border: 1px solid #4d69764f;
}
.dark_mode .stats-card {
	background: #212428;
	border-color: #4d69764f;
	color: #e5e7eb;
}

.dark_mode .stats-title {
	color: #CCC;
}

.dark_mode .stats-value {
	color: #fff;
}
.dark_mode .stats-header h3 {
	color: #FFF;
}
.dark_mode .stats-sub {
	color: #DDD;
}
/* -------- Light -------- */
.ui-tabs{
  display:inline-flex; gap:0; padding:4px;
  background:#e9edf2; border:1px solid #d8dde3;
  border-radius:12px; box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  margin-bottom: 20px;
  gap: 5px; padding: 5px; 
}

.ui-tab{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 16px; border-radius:10px;
  color:#4b5563; font-weight:600; text-decoration:none; white-space:nowrap;
  transition: background .15s, color .15s, box-shadow .15s;
  margin: 0px 1px;
  cursor: pointer;
}

.ui-tab:hover{ 
  background:rgba(255,255,255,.35); 
}

.ui-tab.is-active{
  background:#fff; 
  color:#0f172a;
  border:1px solid #e6e9ee; 
  box-shadow:0 2px 6px rgba(0,0,0,.06);
}

.ui-tab .badge{
  font:700 12px/1 system-ui; 
  padding:2px 6px; 
  border-radius:999px;
  background:#2196F3; 
  color:#FFFFFF; 
  border:1px solid #e2e8f0;
}


/* -------- Dark -------- */
.dark_mode .ui-tabs{
  background:#2d3035; 
  border-color:#25282d;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.dark_mode .ui-tab{ 
  color:#c9d4db; 
}

.dark_mode .ui-tab:hover{ 
  background:#35383e; 
}

.dark_mode .ui-tab.is-active{
  background:#fff; 
  color:#1e2024;
  border:1px solid #dfe6ec; 
  box-shadow:0 2px 8px rgba(0,0,0,.35);
}

.dark_mode .ui-tab .badge{
  background:#54c853; 
  color:#FFFFFF; 
  border-color:#2b404e;
}

.sortable {
	cursor: pointer;
}
/* PC default */
.pc-only { display: inline; }
.tablet-only,
.mobile-only { display: none; }

/* Tablet */
@media (max-width: 768px) {
	.pc-only { display: none; }
	.tablet-only { display: inline; }
}

/* Mobile */
@media (max-width: 480px) {
	.tablet-only { display: none; }
	.mobile-only { display: inline; }
}
.addr-box {
    white-space: nowrap;
}
.wagered-boost-label{
	margin-top:25px;
	font-size:13px;
	color:#4caf50;
	font-weight:600;
	text-align:center;
}
.wagered-boost-icon{
	display:inline-block;
	animation:wageredBoostFloat 1s ease-in-out infinite;
}

@keyframes wageredBoostFloat{
	0%{
		transform:translateY(0px);
	}
	50%{
		transform:translateY(-3px);
	}
	100%{
		transform:translateY(0px);
	}
}
.promo-ribbon {
  position: absolute;
  top: 12px;
  right: -32px; 
  transform: rotate(45deg);
  background: #f44336;
  color: #fff;
  padding: 3px 35px;
  font-size: 12px;
  font-weight: bold;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  pointer-events: none;
}
.bets-data-table-title {
	justify-content: space-between;
}
.bets-title-tabs {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
}
.bets-title-history {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
	font-size: 14px;
	font-weight: 500;
	color: #6b7280;
	text-decoration: none;
	padding: 7px 15px;
	border-radius: 6px;
	border: 1px solid rgba(148, 163, 184, 0.3);
	transition: color 0.15s, background 0.15s;
}
.bets-title-history i {
	font-size: 13px;
	opacity: 0.85;
}
.bets-title-history:hover {
	color: #38bdf8;
	background: rgba(56, 189, 248, 0.08);
	text-decoration: none;
}
.bets-title-history:hover i {
	opacity: 1;
	color: #38bdf8;
}
@media (max-width: 768px) {
	.bets-data-table-title {
		flex-direction: column;
		align-items: flex-start;
	}
	.bets-title-tabs {
		width: 100%;
	}
	.bets-title-history span {
		display: none;
	}
}
.data-table-head, .data-table-row {
	text-align: center;
}

.fairness-seeds {
	max-width: 550px;
	margin: 0 auto;
}
.fairness-seeds .input_label {
	margin: 12px 0 6px;
	font-size: 13px;
	font-weight: 600;
}
.fairness-seeds .input_label:first-child {
	margin-top: 0;
}
.fairness-seeds .input_group {
	height: 40px !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex;
	align-items: center;
	border: 1px solid #DDD;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
}
.fairness-seeds .input_group .icon {
	flex: 0 0 40px;
	width: 40px;
	height: 40px !important;
	border: 0;
	border-right: 1px solid #E5E5E5;
	border-radius: 0;
	background: #F5F5F5;
	float: none;
	font-size: 14px;
}
.fairness-seeds .input_group .icon i {
	color: #90a4ae !important;
}
.fairness-seeds .input_group input {
	flex: 1 1 auto;
	width: auto !important;
	height: 40px !important;
	padding: 0 12px !important;
	border: 0 !important;
	border-radius: 0;
	font-size: 13px;
	background: transparent !important;
}
.fairness-seeds .process_btn {
	max-width: none;
	width: 100%;
	height: 40px;
	margin: 16px 0 0;
	border-radius: 8px;
}

@media (max-width: 767px) {
	.container {
		margin-right: auto;
		margin-left: auto;
		padding-left: 10px;
		padding-right: 10px;
	}

	.get_form_nine_area.p_100.aff-page {
		padding-top: 80px;
	}
}

.alert {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	margin-bottom: 12px;
	border: 1px solid;
	border-radius: 12px;
	box-shadow: none !important;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.45;
	text-align: left;
}

.alert i {
	flex: 0 0 auto;
	font-size: 16px;
	line-height: 1;
	margin-right: 0;
}

.alert-success {
	background: #ecfdf5;
	border-color: #bbf7d0;
	color: #15803d;
}

.alert-info {
	background: #eff6ff;
	border-color: #bfdbfe;
	color: #1d4ed8;
}

.alert-warning {
	background: #fffbeb;
	border-color: #fde68a;
	color: #b45309;
}

.alert-danger,
.alert-error {
	background: #fef2f2;
	border-color: #fecaca;
	color: #b91c1c;
}

.dark_mode .alert-success {
	background: #1f3329;
	border-color: #2f5a40;
	color: #86efac;
}

.dark_mode .alert-info {
	background: #1e2a3a;
	border-color: #2a4060;
	color: #93c5fd;
}

.dark_mode .alert-warning {
	background: #2c2718;
	border-color: #5a4a22;
	color: #fbbf24;
}

.dark_mode .alert-danger,
.dark_mode .alert-error {
	background: #2c1f22;
	border-color: #5c2a32;
	color: #fca5a5;
}

.empty-state {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	grid-column: 1 / -1;
	padding: 36px 16px;
	color: #9aa0a6;
	font-size: 13px;
	font-weight: 600;
	text-align: center;
	box-sizing: border-box;
}

.empty-state i {
	font-size: 36px;
	opacity: 0.32;
	line-height: 1;
}

.dark_mode .empty-state {
	color: #9aa0a6;
}
/* Verify email OTP modal */
.verify-email-mask[hidden] { display: none !important; }
.verify-email-mask {
	position: fixed;
	inset: 0;
	z-index: 10050;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(0, 0, 0, 0.55);
}
.verify-email-dialog {
	position: relative;
	width: 100%;
	max-width: 440px;
	padding: 28px 22px 22px;
	background: #fff;
	border: 1px solid #e6eaee;
	border-radius: 16px;
	box-sizing: border-box;
	text-align: left;
}
.dark_mode .verify-email-dialog {
	background: #24282f;
	border-color: #32363e;
}
.verify-email-close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 32px;
	height: 32px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #9ca3af;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}
.verify-email-dialog h3 {
	margin: 0 28px 8px 0;
	font-size: 18px;
	font-weight: 800;
	color: #111827;
}
.dark_mode .verify-email-dialog h3 { color: #f3f4f6; }
.verify-email-copy {
	margin: 0 0 14px;
	font-size: 13px;
	line-height: 1.45;
	color: #6b7280;
}
.dark_mode .verify-email-copy { color: #9ca3af; }
.verify-email-otp {
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	gap: 6px;
	width: 100%;
	margin: 0 auto 16px;
}
.verify-email-otp .otp-input {
	flex: 0 0 40px;
	width: 40px;
	min-width: 40px;
	max-width: 40px;
	height: 40px;
	line-height: 40px;
	padding: 0;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	background: #f9fafb;
	color: #111827;
	font-size: 16px;
	font-weight: 700;
	text-align: center;
	text-transform: none;
}
.verify-email-otp .otp-input:focus {
	border-color: var(--brand, #0daa7f);
	outline: none;
}
.dark_mode .verify-email-otp .otp-input {
	background: #15181f;
	border-color: #3a3e44;
	color: #fff;
}
.verify-email-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 4px;
}

.verify-email-actions .btn,
#verify_email_confirm_btn,
#verify_email_send_btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 44px;
	padding: 10px 16px;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	box-sizing: border-box;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}

#verify_email_confirm_btn {
	background: var(--brand, #0daa7f) !important;
	border: 1px solid var(--brand, #0daa7f) !important;
	color: var(--brand-on, #fff) !important;
	box-shadow: none !important;
}

#verify_email_confirm_btn:hover,
#verify_email_confirm_btn:focus-visible {
	background: var(--brand-hover, #089a73) !important;
	border-color: var(--brand-hover, #089a73) !important;
	color: var(--brand-on, #fff) !important;
	outline: none;
}

#verify_email_send_btn,
.verify-email-actions .btn-secondary {
	background: #fff !important;
	border: 1px solid #d1d5db !important;
	color: #374151 !important;
	box-shadow: none !important;
}

#verify_email_send_btn:hover,
#verify_email_send_btn:focus-visible {
	background: #f9fafb !important;
	border-color: #9ca3af !important;
	color: #111827 !important;
	outline: none;
}

#verify_email_send_btn.is-cooldown,
#verify_email_send_btn:disabled {
	opacity: 0.75;
	cursor: not-allowed;
}

.dark_mode #verify_email_send_btn,
.dark_mode .verify-email-actions .btn-secondary {
	background: #15181f !important;
	border-color: #3a3e44 !important;
	color: #e5e7eb !important;
}

.dark_mode #verify_email_send_btn:hover,
.dark_mode #verify_email_send_btn:focus-visible {
	background: #1c2028 !important;
	border-color: #5b616b !important;
	color: #fff !important;
}
@media (max-width: 480px) {
	.verify-email-otp { gap: 4px; }
}

.hist-page .single_title_n {
	text-align: left;
	padding-bottom: 24px;
}
.hist-page .hist-head {
	text-align: left;
	margin: 0 0 8px;
}
.hist-page .single_title_n .hist-head > h2 {
	margin: 0 0 10px;
	font-size: 22px;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.3;
	text-align: left;
	text-transform: lowercase;
	color: #111827;
}
.hist-page .single_title_n .hist-head > h2::first-letter {
	text-transform: uppercase;
}
.dark_mode .hist-page .single_title_n .hist-head > h2 {
	color: #f3f4f6 !important;
}
.hist-page .single_title_n .hist-head > p {
	margin: 0 0 18px;
	max-width: 640px;
	text-align: left;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.65;
	color: #6b7280 !important;
}
.dark_mode .hist-page .single_title_n .hist-head > p {
	color: #9aa0a6 !important;
}

.bs-result {
	width: fit-content;
	min-width: 120px;
	margin: 10px auto;
	padding: 10px 16px;
	border-radius: 5px;
	text-align: center;
	color: #fff;
	font-weight: 800;
	line-height: 1.2;
	box-sizing: border-box;
}
.bs-result-cashed,
.bs-result-win {
	background: #22c55e;
	box-shadow: 0 0.2em 0 0 #15803d;
}
.bs-result-point {
	background: #f97316;
	box-shadow: 0 0.2em 0 0 #c2410c;
}
.bs-result-lose {
	background: #ef4444;
	box-shadow: 0 0.2em 0 0 #b91c1c;
}
.bs-result-target {
	background: #38bdf8;
	box-shadow: 0 0.2em 0 0 #0284c7;
}
.bs-result-mult {
	min-width: 160px;
	background: #03a9f4;
	box-shadow: 0 0.2em 0 0 #2196F3;
}
