/**
 * member_bundle.css
 * Load AFTER css/theme/custom.css only from the member views that link this file.
 * Scope: none — rules are global within the document. Isolation is by not loading
 * this stylesheet on unrelated routes (not by a wrapper class).
 * [FAILS]: If this file is linked from header globally, .headerDiv / .btn-bank etc. collide site-wide.
 */

/* ----------------------------------------------------------------
   Member sidebar menu (#memberSidebarMenu) — not #menu2 / not .widget_links
   so legacy style.css #menu2 float + widgets ul ul margin do not apply.
   custom.js still requires: li.dropdown, .menutop, ul.side_submenu, .hd
   Fails: if another duplicate li.dropdown exists, Statement toggle targets all.
----------------------------------------------------------------- */

.member-sidebar-widget {
	padding-top: 0;
	border-top: 0;
	margin-top: 0;
}

#memberSidebarMenu.member-sidebar-menu {
	width: 100%;
}

#memberSidebarMenu .member-sidebar-menu__list {
	width: 75%;
	margin-left: auto;
	margin-right: 0;
	margin-bottom: 0;
	padding: 0;
	list-style: none;
	border-radius: 15px;
	overflow: hidden;
}

#memberSidebarMenu .member-sidebar-menu__item,
#memberSidebarMenu .member-sidebar-menu__subitem {
	display: block;
	margin: 0;
	padding: 0;
	list-style: none;
	font-weight: 600;
	text-align: left;
	float: none;
}

#memberSidebarMenu .member-sidebar-menu__cell {
	overflow: hidden;
	width: 100%;
	background: #fff;
}

#memberSidebarMenu .member-sidebar-menu__link {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	width: 100%;
	box-sizing: border-box;
	min-height: 50px;
	padding: 0 12px 0 20px;
	margin: 0;
	border: 0;
	background: #fff;
	color: #000;
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	line-height: 1.3;
	word-break: break-word;
}

#memberSidebarMenu .member-sidebar-menu__link:hover,
#memberSidebarMenu .member-sidebar-menu__link.activeLink {
	color: #fff;
	font-weight: 700;
	background: linear-gradient(180deg, #9012f4 0%, #280151 100%);
}

#memberSidebarMenu>.member-sidebar-menu__list>.member-sidebar-menu__item:first-child .member-sidebar-menu__link {
	border-top-left-radius: 15px;
	border-top-right-radius: 15px;
}

#memberSidebarMenu>.member-sidebar-menu__list>.member-sidebar-menu__item:last-child .member-sidebar-menu__link {
	border-bottom: 0;
	border-bottom-left-radius: 15px;
	border-bottom-right-radius: 15px;
}

#memberSidebarMenu .member-sidebar-menu__sub {
	margin: 0 !important;
	padding: 0;
	width: 100%;
	list-style: none;
	background: #fff;
}

#memberSidebarMenu .member-sidebar-menu__sub>.member-sidebar-menu__subitem {
	padding: 0 !important;
}

#memberSidebarMenu .member-sidebar-menu__sublink {
	display: flex;
	align-items: center;
	width: 100%;
	box-sizing: border-box;
	min-height: 40px;
	padding: 6px 8px 6px 16px;
	margin: 0;
	border: 0;
	background: #fff;
	color: #000;
	font-size: 15px;
	text-align: left;
	text-decoration: none;
	cursor: pointer;
}

#memberSidebarMenu .member-sidebar-menu__sublink:hover,
#memberSidebarMenu .member-sidebar-menu__sublink.activeLink {
	color: #fff !important;
	background: linear-gradient(180deg, #9012f4 0%, #280151 100%);
}

#memberSidebarMenu .member-sidebar-menu__sub .member-sidebar-menu__subitem:last-child .member-sidebar-menu__sublink {
	border-bottom: 0;
}


