.theme_switch {
	position: relative;
	display: inline-block;
	width: 46px;
	height: 24px;
}

.theme_switch input {
	display: none;
}

.theme_switch .slider {
	position: absolute;
	cursor: pointer;
	background-color: #ccc;
	border-radius: 34px;
	top: 0; left: 0; right: 0; bottom: 0;
	transition: .3s;
}

.theme_switch .slider:before {
	position: absolute;
	content: "";
	height: 18px;
	width: 18px;
	left: 3px;
	bottom: 3px;
	background: white;
	border-radius: 50%;
	transition: .3s;
}

.theme_switch input:checked + .slider {
	background-color: #1c3c4b;
}

.theme_switch input:checked + .slider:before {
	transform: translateX(22px);
}
/* overlay */
.notif-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	z-index: 999998;
	display: none;
}

/* modal */
.notif-modal {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 420px;
	max-width: 92%;
	background: #ffffff;
	border-radius: 8px;
	padding: 0;
	z-index: 999999;
	display: none;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
	font-family: system-ui, sans-serif;
	overflow: hidden;
}

/* header */
.notif-header {
	padding: 16px 18px 10px;
	border-bottom: 1px solid #eee;
	position: relative;
}

.notif-header .title {
	font-size: 16px;
	font-weight: 600;
	text-align: left;
}

.notif-header .desc {
	font-size: 13px;
	margin-top: 4px;
	text-align: left;
}

.notif-header span {
	position: absolute;
	top: 14px;
	right: 16px;
	cursor: pointer;
	font-size: 18px;
}

/* body */
.notif-body {
	padding: 12px 18px;
	max-height: 320px;
	overflow-y: auto;
}

/* checkbox row */
.notif-body .input-group {
	display: flex;
	align-items: center;
}

/* footer */
.notif-footer {
	padding: 12px 18px;
	border-top: 1px solid #eee;
	text-align: right;
}

/* button */
.notif-footer button {
	padding: 6px 14px;
	border: none;
	border-radius: 5px;
	background: #f0f0f0;
	cursor: pointer;
	font-size: 13px;
}

.notif-footer button:hover {
	background: #e0e0e0;
}

/* scrollbar */
.notif-body::-webkit-scrollbar {
	width: 6px;
}

.notif-body::-webkit-scrollbar-thumb {
	background: #ccc;
	border-radius: 3px;
}

.notif-body::-webkit-scrollbar-thumb:hover {
	background: #aaa;
}

/* ================= DARK MODE ================= */

.dark_mode .notif-modal {
	background: #1a2c38;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
}

.dark_mode .notif-header {
	background: #213743;
	border-bottom: none;
}

.dark_mode .notif-body {
	background: #1a2c38;
}

.dark_mode .notif-footer {
	background: #1a2c38;
	border-top: 1px solid #2a4453;
}

.dark_mode .notif-footer button {
	background: #2a4453;
}

.dark_mode .notif-footer button:hover {
	background: #355a6d;
}

.dark_mode .notif-body::-webkit-scrollbar-thumb {
	background: #355a6d;
}

.dark_mode .notif-body::-webkit-scrollbar-thumb:hover {
	background: #4a6f85;
}
.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;
}
.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: #0f212e !important;
}
.dark_mode .form__input#select_page {
    background: #0f212e !important;
}
.history_tbl {
	max-width: 425px;
	margin: 20px auto;
	border-radius: 12px !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 #1a2c38) -------- */
.dark_mode .faucet-tabs{
  background:#273a46; border-color:#20333e;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.dark_mode .faucet-tab{ color:#c9d4db; }
.dark_mode .faucet-tab:hover{ background:#314757; }
.dark_mode .faucet-tab.is-active{
  background:#fff; color:#0f172a;
  border:1px solid #dfe6ec; box-shadow:0 2px 8px rgba(0,0,0,.35);
}
.dark_mode .faucet-tab .badge{
  background:#2196F3; 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: 14px;
	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: #f3f4f6;
	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 #0f212e;
}

/* ===============================
   DARK MODE
================================ */

.dark_mode .data-table {
	background: #213743 !important;
	border: none;
}

.dark_mode .data-table-title {
	color: #FFF;
}

.dark_mode .data-table-head {
	color: #DDD;
}

.dark_mode .data-table-row {
	background: #192c3a;
}

.dark_mode .data-table-row .cell {
	color: #FFF;
}
/* 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 #2f4553;
}
.input_group:has(select) select {
	border: none;
}

.dark_mode .input_group:has(select) select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: #000;
    color: #fff;
    border-radius: 6px;
    border: none;
}

.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;
}

.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: #0f212e !important;
	border-bottom: 1px solid #162f3c;
}

.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;
}

@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: #213743 !important;
	border: 1px solid #4d69764f;
}
.dark_mode .stats-card {
	background: #0f212e;
	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:#273a46; 
  border-color:#20333e;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.dark_mode .ui-tab{ 
  color:#c9d4db; 
}

.dark_mode .ui-tab:hover{ 
  background:#314757; 
}

.dark_mode .ui-tab.is-active{
  background:#fff; 
  color:#0f172a;
  border:1px solid #dfe6ec; 
  box-shadow:0 2px 8px rgba(0,0,0,.35);
}

.dark_mode .ui-tab .badge{
  background:#2196F3; 
  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 {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 6px 12px 10px !important;
	margin-bottom: 10px !important;
	border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.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: rgba(148, 163, 184, 0.12);
}
.dark_mode .bets-title-tab {
	color: #64748b;
}
.dark_mode .bets-title-tab:hover {
	color: #94a3b8;
}
.dark_mode .bets-title-tab.is-active {
	color: #DDD;
	border-bottom-color: #38bdf8;
}
.bets-table-body {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
}
.bets-table-scroll {
	min-width: 500px;
}
.bets-table-body .data-table-row span,
.bets-table-body .data-table-head span{
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
/* 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: #1a2c38;
	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: #1a2c38;
	border-color: #2f4553;
	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: 64px;
	height: 64px;
	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: #2f4553;
}
.dark_mode .gx-games-all-link:hover {
	color: #38bdf8 !important;
	background: #243b4a;
}