/* -------------------------------------------------------------------------- */
/* [COPY] from custom.css — header wallet strip                               */
/* -------------------------------------------------------------------------- */
.headerDiv {
	position: relative;
	border-radius: 15px;
	margin-bottom: 20px;
	background: linear-gradient(135deg,
			#3a5aff 0%,
			#7038ff 35%,
			#9d31ff 65%,
			#c427fb 100%);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 120px;
	font-family: 'Rubik', sans-serif;
	font-weight: 700;
	font-size: 35px;
	line-height: 1.15;
	letter-spacing: 0.01em;
	color: white;
}

.headerDiv .main-font,
.headerDiv button,
.headerDiv .btn {
	font-family: 'Rubik', sans-serif !important;
}

/* [COPY] content frame */
.content-body {
	border: 2px solid #9F2EEA;
	border-radius: 10px;
	padding: 10px;
	background-color: white;
}

/* [COPY] border utility used on .content-body in these views */
.border-light-purple-2 {
	border: 2px solid #AD07DA !important;
}

/* [COPY] deposit bank icons */
.bankImg img {
	width: 50px;
	margin-right: 5px;
	cursor: pointer;
}

.bankImg img:hover,
.bankImg img.active {
	transform: scale(1.2);
	border: 2px solid #AD07DA;
	border-radius: 10px;
}

/* [COPY] payment type pills — deposit; generic .btn-bank stays in custom for legacy */
.btn-bank {
	width: 145px;
	color: #001c3c;
	background-color: rgba(0, 0, 0, 0.1);
	border-radius: 5px;
	text-transform: uppercase;
	font-size: 13px;
	height: 45px;
	font-weight: 700;
	border: 0;
	margin-bottom: 10px;
	border-radius: 25px;
}

.btn-bank:hover,
.btn-bank.active {
	border: 0;
	border-radius: 25px;
	background: var(--btn-linear-gradient-purple);
	color: white !important;
}

.btn-bank:hover,
.btn-bank.active>span {
	color: white !important;
}

/* [COPY] transfer grid */
.transfer-game {
	font-size: 12px;
	height: 1rem;
	white-space: nowrap;
}

.gameBox {
	border: 1px solid #F0F0F0;
	color: #363636;
	border-radius: 5px;
	padding: 10px;
	height: 100%;
	background: #F6FCFF;
}

.gameBox input[disabled] {
	text-align: center;
	border-color: #083A81;
	background: transparent;
	color: #AD07DA;
}

/* [COPY] history toolbar */
.sectionBar {
	padding: 10px;
}

/* [COPY] profile + withdrawal tables */
.atmDepTable table.table {
	background-color: transparent;
}

.atmDepTable th {
	text-align: left;
}

.atmDepTable td {
	text-align: left;
	padding: 8px;
	background: rgba(255, 255, 255, 0.1);
}

.profile-bank {
	color: white;
}

.table.border-radius-all {
	border-radius: 12px;
	overflow: hidden;
}

/* [COPY] history content padding */
.hist-content {
	padding: 20px 30px;
}

/* [COPY] deposit v2 amount chips */
.btn-amount {
	flex: 1 0 22%;
	width: auto;
	min-width: 75px;
	max-width: 120px;
	color: #BFBFBF;
	background-color: white;
	border-radius: 25px;
	text-transform: uppercase;
	font-size: 15px;
	height: 40px;
	font-weight: 600;
	border: 1px solid #BFBFBF;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	cursor: pointer;
	transition: all 0.2s ease;
}

.btn-amount:hover,
.btn-amount.active {
	color: #ffffff;
	background: linear-gradient(358.91deg, #FE0B8B -23.89%, #ED06C3 15.97%, #AD07DA 51.53%, #9F2EEA 98.75%);
}

.deposit-amount {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

/* [COPY] CTA buttons used inside member v2 */
.home-btn-custom3 {
	background: linear-gradient(180deg, #C600ED 0%, #6700EE 100%);
	color: white;
	font-weight: 800;
	border-radius: 50px;
	padding: 8px 12px;
	text-align: center;
}

.home-btn-custom3:hover {
	color: white;
}

.home-btn-custom3 .btn-custom-link {
	color: white;
	text-decoration: none;
	width: 100%;
	height: 100%;
	padding: 0.1rem;
}

.home-btn-custom8 {
	background: #F2C3FF;
	color: black;
	font-weight: 800;
	border-radius: 50px;
}

.home-btn-custom9 {
	background: linear-gradient(180deg, #C600ED 0%, #6700EE 100%);
	color: white;
	font-weight: 600;
	border-radius: 5px;
	border: 0;
	padding: 8px 20px;
	text-align: center;
}

.home-btn-custom9:hover {
	color: white !important;
}

.dep-btn-custom1 {
	background: linear-gradient(179.94deg, #3CC8FE 43.83%, #6478EB 99.94%);
	color: white;
	font-weight: 700;
	border-radius: 5px;
	border: 0;
	text-align: center;
	width: 25%;
	position: absolute;
	right: 10px;
	bottom: 10px;
	text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3);
}

.dep-btn-custom1:hover {
	color: white !important;
}

/* [COPY] legacy deposit bank card */
.bankDetail {
	border: 1px solid #ED06C3;
	background-color: #F8F8F8;
	border-radius: 15px;
}

/* [COPY] optional deposit bank detail card system (deposit-bank-details-wrap) */
.deposit-bank-details-wrap .deposit-bank-detail-card {
	border: 1px solid rgba(237, 6, 195, 0.42);
	background: linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, #f4f0f8 55%, #f8f8f8 100%);
	box-shadow: 0 6px 22px rgba(0, 0, 0, 0.1);
	overflow: hidden;
	padding: 0;
}

.deposit-bank-detail-inner {
	padding: 0.35rem 1rem;
}

.deposit-bank-detail-row {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.4rem;
}

.deposit-bank-detail-row--last,
.deposit-bank-detail-row:last-child {
	border-bottom: 0;
}

.deposit-bank-detail-label {
	font-size: 11px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #5a5a5a;
	line-height: 1.35;
}

.deposit-bank-detail-body {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.6rem 0.75rem;
	min-width: 0;
}

.deposit-bank-detail-body--single {
	justify-content: flex-start;
}

.deposit-bank-detail-value {
	flex: 1 1 auto;
	min-width: 0;
	font-weight: 600;
	color: #141414;
	font-size: 14px;
	line-height: 1.45;
}

#bankAccNumber.deposit-bank-detail-value {
	font-variant-numeric: tabular-nums;
	font-family: ui-monospace, 'Cascadia Mono', 'Segoe UI Mono', monospace;
}

.deposit-bank-copy-btn {
	font-size: 12px;
	color: #7a0f96;
	cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {

	.deposit-bank-copy-btn,
	.deposit-bank-copy-btn:active {
		transition: none;
		transform: none;
	}
}

.deposit-bank-copy-btn:focus-visible {
	outline: 2px solid #c00ae2;
	outline-offset: 2px;
}

.deposit-bank-min-amount {
	font-size: 15px;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	color: #92278f;
	letter-spacing: 0.02em;
}

@media (min-width: 768px) {
	.deposit-bank-detail-row {
		flex-direction: row;
		align-items: center;
		gap: 1rem 1.25rem;
	}

	.deposit-bank-detail-label {
		flex: 0 0 34%;
		max-width: 34%;
		align-self: center;
	}

	.deposit-bank-detail-body {
		flex: 1 1 0;
		min-width: 0;
	}
}

/* [COPY] bank row images (deposit) */
.bank-btn img.dimg {
	border: 2px solid transparent;
	border-radius: 8px;
	padding: 1px;
	transition: all 0.2s;
	cursor: pointer;
	background: #fff;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.bank-btn img.dimg.active,
.bank-btn img.dimg:hover {
	border-color: #fbd115;
	background: #fffaf0;
	transform: scale(1.05);
}

/* -------------------------------------------------------------------------- */
/* [COPY] member-flow-page typography/layout (deposit / withdrawal / history) */
/* -------------------------------------------------------------------------- */
.member-flow-page--deposit .content-body,
.member-flow-page--withdrawal .content-body,
.member-flow-page--history .content-body,
.member-flow-page--rebate .content-body {
	padding: clamp(12px, 2.5vw, 22px);
}

.member-flow-page--deposit .content-body>.container,
.member-flow-page--withdrawal .content-body>.container,
.member-flow-page--history .content-body>.container,
.member-flow-page--rebate .content-body>.container {
	font-size: var(--main-font-body-size, 14px);
	line-height: 1.55;
	color: #111;
}

.member-flow-page--deposit .content-body .form-control,
.member-flow-page--withdrawal .content-body .form-control,
.member-flow-page--deposit .content-body select.form-control,
.member-flow-page--withdrawal .content-body select.form-control,
.member-flow-page--history .content-body .form-control,
.member-flow-page--rebate .content-body .form-control {
	min-height: 44px;
	font-size: var(--main-font-body-size, 14px);
	line-height: 1.4;
}

.member-flow-page--history .member-history-page__ajax {
	min-height: 8rem;
}

.member-flow-page--history .histTable table.table {
	width: 100%;
}

.member-flow-page--history .histTable td {
	text-align: center;
	padding: 0.5rem 0.35rem;
	color: #111;
	font-size: var(--main-font-body-size, 14px);
	border-bottom-width: 0px !important;
	vertical-align: middle;
}

.member-flow-page--history .histBtn.active {
	box-shadow: 0 0 0 2px rgba(192, 10, 226, 0.45);
}

.member-flow-page--history .home-btn-custom9.active {
	box-shadow: 0 0 0 2px rgba(192, 10, 226, 0.35);
}

.member-flow-page--history .member-bet-history-page__ajax {
	min-height: 8rem;
	color: #111;
}

.member-flow-page--history .member-bet-history-page__filters .form-label {
	margin-bottom: 0.35rem;
}

.member-flow-page--history .member-bet-history-page__filters select.form-control {
	cursor: pointer;
}

@media (max-width: 767.98px) {
	.member-flow-page--withdrawal .member-withdrawal-step1 {
		border-right: 0;
		padding-right: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.15);
		padding-bottom: 1rem;
	}
}

.member-flow-page--withdrawal .withdrawal-form>div:not(.text-center) {
	margin-bottom: 1rem;
}

.member-flow-page--withdrawal .withdrawal-form>div.text-center {
	margin-top: 0.25rem;
}

.member-flow-page--withdrawal .table-responsive {
	margin-top: 0.5rem;
	margin-bottom: 0.75rem;
}

.member-flow-page--withdrawal .table td,
.member-flow-page--withdrawal .table th {
	font-size: var(--main-font-body-size, 14px);
	vertical-align: middle;
	padding-top: 0.65rem;
	padding-bottom: 0.65rem;
}

/* [COPY] transfer form (member_transfer_view2) */
.member-transfer-form .member-transfer-form__field-label {
	font-size: 0.8125rem;
	letter-spacing: 0.06em;
}

.member-transfer-form .member-transfer-form__input {
	border-radius: 8px;
	min-height: 44px;
}

.member-transfer-form .member-transfer-form__max-btn {
	border: 0;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.member-transfer-form .select2-container {
	width: 100% !important;
}

/* -------------------------------------------------------------------------- */
/* [COPY] member_package_view — packages + wallet + gateway + modals          */
/* -------------------------------------------------------------------------- */
.page-title-banner {
	background: linear-gradient(90deg, #E6D4F9, #F4EBFF 50%, #E6D4F9);
	border-radius: 12px;
	padding: 20px;
	margin-bottom: 20px;
	text-align: center;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.page-title-banner .title-text {
	color: #92278f;
	font-size: 2rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 2px;
	margin: 0;
}

.packages-container {
	border: 2px solid #b32ee4;
	border-radius: 12px;
	padding: 25px 25px 5px 25px;
	background: #fff;
	margin-bottom: 20px;
}

.package-card {
	background: #fff;
	border-radius: 12px;
	color: #333;
	padding: 20px 15px;
	border: 1px solid #e1c4f5;
	transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.package-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 20px rgba(179, 46, 228, 0.15);
	border: 1px solid #b32ee4;
}

.package-card.active {
	border-color: #92278f;
	background: #fcf8ff;
	box-shadow: 0 0 15px rgba(146, 39, 143, 0.3);
}

.pkg-value-row i {
	font-size: 0.95rem;
	margin-right: 6px;
}

.pkg-title {
	color: #92278f;
	font-size: 1.25rem;
	font-weight: bold;
	margin-bottom: 10px;
}

.pkg-price {
	color: #92278f;
	font-size: 1.8rem;
	margin-bottom: 15px;
	font-weight: bold;
}

.pkg-detail {
	color: #666;
	margin-bottom: 12px;
	font-size: 1.15rem;
}

.buy-now-btn {
	background-color: #92278f;
	color: #fff;
	font-weight: bold;
	border: none;
	border-radius: 8px;
	padding: 10px;
	width: 100%;
	margin-top: auto;
	transition: background-color 0.2s;
}

.buy-now-btn:hover {
	background-color: #b32ee4;
}

.payment-method-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.payment-method-tabs .btn-bank {
	background: #f1f1f1;
	height: auto;
	border: 2px solid transparent;
	border-radius: 8px;
	color: #333;
	font-weight: 600;
	transition: all 0.2s;
	outline: none !important;
	box-shadow: none !important;
}

.payment-method-tabs .btn-bank.active,
.payment-method-tabs .btn-bank:hover {
	background: #fff;
	border-color: #b32ee4;
	color: #b32ee4 !important;
	box-shadow: 0 4px 10px rgba(179, 46, 228, 0.1) !important;
}

.order-summary-card {
	background: #fcf8ff;
	border: 1px solid #e1c4f5;
	border-radius: 12px;
	padding: 20px;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.summary-item {
	display: flex;
	justify-content: space-between;
	margin-bottom: 15px;
	font-size: 1.35rem;
}

.summary-item.total {
	border-top: 2px dashed #e1c4f5;
	padding-top: 15px;
	font-weight: bold;
	font-size: 1.5rem;
	color: #92278f;
	margin-top: auto;
}

.summary-item.total span:last-child {
	font-size: 1.8rem;
}

.disabled-btn {
	opacity: 0.5 !important;
	cursor: not-allowed !important;
	background: #ccc !important;
	color: #666 !important;
}

.custom-bank-detail {
	background: #fcf8ff;
	border: 1px solid #e1c4f5;
	border-radius: 8px;
	padding: 5px 15px;
}

.bank-detail-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 0;
}

.bank-detail-row:not(:last-child) {
	border-bottom: 1px dashed #e1c4f5;
}

.bank-detail-label {
	color: #666;
	font-weight: 600;
	flex: 0 0 35%;
}

.bank-detail-value {
	font-weight: bold;
	color: #92278f;
	font-size: 1.4rem;
	flex: 1;
	word-break: break-all;
	padding-right: 10px;
}

.bank-copy-btn {
	background: #fff;
	border: 1px solid #b32ee4;
	color: #b32ee4;
	border-radius: 6px;
	padding: 4px 12px;
	font-size: 0.85rem;
	font-weight: 600;
	transition: all 0.2s;
}

.bank-copy-btn:hover {
	background: #b32ee4;
	color: #fff;
}

.purchased-packages-section {
	max-width: 900px;
	margin: 0 auto;
}

.wallet-balance-card {
	background: #fff;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(108, 52, 131, 0.1);
	border: 1px solid rgba(108, 52, 131, 0.05);
	transition: transform 0.3s ease;
}

.wallet-balance-top {
	display: flex;
	align-items: center;
	padding: 25px 30px;
	background: linear-gradient(135deg, #ffffff 0%, #f9f4ff 100%);
}

.wallet-icon-box {
	background: #f3e5f5;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 20px;
}

.wallet-icon-box i {
	font-size: 28px;
	color: #8e24aa;
}

.wallet-icon-box-img {
	width: 32px;
	height: 32px;
	object-fit: contain;
	display: block;
}

.wallet-balance-label {
	font-size: 14px;
	color: #666;
	margin-bottom: 5px;
}

.wallet-balance-amount {
	font-size: 32px;
	font-weight: 700;
	color: #2c3e50;
	letter-spacing: -1px;
}

.wallet-info-bar {
	display: flex;
	justify-content: space-around;
	align-items: center;
	padding: 15px 20px;
	background: #fff;
	border-top: 1px solid #eee;
}

.wallet-info-item {
	display: flex;
	align-items: center;
	font-size: 13px;
	color: #555;
	padding: 5px 10px;
}

.wallet-info-item i {
	margin-right: 8px;
	color: #8e24aa;
	font-size: 16px;
}

.wallet-active-dot {
	font-weight: 600;
	color: #2ecc71;
}

.active-dot {
	width: 8px;
	height: 8px;
	background-color: #2ecc71;
	border-radius: 50%;
	margin-right: 8px;
	display: inline-block;
	box-shadow: 0 0 8px rgba(46, 204, 113, 0.5);
	animation: member-v2-pulse 2s infinite;
}

@keyframes member-v2-pulse {
	0% {
		transform: scale(0.95);
		opacity: 0.7;
	}

	50% {
		transform: scale(1.1);
		opacity: 1;
	}

	100% {
		transform: scale(0.95);
		opacity: 0.7;
	}
}

@media (max-width: 768px) {
	.wallet-info-bar {
		flex-wrap: wrap;
		justify-content: flex-start;
	}

	.wallet-info-item {
		width: 50%;
		margin-bottom: 10px;
	}

	.wallet-balance-amount {
		font-size: 24px;
	}
}

.wallet-transfer-btn {
	background: linear-gradient(135deg, #92278f, #b32ee4);
	color: #fff;
	border: none;
	border-radius: 10px;
	padding: 10px 22px;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.5px;
	display: flex;
	align-items: center;
	gap: 8px;
	transition: all 0.25s ease;
	white-space: nowrap;
}

.wallet-transfer-btn:hover {
	background: linear-gradient(135deg, #b32ee4, #d44efc);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(146, 39, 143, 0.45);
	color: #fff;
}

.wallet-transfer-btn:active {
	transform: translateY(0);
}

.wallet-transfer-btn i {
	font-size: 16px;
}

.transfer-modal-content {
	border: none;
	border-radius: 20px;
	background: #ffffff;
	box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.transfer-modal-header {
	background: linear-gradient(135deg, #92278f, #b32ee4);
	color: #fff;
	border-radius: 20px 20px 0 0;
	padding: 20px 25px;
	border-bottom: none;
}

.transfer-modal-header .modal-title {
	font-weight: 700;
	font-size: 1.25rem;
	display: flex;
	align-items: center;
	gap: 10px;
	letter-spacing: 0.5px;
}

.transfer-modal-header .btn-close {
	opacity: 0.9;
}

.transfer-modal-header .btn-close:hover {
	opacity: 1;
}

.transfer-wallet-box {
	background: #fcf8ff;
	border: 1px solid #eadef7;
	border-radius: 12px;
	padding: 15px;
	position: relative;
	transition: all 0.3s;
}

.transfer-wallet-box:hover {
	background: #fff;
	border-color: #d4a5e3;
	box-shadow: 0 5px 15px rgba(179, 46, 228, 0.05);
}

.transfer-wallet-label {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-weight: 600;
	color: #555;
	font-size: 13px;
	margin-bottom: 8px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.wallet-balance-badge {
	background: rgba(46, 204, 113, 0.1);
	color: #2ecc71;
	padding: 4px 10px;
	border-radius: 20px;
	font-weight: 800;
	font-size: 12px;
	display: flex;
	align-items: center;
	gap: 4px;
}

.transfer-select-premium {
	background: transparent;
	border: none;
	border-bottom: 2px solid #e1c4f5;
	border-radius: 0;
	color: #92278f;
	font-weight: 700;
	font-size: 16px;
	padding: 5px 0;
	height: auto;
	box-shadow: none;
	transition: all 0.3s;
}

.transfer-select-premium:focus {
	box-shadow: none;
	border-bottom-color: #b32ee4;
}

.transfer-exchange-icon {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: -10px 0;
	position: relative;
	z-index: 2;
}

.transfer-exchange-icon i {
	background: #fff;
	border: 2px solid #eadef7;
	border-radius: 50%;
	width: 36px;
	height: 36px;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #b32ee4;
	font-size: 16px;
	box-shadow: 0 4px 10px rgba(179, 46, 228, 0.1);
}

.transfer-input-group {
	position: relative;
	display: flex;
	align-items: center;
	background: #f9f9f9;
	border: 2px solid #eee;
	border-radius: 12px;
	overflow: hidden;
	transition: border-color 0.3s;
}

.transfer-input-group:focus-within {
	border-color: #b32ee4;
	box-shadow: 0 0 0 3px rgba(146, 39, 143, 0.1);
}

.transfer-currency-prefix {
	padding-left: 15px;
	font-weight: 700;
	color: #666;
	font-size: 18px;
}

.transfer-amount-input {
	border: none;
	background: transparent;
	height: 60px;
	font-size: 24px;
	font-weight: 800;
	color: #333;
	padding-left: 10px;
	box-shadow: none !important;
}

.transfer-max-badge {
	background: #f3e5f5;
	color: #92278f;
	border: none;
	border-radius: 8px;
	font-weight: 800;
	font-size: 12px;
	padding: 6px 12px;
	margin-right: 10px;
	cursor: pointer;
	transition: all 0.2s;
}

.transfer-max-badge:hover {
	background: #92278f;
	color: #fff;
}

.transfer-modal-footer {
	border-top: none;
	padding: 0 25px 25px 25px;
}

.transfer-submit-btn {
	background: linear-gradient(135deg, #92278f, #b32ee4);
	color: #fff;
	border: none;
	border-radius: 12px;
	padding: 14px;
	font-weight: 800;
	font-size: 16px;
	text-transform: uppercase;
	letter-spacing: 1px;
	transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
	box-shadow: 0 6px 15px rgba(146, 39, 143, 0.3);
}

.transfer-submit-btn:hover {
	background: linear-gradient(135deg, #b32ee4, #d44efc);
	box-shadow: 0 10px 20px rgba(146, 39, 143, 0.4);
	color: #fff;
	transform: translateY(-2px);
}

.wallet-btn-group {
	margin-left: auto;
	display: flex;
	gap: 8px;
	align-items: center;
}

.wallet-detail-btn {
	background: linear-gradient(135deg, #2c3e50, #34495e);
	color: #fff;
	border: none;
	border-radius: 10px;
	padding: 10px 22px;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.5px;
	display: flex;
	align-items: center;
	gap: 8px;
	transition: all 0.25s ease;
	white-space: nowrap;
}

.wallet-detail-btn:hover {
	background: linear-gradient(135deg, #34495e, #4a6b8a);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(44, 62, 80, 0.45);
	color: #fff;
}

.wallet-detail-btn:active {
	transform: translateY(0);
}

.wallet-detail-btn i {
	font-size: 16px;
}

.referral-summary-bar {
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
}

.referral-summary-item {
	flex: 1;
	min-width: 140px;
	background: #fcf8ff;
	border: 1px solid #eadef7;
	border-radius: 12px;
	padding: 15px;
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.referral-summary-label {
	font-size: 12px;
	color: #888;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	font-weight: 600;
}

.referral-summary-value {
	font-size: 22px;
	font-weight: 800;
	color: #2c3e50;
}

.referral-detail-table {
	margin-bottom: 0;
}

.referral-detail-table thead th {
	background: #f9f4ff;
	color: #92278f;
	font-weight: 700;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	border-bottom: 2px solid #e1c4f5;
	padding: 12px 10px;
	white-space: nowrap;
}

.referral-detail-table tbody td {
	padding: 12px 10px;
	font-size: 13px;
	vertical-align: middle;
	border-bottom: 1px solid #f0f0f0;
	color: #444;
}

.referral-detail-table tbody tr:hover {
	background: #fdf8ff;
}

.ref-status-badge {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 20px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}

.ref-status-pending {
	background: rgba(243, 156, 18, 0.12);
	color: #f39c12;
}

.ref-status-active {
	background: rgba(46, 204, 113, 0.12);
	color: #27ae60;
}

.ref-status-expired {
	background: rgba(149, 165, 166, 0.15);
	color: #7f8c8d;
}

/* -------------------------------------------------------------------------- */
/* [COPY] responsive blocks from custom.css                                    */
/* -------------------------------------------------------------------------- */
@media (max-width: 991px) {
	.member_deposit_header {
		margin-top: 0rem;
	}
}

@media (max-width: 767px) {
	.transfer-game {
		font-size: 11px;
		white-space: nowrap;
	}

	.headerDiv {
		min-height: auto;
	}

	.dep-btn-custom1 {
		position: static !important;
		width: 80%;
		align-self: center;
	}

	.date-range-box {
		flex-direction: column !important;
		align-items: flex-start;
	}

	.date-range-box .px-1 {
		width: 100%;
		margin-bottom: 8px;
	}

	.date-range-box .to-label {
		display: block;
		line-height: normal;
	}

	.page-title-banner {
		padding: 15px;
		margin-bottom: 15px;
	}

	.page-title-banner .title-text {
		font-size: 1.5rem;
	}

	.packages-container {
		padding: 15px 15px 0 15px;
		margin-bottom: 15px;
		border-width: 1px;
	}

	.package-card {
		padding: 15px;
	}

	.pkg-price {
		font-size: 1.5rem;
	}

	.summary-item {
		font-size: 1.2rem;
		flex-direction: column;
		align-items: flex-start;
		gap: 5px;
	}

	.summary-item span {
		text-align: left !important;
	}

	.summary-item.total {
		font-size: 1.3rem;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 0;
	}

	.summary-item.total span {
		text-align: right !important;
	}

	.summary-item.total span:last-child {
		font-size: 1.5rem;
	}
}

@media (max-width: 480px) {
	.hist-content {
		padding: 10px 20px 10rem 10px !important;
	}
}

@media (max-width: 768px) {
	.wallet-transfer-btn {
		padding: 8px 14px;
		font-size: 12px;
	}

	.wallet-detail-btn {
		padding: 8px 14px;
		font-size: 12px;
	}

	.wallet-balance-top {
		flex-wrap: wrap;
		gap: 10px;
	}

	.wallet-btn-group {
		margin-left: 0;
		width: 100%;
	}

	.wallet-btn-group .wallet-transfer-btn,
	.wallet-btn-group .wallet-detail-btn {
		flex: 1;
		justify-content: center;
	}
}

/* -------------------------------------------------------------------------- */
/* member_rebate_view2 — reward / weekly rebate tabs + modals                  */
/* -------------------------------------------------------------------------- */
.member-flow-page--rebate .member-rebate-page__tabs .rebateTabBtn {
	min-height: 44px;
	padding: 0.5rem 1rem;
}

.member-flow-page--rebate .member-rebate-page__tabs .rebateTabBtn.active {
	box-shadow: 0 0 0 2px rgba(192, 10, 226, 0.35);
}

.member-flow-page--rebate .member-rebate-panel {
	padding-top: 0.5rem;
}

.member-flow-page--rebate .member-rebate-panel .home-btn-custom3 {
	min-height: 44px;
}

.member-flow-page--rebate .member-rebate-panel .form-label {
	margin-bottom: 0.35rem;
}

.member-flow-page--rebate .member-rebate-breakdown {
	display: inline-block;
	min-height: 44px;
	line-height: 1.45;
	padding: 0.35rem 0;
}

.member-flow-page--rebate .member-rebate-loading:not(.hd) {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.75rem 0;
	color: #111;
	font-size: var(--main-font-body-size, 14px);
}

.member-flow-page--rebate .member-rebate-loading img {
	width: 2rem;
	height: auto;
	flex-shrink: 0;
}

.member-flow-page--rebate .histTable table.table {
	width: 100%;
	background-color: transparent;
}

.member-flow-page--rebate .histTable thead th {
	text-align: center;
	vertical-align: middle;
	color: #111;
	background: linear-gradient(180deg, #f4ebff 0%, #e6d4f9 100%);
	border-color: rgba(173, 7, 218, 0.25) !important;
	font-size: var(--main-font-body-size, 13px);
}

.member-flow-page--rebate .histTable tbody td {
	text-align: center;
	padding: 0.5rem 0.35rem;
	color: #111;
	background: #f8f5fc;
	border-color: rgba(173, 7, 218, 0.15) !important;
	vertical-align: middle;
	font-size: var(--main-font-body-size, 14px);
}

.member-rebate-modal .modal-body {
	background: #fff;
}

.member-rebate-modal .histTable thead th,
.member-rebate-modal .histTable tbody td {
	color: #111;
}

.member-rebate-modal .modal-footer {
	border-top: 0;
}

@media (prefers-reduced-motion: reduce) {
	.member-flow-page--rebate .member-rebate-loading img {
		animation: none;
	}
}

/* member_referral_detail_view — referral link form */
.member-referral-form {
	background: #fff;
	border-width: 1px;
	border-style: solid;
	padding: clamp(16px, 3vw, 24px);
	box-shadow: 0 8px 28px rgba(108, 52, 131, 0.1);
}

.member-referral-form__header {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 14px;
}

.member-referral-form__icon {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	background: linear-gradient(135deg, #f4ebff 0%, #e6d4f9 100%);
	color: #92278f;
	font-size: 18px;
}

.member-referral-form__label {
	color: #2c3e50;
	font-weight: 700;
	font-size: var(--main-font-tittle-size, 16px);
}

.member-referral-form__copy .form-control {
	min-height: 44px;
	font-size: var(--main-font-body-size, 14px);
	border-radius: 8px 0 0 8px;
	word-break: break-all;
}

.member-referral-form__copy-btn {
	min-height: 44px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 0 16px;
	border-radius: 0 8px 8px 0 !important;
	white-space: nowrap;
}

.member-referral-form__help {
	color: #666;
	font-size: var(--main-font-body-size, 13px);
	margin-top: 10px;
	line-height: 1.5;
}

.member-referral-form__status {
	min-height: 1.25rem;
	margin-top: 8px;
	font-size: var(--main-font-body-size, 13px);
	font-weight: 600;
	color: #27ae60;
}

.member-referral-form__status.is-error {
	color: #c0392b;
}

@media (max-width: 575.98px) {

	.member-flow-page--rebate .content-body {
		min-height: 50vh;
	}

	.member-referral-form__copy .form-control {
		border-radius: 8px;
	}

	.member-referral-form__copy-btn {
		width: 100%;
		border-radius: 8px !important;
		margin-top: 8px;
	}
}

/* -------------------------------------------------------------------------- */
/* member_register_view — register page                                  */
/* member_validation_otp_view — validation OTP page                       */
/* -------------------------------------------------------------------------- */

.reg-wrapper {
	max-width: 480px;
	margin: 0 auto;
	padding: 20px 16px 0;
}

.reg-progress {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	margin-bottom: 24px;
}

.reg-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	flex: 1;
	position: relative;
}

.reg-step-circle {
	padding: 0.1rem 2rem;
	font-size: 45px;
	font-weight: 800;
	color: #fff;
	background: #BABABA;
	border-radius: 4px;
	display: inline-block;
	text-align: center;
	line-height: 1.2;
	position: relative;
	z-index: 2;
}

.reg-step.active .reg-step-circle {
	background: #B607D7;
}

.reg-step-label {
	margin-top: 6px;
	font-size: 12px;
	font-weight: 600;
	color: #999;
}

.reg-step.active .reg-step-label {
	color: #7B00EE;
}

.reg-step-bar {
	position: absolute;
	top: 20px;
	left: 50%;
	width: 100%;
	height: 4px;
	background: #BABABA;
	z-index: 1;
}

.reg-step:last-child .reg-step-bar {
	display: none;
}

.reg-title {
	font-size: 22px;
	font-weight: 700;
	color: white;
	margin-bottom: 18px;
}

.reg-field {
	margin-bottom: 14px;
}

.reg-field input,
.reg-field select {
	width: 100%;
	height: 48px;
	border: 1.5px solid #9F24F0;
	border-radius: 12px;
	padding: 0 14px;
	font-size: 14px;
	font-weight: 500;
	color: #333;
	background: #fff;
	outline: none;
	transition: border-color 0.2s, box-shadow 0.2s;
	box-sizing: border-box;
	-webkit-appearance: none;
}

.reg-field input:focus,
.reg-field select:focus {
	border-color: #7B00EE;
	box-shadow: 0 0 0 3px rgba(123, 0, 238, 0.12);
}

.reg-field input::placeholder {
	color: #aaa;
	font-weight: 400;
}

.reg-field .errText {
	font-size: 12px;
	margin-top: 4px;
}

.reg-field .succText {
	font-size: 12px;
	margin-top: 4px;
	color: green;
	font-style: italic;
}

.reg-field,
.reg-hint {
	font-size: 11px;
	color: white;
	margin-top: 4px;
}

.reg-field {
	font-size: 14px;
}

.reg-submit-wrap {
	margin-top: 20px;
	text-align: center;
}

.reg-submit-btn {
	display: block;
	width: 100%;
	height: 40px;
	border: none;
	border-radius: 5px;
	background: linear-gradient(180deg, #C600ED 0%, #6700EE 100%);
	box-shadow: 0px 4px 0px #4a00aa;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: box-shadow 0.25s;
}

.reg-submit-btn:hover,
.reg-submit-btn:active {
	box-shadow: 0 4px 16px rgba(151, 0, 230, 0.45);
	color: #fff;
}

.reg-error-banner {
	text-align: center;
	margin-bottom: 12px;
}