
/* Deposit page -------------------------------------------------------------
   Consolidated custom styles. All selectors are scoped to deposit content;
   the legacy stylesheet above this line remains unchanged. */

#content,
#mob-content {
	--depo-gold: #f2b928;
	--depo-gold-light: #ffd35a;
	--depo-ink: #090d12;
	--depo-line: #3a3e43;
	--depo-muted: #a9a9ad;
}

#content {
	background-color: var(--depo-ink);
	background-size: auto, 20px 20px;
}

#content #tab-container2 {
	max-width: 882px;
	margin: 0 auto;
}

#content > .container > h2 {
	margin: 28px 0 18px;
	color: #fff4c5;
	font-size: 30px;
	letter-spacing: .08em;
	text-align: center;
	-webkit-text-fill-color: #fff4c5;
	text-shadow: 0 2px 18px rgba(255, 195, 57, .25);
}

#content #tab1 {
	display: flex;
	float: none;
	gap: 6px;
	margin: 0;
	padding: 0 8px;
	border: 0;
}

#content #tab1 > li {
	float: none;
	margin: 0;
	border: 0;
	flex: 1 1 0;
}

#content #tab1 > li > a {
	min-height: 44px;
	padding: 13px 10px;
	border: 1px solid rgba(255, 214, 89, .22);
	border-radius: 10px 10px 0 0;
	background: rgba(32, 11, 13, .72);
	color: #d8cfc4;
	font-size: 14px;
	line-height: 17px;
	text-align: center;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

#content #tab1 > li > a:hover,
#content #tab1 > li.active > a,
#content #tab1 > li.active > a:hover,
#content #tab1 > li.active > a:focus {
	margin: 0;
	border: 1px solid var(--depo-gold);
	border-bottom-color: #3a1619;
	background: linear-gradient(135deg, #8d1b23, #551115);
	box-shadow: 0 -5px 18px rgba(235, 164, 44, .12);
	color: #fff7d7;
}

#content .tab-content > .tab-pane,
#mob-content .tab-content > .tab-pane {
	border: 1px solid var(--depo-line);
	border-radius: 14px;
	background:
		radial-gradient(circle at 18% 0, rgba(255, 255, 255, .045), transparent 24rem),
		linear-gradient(145deg, #10151c, #080c11 72%);
	box-shadow: 0 20px 48px rgba(0, 0, 0, .44), inset 0 1px rgba(255, 255, 255, .045);
}

#content .tab-content > .tab-pane {
	min-height: 486px;
	padding: 27px 34px;
}

#content .tab-pane > h4,
#mob-content .tab-pane > h4 {
	margin: 0 0 22px;
	padding-bottom: 13px;
	border-bottom: 1px solid rgba(255, 255, 255, .1);
	color: #f4f4f5;
	font-size: 20px;
	letter-spacing: .035em;
}

#content .tab-pane > h4:before,
#mob-content .tab-pane > h4:before {
	display: inline-block;
	width: 29px;
	height: 29px;
	margin: -4px 9px 0 0;
	border-radius: 8px;
	background: linear-gradient(145deg, var(--depo-gold-light), #d78a0b);
	box-shadow: 0 4px 14px rgba(242, 185, 40, .26);
	color: #11151a;
	content: '\f155';
	font-family: FontAwesome;
	font-size: 15px;
	line-height: 29px;
	text-align: center;
	vertical-align: middle;
}

#confirm-form,
#confirm-form-2 {
	max-width: 711px;
	margin: 0 auto;
}

#confirm-form .fade_info,
#confirm-form-2 .fade_info {
	margin-bottom: 14px;
	border: 1px solid var(--depo-line);
	border-radius: 9px;
	background: linear-gradient(145deg, rgba(26, 31, 38, .96), rgba(14, 18, 24, .96));
	box-shadow: inset 0 1px rgba(255, 255, 255, .04);
	color: var(--depo-muted);
	font-family: Arial, sans-serif;
	font-size: 11px;
	letter-spacing: .015em;
	line-height: 1.5;
	text-transform: none;
}

#confirm-form .fade_info:first-of-type,
#confirm-form-2 .fade_info:first-of-type {
	padding: 12px 14px;
}

#confirm-form .fade_info:first-of-type .row,
#confirm-form-2 .fade_info:first-of-type .form-group {
	display: flex;
	align-items: center;
	min-height: 27px;
	margin: 0;
	padding: 5px 0;
	border-bottom: 1px solid rgba(255, 255, 255, .1);
}

#confirm-form .fade_info:first-of-type .row:last-child,
#confirm-form-2 .fade_info:first-of-type .form-group:last-child {
	border-bottom: 0;
}

#confirm-form .fade_info:first-of-type [class*="col-sm"],
#confirm-form-2 .fade_info:first-of-type label {
	float: none;
	width: auto;
	padding: 0;
}

#confirm-form .fade_info:first-of-type [class*="col-sm"]:first-child,
#confirm-form-2 .fade_info:first-of-type label {
	min-width: 131px;
	margin-right: 11px;
	color: var(--depo-gold-light);
	font-weight: 700;
}

#confirm-form .fade_info strong,
#confirm-form-2 .fade_info strong {
	color: var(--depo-gold-light);
	font-size: 12px;
	letter-spacing: .06em;
}

#confirm-form .fade_info[role="alert"],
#confirm-form-2 .fade_info[role="alert"] {
	position: relative;
	padding: 12px 41px 12px 14px;
}

#confirm-form .fade_info[role="alert"]:before,
#confirm-form-2 .fade_info[role="alert"]:before {
	display: inline-block;
	margin-right: 8px;
	color: #54b869;
	content: '\f058';
	font-family: FontAwesome;
	font-size: 16px;
	vertical-align: -1px;
}

#confirm-form .fade_info .close,
#confirm-form-2 .fade_info .close {
	position: absolute;
	top: 7px;
	right: 11px;
	color: #b9b9bd;
	font-size: 21px;
	line-height: 1;
	text-shadow: none;
}

#confirm-form .form-group,
#confirm-form-2 .form-group {
	margin-bottom: 18px;
}

#confirm-form .form-group > label,
#confirm-form-2 .form-group > label {
	display: block;
	margin-bottom: 7px;
	color: #eeeeef;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .045em;
	text-transform: none;
}

#confirm-form-2 > .form-group > p {
	margin: -3px 0 0;
	padding: 8px 11px;
	border-left: 2px solid rgba(244, 201, 93, .65);
	border-radius: 0 7px 7px 0;
	background: rgba(255, 255, 255, .045);
	color: #d9d0c5;
	font-family: Arial, sans-serif;
	font-size: 12px;
}

#content .deposit-type,
#mob-content .deposit-type {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	justify-content: stretch;
}

#content .deposit-type .item,
#mob-content .deposit-type .item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 58px;
	padding: 10px 13px;
	border: 2px solid var(--depo-gold);
	border-radius: 12px;
	background: linear-gradient(145deg, #151a21, #0d1117);
	box-shadow: inset 0 1px rgba(255, 255, 255, .06);
	color: #efeff1;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .035em;
	text-transform: uppercase;
	transition: transform .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

#content .deposit-type .item.fast,
#mob-content .deposit-type .item.fast {
	order: -1;
}

#content .deposit-type .item:hover,
#mob-content .deposit-type .item:hover {
	border-color: var(--depo-gold-light);
	background: #1b1f25;
	transform: translateY(-1px);
}

#content .deposit-type .item.active,
#mob-content .deposit-type .item.active {
	border-color: var(--depo-gold-light);
	background: linear-gradient(135deg, #ffd25b, #eda514 72%);
	box-shadow: 0 0 22px rgba(242, 185, 40, .27), inset 0 1px rgba(255, 255, 255, .48);
	color: #111317;
}

#content .infobadge,
#mob-content .infobadge {
	padding: 4px 7px !important;
	border-radius: 999px !important;
	background: rgba(242, 185, 40, .16) !important;
	color: var(--depo-gold-light) !important;
	font-size: 9px !important;
	font-weight: 700 !important;
	letter-spacing: .03em;
	text-transform: uppercase;
}

#content .deposit-type .item.active .infobadge,
#mob-content .deposit-type .item.active .infobadge {
	background: rgba(88, 56, 6, .58) !important;
	color: #ffe189 !important;
}

#confirm-form .form-group:has(.bank-get),
#confirm-form-2 .form-group:has(.bank-get),
#confirm-form .form-group:has(.promotionId),
#confirm-form-2 .form-group:has(.promotionId),
#confirm-form .form-group:has(#amount),
#confirm-form-2 .form-group:has(#amount) {
	position: relative;
}

#confirm-form .form-control,
#confirm-form-2 .form-control {
	height: 52px;
	border: 2px solid #55595f;
	border-radius: 12px;
	background: rgba(12, 16, 22, .82);
	box-shadow: inset 0 2px 9px rgba(0, 0, 0, .34);
	color: #eeeeef;
	font-family: Arial, sans-serif;
	font-size: 14px;
	transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

#confirm-form .form-control:focus,
#confirm-form-2 .form-control:focus {
	border-color: var(--depo-gold);
	background: #10151c;
	box-shadow: 0 0 0 3px rgba(242, 185, 40, .13), inset 0 2px 9px rgba(0, 0, 0, .32);
	outline: 0;
}

#confirm-form select.form-control,
#confirm-form-2 select.form-control {
	padding-left: 54px;
	cursor: pointer;
}

#confirm-form select.form-control option,
#confirm-form-2 select.form-control option {
	background: #251012;
	color: #fff7e0;
}

#confirm-form .form-group:has(.bank-get):after,
#confirm-form-2 .form-group:has(.bank-get):after,
#confirm-form .form-group:has(.promotionId):after,
#confirm-form-2 .form-group:has(.promotionId):after {
	position: absolute;
	bottom: 0;
	left: 15px;
	width: 31px;
	color: var(--depo-gold);
	font-family: FontAwesome;
	font-size: 20px;
	line-height: 52px;
	text-align: center;
	pointer-events: none;
}

#confirm-form .form-group:has(.bank-get):after,
#confirm-form-2 .form-group:has(.bank-get):after {
	content: '\f19c';
}

#confirm-form .form-group:has(.promotionId):after,
#confirm-form-2 .form-group:has(.promotionId):after {
	content: '\f06b';
}

#confirm-form #amount,
#confirm-form-2 #amount {
	height: 70px;
	padding: 13px 20px;
	font-size: 25px;
	font-weight: 700;
	letter-spacing: .02em;
}

#confirm-form .form-group:has(#amount):has(#amount:placeholder-shown):after,
#confirm-form-2 .form-group:has(#amount):has(#amount:placeholder-shown):after {
	position: absolute;
	bottom: 0;
	left: 21px;
	color: #85878d;
	content: 'Rp 0';
	font-family: Arial, sans-serif;
	font-size: 25px;
	font-weight: 700;
	line-height: 70px;
	pointer-events: none;
}

#confirm-form .promotion-info,
#confirm-form-2 .promotion-info,
#confirm-form .g8b-rpp-holder,
#confirm-form-2 .g8b-rpp-holder,
#confirm-form .luxeqris,
#confirm-form-2 .luxeqris {
	padding: 14px;
	border: 1px solid rgba(255, 211, 93, .23);
	border-radius: 9px;
	background: rgba(255, 255, 255, .04);
}

#confirm-form .promo-wrap .title,
#confirm-form-2 .promo-wrap .title {
	margin-bottom: 7px;
	color: #f8d77d;
	font-size: 14px;
}

#confirm-form .promo-wrap ul,
#confirm-form-2 .promo-wrap ul {
	margin: 0;
	color: #dcd2c3;
	font-family: Arial, sans-serif;
}

#confirm-form .CommonBtt2,
#confirm-form-2 .CommonBtt2 {
	width: 100%;
	min-height: 56px;
	margin-top: 4px;
	border: 2px solid var(--depo-gold-light);
	border-radius: 13px;
	background: linear-gradient(135deg, #ffd35d, #eda513 72%);
	box-shadow: 0 0 24px rgba(242, 185, 40, .26), inset 0 1px rgba(255, 255, 255, .55);
	color: #111317;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: .055em;
	text-shadow: 0 1px rgba(255, 255, 255, .28);
	text-transform: uppercase;
	transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

#confirm-form .CommonBtt2:hover,
#confirm-form-2 .CommonBtt2:hover,
#confirm-form .CommonBtt2:focus,
#confirm-form-2 .CommonBtt2:focus {
	background: linear-gradient(135deg, #ffdf7d, #f4b422 72%);
	box-shadow: 0 0 30px rgba(242, 185, 40, .34), inset 0 1px rgba(255, 255, 255, .6);
	color: #111317;
	outline: 0;
	transform: translateY(-1px);
}

#confirm-form input[type="file"],
#confirm-form-2 input[type="file"] {
	width: 100%;
	padding: 7px;
	border: 1px dashed rgba(255, 216, 107, .42);
	border-radius: 8px;
	background: rgba(0, 0, 0, .22);
	color: #e7dfd0;
}

/* Desktop Withdrawal ------------------------------------------------------ */
@media only screen and (min-width: 769px) {
	#content .tab-pane[id="#withdrawal"] #confirm-form {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px 18px;
		max-width: 760px;
	}

	#content .tab-pane[id="#withdrawal"]
	#confirm-form > .form-group {
		min-width: 0;
		margin: 0;
	}

	#content .tab-pane[id="#withdrawal"]
	#confirm-form > .form-group:nth-of-type(1),
	#content .tab-pane[id="#withdrawal"]
	#confirm-form > .form-group:nth-of-type(2) {
		order: 1;
	}

	#content .tab-pane[id="#withdrawal"]
	#confirm-form > .form-group:nth-of-type(6),
	#content .tab-pane[id="#withdrawal"]
	#confirm-form > .form-group:nth-of-type(7) {
		order: 2;
	}

	#content .tab-pane[id="#withdrawal"]
	#confirm-form > .form-group:nth-of-type(3) {
		order: 3;
	}

	#content .tab-pane[id="#withdrawal"]
	#confirm-form > .form-group.w-amo {
		order: 4;
	}

	#content .tab-pane[id="#withdrawal"]
	#confirm-form > .form-group:nth-of-type(5) {
		order: 5;
	}

	#content .tab-pane[id="#withdrawal"]
	#confirm-form > .CommonBtt2 {
		order: 6;
	}

	#content .tab-pane[id="#withdrawal"]
	#confirm-form > .form-group:nth-of-type(-n+3),
	#content .tab-pane[id="#withdrawal"]
	#confirm-form > .form-group:nth-of-type(6),
	#content .tab-pane[id="#withdrawal"]
	#confirm-form > .form-group:nth-of-type(7) {
		padding: 14px 16px;
		border: 1px solid rgba(255, 211, 90, .16);
		border-radius: 10px;
		background: linear-gradient(145deg, rgba(27, 32, 40, .9), rgba(13, 17, 23, .9));
		box-shadow: inset 0 1px rgba(255, 255, 255, .035);
	}

	#content .tab-pane[id="#withdrawal"]
	#confirm-form > .form-group:nth-of-type(3) {
		grid-column: 1 / -1;
	}

	#content .tab-pane[id="#withdrawal"]
	#confirm-form > .form-group:nth-of-type(-n+3) > label:before,
	#content .tab-pane[id="#withdrawal"]
	#confirm-form > .form-group:nth-of-type(6) > label:before,
	#content .tab-pane[id="#withdrawal"]
	#confirm-form > .form-group:nth-of-type(7) > label:before {
		display: inline-block;
		width: 24px;
		margin-right: 7px;
		color: var(--depo-gold);
		font-family: FontAwesome;
		text-align: center;
	}

	#content .tab-pane[id="#withdrawal"]
	#confirm-form > .form-group:nth-of-type(1) > label:before,
	#content .tab-pane[id="#withdrawal"]
	#confirm-form > .form-group:nth-of-type(2) > label:before,
	#content .tab-pane[id="#withdrawal"]
	#confirm-form > .form-group:nth-of-type(3) > label:before {
		content: '\f19c';
	}

	#content .tab-pane[id="#withdrawal"]
	#confirm-form > .form-group:nth-of-type(6) > label:before {
		content: '\f09d';
	}

	#content .tab-pane[id="#withdrawal"]
	#confirm-form > .form-group:nth-of-type(7) > label:before {
		content: '\f007';
	}

	#content .tab-pane[id="#withdrawal"]
	#confirm-form > .form-group:nth-of-type(-n+3) > p,
	#content .tab-pane[id="#withdrawal"]
	#confirm-form > .form-group:nth-of-type(6) > p,
	#content .tab-pane[id="#withdrawal"]
	#confirm-form > .form-group:nth-of-type(7) > p {
		margin: 7px 0 0 31px;
		color: #d9d0c5;
		font-family: Arial, sans-serif;
		font-size: 13px;
		line-height: 1.35;
	}

	#content .tab-pane[id="#withdrawal"]
	#confirm-form > .form-group.w-amo {
		grid-column: 1 / -1;
		padding: 16px;
		border: 1px solid var(--depo-line);
		border-radius: 11px;
		background: rgba(255, 255, 255, .025);
	}

	#content .tab-pane[id="#withdrawal"]
	#confirm-form > .form-group.w-amo > label:before {
		display: inline-block;
		width: 24px;
		margin-right: 7px;
		color: var(--depo-gold);
		content: '\f09d';
		font-family: FontAwesome;
		text-align: center;
	}

	#content .tab-pane[id="#withdrawal"]
	#confirm-form > .CommonBtt2 {
		grid-column: 1 / -1;
		margin-top: 2px;
	}
}

@media only screen and (max-width: 768px) {
	#mob-content {
		padding: 0 0 94px;
		background: radial-gradient(circle at top, #50141b, #13090b 54%);
	}

	#mob-content > .container {
		position: relative;
		padding: 18px 12px 0;
	}

	#mob-content h3 {
		display: none;
	}

	/* common(1).js already appends a Power By bar to #mob-content. */
	#showM > div[style*="text-align: center"] {
		display: none !important;
	}

	#mob-content .btn-af-page {
		width: calc(100vw - clamp(40px, 9vw, 78px));
		max-width: 734px;
		margin: 0 auto 4px;
	}

	/* Present the existing account-page dropdown as the Deposit menu.
	   The original text remains in the DOM for the current dropdown script. */
	#mob-content .btn-af-page #account-page {
		display: flex;
		position: relative;
		align-items: center;
		justify-content: flex-start;
		min-height: 54px;
		padding: 0 82px 0 58px;
		border-color: rgba(244, 190, 54, .55);
		border-radius: 11px;
		background: linear-gradient(145deg, rgba(31, 35, 42, .98), rgba(12, 16, 22, .98));
		box-shadow:
			inset 0 1px rgba(255, 255, 255, .06),
			0 5px 15px rgba(0, 0, 0, .22);
		color: #fff7dc;
		font-size: 0;
		font-weight: 700;
		text-transform: uppercase;
	}

	#mob-content .btn-af-page #account-page:before {
		display: grid;
		position: absolute;
		top: 7px;
		bottom: 7px;
		left: 8px;
		width: 38px;
		align-items: center;
		border-radius: 8px;
		background: linear-gradient(145deg, #ffd65a, #e99a17);
		box-shadow: inset 0 1px rgba(255, 255, 255, .45);
		color: #19130a;
		content: '\f155';
		font-family: FontAwesome;
		font-size: 18px;
		text-align: center;
	}

	#mob-content .btn-af-page #account-page:after {
		color: #fff7dc;
		content: '';
		font-family: 'Fjalla One', Arial, sans-serif;
		font-size: 18px;
		letter-spacing: .035em;
	}

	/* History has no form heading, so its existing table is the CSS hook. */
	#mob-content:has(.table.depWit)
	.btn-af-page #account-page:after {
		content: 'History';
	}

	#mob-content .btn-af-page #account-page .caret {
		display: flex;
		position: absolute;
		top: 0;
		right: 0;
		width: 72px;
		height: 100%;
		align-items: center;
		justify-content: center;
		border: 0;
		border-left: 1px solid rgba(244, 190, 54, .26);
		color: #f4c957;
	}

	#mob-content .btn-af-page #account-page .caret:before {
		content: 'MENU';
		font-family: Arial, sans-serif;
		font-size: 9px;
		font-weight: 700;
		letter-spacing: .12em;
	}

	#mob-content .btn-af-page #account-page .caret:after {
		width: 0;
		height: 0;
		margin-left: 6px;
		border-top: 5px solid #f4c957;
		border-right: 4px solid transparent;
		border-left: 4px solid transparent;
		content: '';
	}

	/* Compact account navigation shown by the Deposit menu trigger. */
	#mob-content .btn-af-page .dropdown-menu {
		top: calc(100% + 7px);
		right: 0;
		left: 0;
		width: 100%;
		margin: 0;
		padding: 10px;
		border: 1px solid rgba(244, 190, 54, .48);
		border-radius: 12px;
		background: linear-gradient(145deg, rgba(27, 31, 38, .99), rgba(10, 13, 18, .99));
		box-shadow: 0 14px 30px rgba(0, 0, 0, .46);
		text-align: left;
	}

	#mob-content .btn-af-page.open .dropdown-menu {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 7px;
	}

	#mob-content .btn-af-page .dropdown-menu > li {
		margin: 0;
	}

	#mob-content .btn-af-page .dropdown-menu > li:last-child {
		grid-column: 1 / -1;
	}

	#mob-content .btn-af-page .dropdown-menu > li > a {
		display: flex;
		min-height: 42px;
		padding: 8px 11px;
		align-items: center;
		border: 1px solid rgba(255, 255, 255, .08);
		border-radius: 8px;
		background: rgba(255, 255, 255, .045);
		color: #e9e9eb;
		font-family: 'Fjalla One', Arial, sans-serif;
		font-size: clamp(13px, 2vw, 17px);
		letter-spacing: .02em;
		text-align: left;
	}

	#mob-content .btn-af-page .dropdown-menu > li > a:before {
		width: 24px;
		margin-right: 8px;
		color: var(--depo-gold);
		font-family: FontAwesome;
		font-size: 14px;
		text-align: center;
	}

	#mob-content .btn-af-page .dropdown-menu > li:nth-child(1) > a:before { content: '\f155'; }
	#mob-content .btn-af-page .dropdown-menu > li:nth-child(2) > a:before { content: '\f0d6'; }
	#mob-content .btn-af-page .dropdown-menu > li:nth-child(3) > a:before { content: '\f1da'; }
	#mob-content .btn-af-page .dropdown-menu > li:nth-child(4) > a:before { content: '\f007'; }
	#mob-content .btn-af-page .dropdown-menu > li:nth-child(5) > a:before { content: '\f0c0'; }
	#mob-content .btn-af-page .dropdown-menu > li:nth-child(6) > a:before { content: '\f0e0'; }
	#mob-content .btn-af-page .dropdown-menu > li:nth-child(7) > a:before { content: '\f06b'; }

	#mob-content:has(.tab-pane[id="#deposit"])
	.btn-af-page a[href="/secure/admin/deposit.html"],
	#mob-content:has(.tab-pane[id="#withdrawal"])
	.btn-af-page a[href="/secure/admin/withdrawal.html"],
	#mob-content:has(.tab-pane[id="#partners"])
	.btn-af-page a[href="/secure/admin/bonus.html"],
	#mob-content:has(.tab-pane[id="#profile"])
	.btn-af-page a[href="/secure/admin/profile.html"],
	#mob-content:has(.tab-pane[id="#referral"])
	.btn-af-page a[href="/secure/admin/referral.html"],
	#mob-content:has(.tab-pane[id="#messages"])
	.btn-af-page a[href="/secure/admin/messages.html"],
	#mob-content:has(.table.depWit)
	.btn-af-page a[href="/secure/admin/history.html"] {
		border-color: rgba(244, 190, 54, .55);
		background: linear-gradient(145deg, rgba(244, 190, 54, .2), rgba(206, 132, 17, .1));
		color: #ffd65a;
	}

	#mob-content .btn-af-page .dropdown-menu > li > a:hover,
	#mob-content .btn-af-page .dropdown-menu > li > a:focus {
		border-color: rgba(244, 190, 54, .45);
		background: rgba(244, 190, 54, .13);
		color: #fff7dc;
	}

	#mob-content .tab-content > .tab-pane {
		width: 100vw;
		margin-left: calc(50% - 50vw);
		padding: 10px 0 18px;
		border: 0;
		border-radius: 0;
		background: transparent;
		box-shadow: none;
	}

	#mob-content .tab-pane > h4 {
		display: flex;
		position: absolute;
		top: 18px;
		right: calc(clamp(40px, 9vw, 78px) / 2 + 82px);
		left: calc(clamp(40px, 9vw, 78px) / 2 + 58px);
		z-index: 2;
		height: 54px;
		margin: 0;
		padding: 0;
		align-items: center;
		border: 0;
		font-size: 18px;
		line-height: 1;
		pointer-events: none;
	}

	#mob-content .tab-pane > h4:before {
		display: none;
	}

	#confirm-form-2 {
		display: flex;
		width: calc(100vw - clamp(40px, 9vw, 78px));
		max-width: 734px;
		margin-right: auto;
		margin-left: auto;
		flex-direction: column;
	}

	#confirm-form-2 > .form-group:nth-of-type(-n+4) { order: 1; }
	#confirm-form-2 > .fade_info[role="alert"] { order: 2; }
	#confirm-form-2 > .form-group:has(.deposit-type) { order: 3; }
	#confirm-form-2 > .form-group:has(.bank-get) { order: 4; }
	#confirm-form-2 > .form-group.luxeqris,
	#confirm-form-2 > .form-group.g8b-rpp-holder { order: 5; }
	#confirm-form-2 > .form-group:has(#amount) { order: 6; }
	#confirm-form-2 > .form-group.remark { order: 7; }
	#confirm-form-2 > .form-group.gPromoMob { order: 8; }
	#confirm-form-2 > .form-group.promotion-info { order: 9; }
	#confirm-form-2 > .form-group.gReceipt { order: 10; }
	#confirm-form-2 > .form-group.text-center { order: 11; }

	#confirm-form-2 > .form-group:nth-of-type(-n+4) {
		display: grid;
		margin: 0;
		box-sizing: border-box;
		border-right: 1px solid var(--depo-line);
		border-bottom: 1px solid rgba(255, 255, 255, .09);
		border-left: 1px solid var(--depo-line);
		background: linear-gradient(145deg, rgba(26, 31, 38, .84), rgba(14, 18, 24, .84));
	}

	#confirm-form-2 > .form-group:nth-of-type(1) {
		border-top: 1px solid var(--depo-line);
		border-radius: 13px 13px 0 0;
	}

	#confirm-form-2 > .form-group:nth-of-type(4) {
		margin-bottom: 10px;
		border-bottom-color: var(--depo-line);
		border-radius: 0 0 13px 13px;
	}

	#confirm-form-2 > .form-group:nth-of-type(-n+4) > label {
		margin: 0;
		color: #e9e9eb;
		line-height: 16px;
	}

	#confirm-form-2 > .form-group:nth-of-type(-n+4) > label:before {
		display: inline-block;
		color: var(--depo-gold);
		font-family: FontAwesome;
		text-align: center;
	}

	#confirm-form-2 > .form-group:nth-of-type(1) > label:before { content: '\f19c'; }
	#confirm-form-2 > .form-group:nth-of-type(2) > label:before { content: '\f19c'; }
	#confirm-form-2 > .form-group:nth-of-type(3) > label:before { content: '\f10b'; }
	#confirm-form-2 > .form-group:nth-of-type(4) > label:before { content: '\f09d'; }

	#confirm-form-2 > .form-group:nth-of-type(-n+4) > p {
		margin: 0;
		border: 0;
		background: none;
		color: var(--depo-muted);
		line-height: 15px;
		text-align: left;
	}

	/* The optional available-balance row stays compact when visible. */
	#mob-content .tab-pane[id="#withdrawal"]
	#confirm-form-2 > .form-group:nth-of-type(3) {
		grid-template-columns: 1fr;
		gap: 0;
		height: 46px;
		min-height: 46px;
		padding: 6px 14px;
	}

	#mob-content .tab-pane[id="#withdrawal"]
	#confirm-form-2 > .form-group:nth-of-type(3) > label {
		font-size: 13px;
	}

	#mob-content .tab-pane[id="#withdrawal"]
	#confirm-form-2 > .form-group:nth-of-type(3) > label:before {
		width: 23px;
		margin-right: 7px;
	}

	#mob-content .tab-pane[id="#withdrawal"]
	#confirm-form-2 > .form-group:nth-of-type(3) > p {
		padding-left: 30px;
		font-size: 11px;
	}

	/* Deposit limits and Withdrawal min/max share the same two-column row. */
	#mob-content .tab-pane[id="#deposit"]
	#confirm-form-2 > .form-group:nth-of-type(-n+4),
	#mob-content .tab-pane[id="#withdrawal"]
	#confirm-form-2 > .form-group:nth-of-type(-n+2) {
		grid-template-columns: minmax(0, 43%) minmax(0, 57%);
		gap: clamp(8px, 2.3vw, 20px);
		align-items: center;
		height: clamp(48px, 6.8vw, 58px);
		min-height: clamp(48px, 6.8vw, 58px);
		padding: 5px clamp(14px, 3.75vw, 32px);
	}

	#mob-content .tab-pane[id="#deposit"]
	#confirm-form-2 > .form-group:nth-of-type(-n+4) > label,
	#mob-content .tab-pane[id="#withdrawal"]
	#confirm-form-2 > .form-group:nth-of-type(-n+2) > label {
		display: flex;
		align-items: center;
		font-size: clamp(13px, 2.4vw, 20px);
		white-space: nowrap;
	}

	#mob-content .tab-pane[id="#deposit"]
	#confirm-form-2 > .form-group:nth-of-type(-n+4) > label:before,
	#mob-content .tab-pane[id="#withdrawal"]
	#confirm-form-2 > .form-group:nth-of-type(-n+2) > label:before {
		width: clamp(23px, 4vw, 34px);
		margin-right: clamp(7px, 1.4vw, 12px);
		font-size: clamp(14px, 2.4vw, 20px);
	}

	#mob-content .tab-pane[id="#deposit"]
	#confirm-form-2 > .form-group:nth-of-type(-n+4) > label:after,
	#mob-content .tab-pane[id="#withdrawal"]
	#confirm-form-2 > .form-group:nth-of-type(-n+2) > label:after {
		margin-left: 5px;
		color: var(--depo-gold-light);
		content: '\00bb';
		font-family: Arial, sans-serif;
		font-size: clamp(15px, 2.4vw, 20px);
	}

	#mob-content .tab-pane[id="#deposit"]
	#confirm-form-2 > .form-group:nth-of-type(-n+4) > p,
	#mob-content .tab-pane[id="#withdrawal"]
	#confirm-form-2 > .form-group:nth-of-type(-n+2) > p {
		padding: 0;
		font-size: clamp(11px, 2.5vw, 22px);
		line-height: 1.2;
		white-space: nowrap;
	}

	#confirm-form-2 > .fade_info[role="alert"] {
		display: block;
		min-height: 56px;
		margin: 0 0 20px;
		box-sizing: border-box;
		border: 0;
		border-radius: 9px;
		background: rgb(170 126 41 / 24%);
		box-shadow: none;
		color: #a5a7ac;
		font-size: 10px;
		line-height: 16px;
		text-align: center;
		white-space: nowrap;
	}

	#confirm-form-2 > .fade_info[role="alert"] strong {
		font-size: 12px;
	}

	#confirm-form-2 > .fade_info[role="alert"]:before {
		margin-right: 6px;
		font-size: 13px;
	}

	#confirm-form-2 > .fade_info[role="alert"] .infobadge {
		display: inline-block;
		margin: 0 0 0 5px;
		padding: 3px 6px !important;
		font-size: 7px !important;
		line-height: 1;
		vertical-align: 1px;
	}

	#confirm-form-2 > .fade_info[role="alert"] .close {
		top: 4px;
		right: 8px;
		font-size: 18px;
	}

	#mob-content .tab-pane[id="#deposit"]
	#confirm-form-2 > .fade_info[role="alert"] {
		margin-top: clamp(16px, 2.35vw, 20px);
	}

	#confirm-form-2 .form-group {
		margin-bottom: 18px;
	}

	#confirm-form-2 .form-group > label {
		margin-bottom: 7px;
		font-size: 14px;
	}

	#confirm-form-2 .deposit-type {
		gap: 7px;
	}

	#confirm-form-2 .deposit-type .item {
		min-height: 43px;
		padding: 7px 11px;
		border-radius: 11px;
		font-size: 13px;
	}

	#confirm-form-2 .deposit-type .item .infobadge {
		padding: 4px 6px !important;
		font-size: 8px !important;
	}

	#confirm-form-2 .form-control {
		height: 45px;
		border-radius: 11px;
		font-size: 14px;
	}

	#confirm-form-2 select.form-control {
		padding-left: 54px;
	}

	#confirm-form-2 .form-group:has(.bank-get):after,
	#confirm-form-2 .form-group:has(.promotionId):after {
		left: 14px;
		width: 29px;
		font-size: 18px;
		line-height: 45px;
	}

	#confirm-form-2 > .form-group:has(.bank-get) {
		margin-bottom: 16px;
	}

	#confirm-form-2 #amount {
		height: 56px;
		padding: 11px 19px;
		font-size: 20px;
	}

	#confirm-form-2 .form-group:has(#amount) {
		margin-top: 2px;
	}

	#confirm-form-2 .form-group:has(#amount):has(#amount:placeholder-shown):after {
		left: 20px;
		font-size: 20px;
		line-height: 56px;
	}

	#confirm-form-2 .CommonBtt2 {
		min-height: 43px;
		border-radius: 11px;
		font-size: 17px;
	}

	#confirm-form-2 > .form-group.text-center {
		margin-top: 2px;
		margin-bottom: 10px;
	}

	/* Withdrawal reuses #confirm-form-2, but its fourth group contains the
	   amount input rather than a compact summary value. Keep the field inside
	   the summary card instead of constraining it to the 46px deposit row. */
	#mob-content .tab-pane[id="#withdrawal"]
	#confirm-form-2 > .form-group.w-amo {
		height: auto;
		min-height: 84px;
		padding: 19px 14px 12px;
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: 16px 45px;
		row-gap: 8px;
	}

	#mob-content .tab-pane[id="#withdrawal"]
	#confirm-form-2 > .form-group.w-amo > label {
		display: flex;
		align-items: center;
		margin: 0;
	}

	#mob-content .tab-pane[id="#withdrawal"]
	#confirm-form-2 > .form-group.w-amo > label:before {
		width: 23px;
		margin-right: 7px;
	}

	#mob-content .tab-pane[id="#withdrawal"]
	#confirm-form-2 > .form-group.w-amo > .form-control {
		width: 100%;
		min-width: 0;
		margin: 0 !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	#content #tab1 > li > a,
	#content .deposit-type .item,
	#mob-content .deposit-type .item,
	#confirm-form .form-control,
	#confirm-form-2 .form-control,
	#confirm-form .CommonBtt2,
	#confirm-form-2 .CommonBtt2 {
		transition: none;
	}
}

/* Mobile footer and right-side quick actions — approved preview. */
@media only screen and (max-width: 768px) {
	/* Header uses the same dark-red and gold visual language as the footer. */
	#mob-top {
		z-index: 9996;
		border-bottom: 1px solid rgba(255, 199, 48, 0.44);
		background: -webkit-linear-gradient(top, #5f0010 0%, #b0001eed 100%);
		box-shadow: 0 10px 28px rgba(0, 0, 0, 0.48), inset 0 -1px rgba(255, 255, 255, 0.035);
		filter: none;
	}

	#mob-logo img {
		filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.4));
	}

	#mob-topr2 {
		border-color: rgba(255, 199, 48, 0.3);
		background: linear-gradient(180deg, rgba(255, 202, 55, 0.1), rgba(255, 202, 55, 0.025));
	}

	#mob-topr2 a {
		color: #ffd258;
		font-weight: 700;
		text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65);
	}

	#mob-topr2 .fa {
		color: #ffd258;
	}

	.mob-menu:before {
		background: #ffd258;
		box-shadow: 0 0 #000, 0 10px #ffd258, 0 10px #000, 0 20px #ffd258;
		filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.55));
	}

	#mob-footer {
		z-index: 9998;
		display: flex;
		align-items: stretch;
		width: 100%;
		height: 65px;
		border-top: 1px solid rgba(255, 199, 48, 0.44);
		background: linear-gradient(0deg, rgb(30 18 18), rgb(107 6 6 / 80%));
		box-shadow: 0 -14px 34px rgba(0, 0, 0, 0.62), inset 0 1px rgba(255, 255, 255, 0.035);
	}

	#mob-footer .col-xs-3 {
		display: flex;
		width: 21% !important;
		height: 100%;
		padding: 0 2px;
		font-size: 12px !important;
	}

	#mob-footer .col-xs-3 > a {
		position: relative;
		display: flex;
		flex: 1;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 3px;
		min-width: 0;
		border-radius: 12px;
		color: #b9bbc1;
		font-weight: 700;
		line-height: 1.1;
		/* text-decoration: none; */
		white-space: nowrap;
		transition: color 0.2s ease, background-color 0.2s ease;
	}

	#mob-footer .col-xs-3 > a:hover,
	#mob-footer .col-xs-3 > a:focus {
		background: rgba(255, 202, 55, 0.09);
		color: #ffd258;
	}

	#mob-footer .fa {
		display: block;
		font-size: 28px !important;
		line-height: 1;
	}

	/* Replace the existing Live Chat phone glyph with a comment icon. */
	#mob-footer .col-xs-3:last-child .fa:before {
		content: "\f075";
	}

	.float-icons {
		right: 14px !important;
		bottom: 5px !important;
		z-index: 9999 !important;
		/* gap: 10px !important; */
		padding: 4px !important;
		/* border: 1px solid rgba(255, 255, 255, 0.08); */
		border-radius: 28px;
		/* background: rgba(8, 10, 14, 0.58); */
		/* box-shadow: 0 10px 24px rgba(0, 0, 0, 0.42); */
		/* opacity: 1 !important; */
		-webkit-backdrop-filter: blur(8px);
		/* backdrop-filter: blur(8px); */
	}

	.float-icons > a {
		display: grid;
		width: 42px;
		height: 42px;
		padding: 0 !important;
		place-items: center;
		border: 1px solid rgba(255, 255, 255, 0.16);
		font-size: 24px !important;
		line-height: 1;
		box-shadow: 0 7px 16px rgba(0, 0, 0, 0.34);
	}

	.float-icons .whatsapp-icon {
		background: linear-gradient(145deg, #43d776, #15914a);
	}

	.float-icons .telegram-icon {
		background: linear-gradient(145deg, #52bce9, #1977b4);
	}

	.worldcup-btn {
		right: 22px;
		bottom: 103px;
		width: 44px;
		height: 44px;
		padding: 5px;
		border: 1px solid rgba(255, 255, 255, 0.16);
		background: linear-gradient(145deg, #8e1616, #4e3008);
		box-shadow: 0 7px 16px rgba(0, 0, 0, 0.34);
		color: #ffd361;
	}
}

/* Approved deposit-limit card: outlined icon tiles and balanced columns. */
@media only screen and (max-width: 768px) {
	#mob-content .tab-pane[id="#deposit"]
	#confirm-form-2 > .form-group:nth-of-type(-n+4) {
		grid-template-columns: minmax(0, 47fr) minmax(0, 53fr);
		gap: 8px;
		height: 46px;
		min-height: 46px;
		padding: 3px 12px;
		border-color: #444952;
		background: linear-gradient(145deg, #181b21, #111319);
	}

	#mob-content .tab-pane[id="#deposit"]
	#confirm-form-2 > .form-group:nth-of-type(-n+4) > label {
		font-size: 12px;
		font-weight: 700;
	}

	#mob-content .tab-pane[id="#deposit"]
	#confirm-form-2 > .form-group:nth-of-type(-n+4) > label:before {
		display: inline-block;
		width: 28px;
		height: 28px;
		margin-right: 7px;
		box-sizing: border-box;
		flex: 0 0 28px;
		border: 1px solid rgba(255, 197, 45, 0.36);
		border-radius: 9px;
		background-color: rgba(255, 197, 45, 0.08);
		background-position: center;
		background-repeat: no-repeat;
		background-size: 17px 17px;
		content: '';
		font-size: 0;
	}

	#mob-content .tab-pane[id="#deposit"]
	#confirm-form-2 > .form-group:nth-of-type(1) > label:before,
	#mob-content .tab-pane[id="#deposit"]
	#confirm-form-2 > .form-group:nth-of-type(2) > label:before {
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffc52d' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10h18M5 10v8M9 10v8M15 10v8M19 10v8M3 19h18M12 3 3 8h18Z'/%3E%3C/svg%3E");
	}

	#mob-content .tab-pane[id="#deposit"]
	#confirm-form-2 > .form-group:nth-of-type(3) > label:before {
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffc52d' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='7.5' y='2.5' width='9' height='19' rx='2'/%3E%3Cpath d='M10 5h4M11 18.5h2'/%3E%3C/svg%3E");
	}

	#mob-content .tab-pane[id="#deposit"]
	#confirm-form-2 > .form-group:nth-of-type(4) > label:before {
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffc52d' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='5' width='19' height='14' rx='2'/%3E%3Cpath d='M3 9h18M7 15h3'/%3E%3C/svg%3E");
	}

	#mob-content .tab-pane[id="#deposit"]
	#confirm-form-2 > .form-group:nth-of-type(-n+4) > label:after {
		margin-left: 4px;
		content: '\203a';
		font-size: 16px;
		font-weight: 800;
	}

	#mob-content .tab-pane[id="#deposit"]
	#confirm-form-2 > .form-group:nth-of-type(-n+4) > p {
		font-size: 10.5px;
	}

	#confirm-form-2 .form-group:has(.bank-get):after,
	#confirm-form-2 .form-group:has(.promotionId):after {
		bottom: 4px;
		left: 8px;
		display: block;
		width: 36px;
		height: 36px;
		box-sizing: border-box;
		border: 1px solid rgba(255, 197, 45, 0.12);
		border-radius: 10px;
		background-color: rgba(255, 197, 45, 0.1);
		background-position: center;
		background-repeat: no-repeat;
		background-size: 21px 21px;
		content: '';
		font-size: 0;
		line-height: 0;
	}

	#confirm-form-2 .form-group:has(.bank-get):after {
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffc52d' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10h18M5 10v8M9 10v8M15 10v8M19 10v8M3 19h18M12 3 3 8h18Z'/%3E%3C/svg%3E");
	}

	#confirm-form-2 .form-group:has(.promotionId):after {
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffc52d' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10h16v10H4zM12 10v10M4 14h16M12 10H8.5A2.5 2.5 0 1 1 11 7.5ZM12 10h3.5A2.5 2.5 0 1 0 13 7.5Z'/%3E%3C/svg%3E");
	}

	#confirm-form-2 select.form-control.bank-get,
	#confirm-form-2 select.form-control.promotionId {
		padding-left: 56px;
	}

	#confirm-form-2 .deposit-type .item {
		font-size: 15px;
		font-weight: 700;
	}
}
/* CSS-only login page preview — append after the existing stylesheet. */

#content,
#mob-content {
  min-height: calc(100vh - 80px);
  background:
    radial-gradient(circle at 50% -12%, rgb(164 39 45 / 34%), transparent 43%),
    linear-gradient(180deg, #1b070a 0%, #0d0809 56%, #080708 100%);
}

#content > .container { margin-top: 34px; }
#mob-content > .container { margin-top: 22px; }

#content h3,
#mob-content h3 {
  margin: 0 0 24px;
  color: #ffe7a0;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

#content h3::after,
#mob-content h3::after {
  display: block;
  width: 42px;
  height: 3px;
  margin: 12px auto 0;
  border-radius: 999px;
  background: #f7c235;
  box-shadow: 0 0 14px rgb(247 194 53 / 45%);
  content: '';
}

#content #login-form,
#content #login-form-2,
#mob-content #login-form-mob {
  margin: 0;
}

#content #login-form .mb10,
#content #login-form-2 .mb10,
#mob-content #login-form-mob .mb10 {
  margin-bottom: 14px;
}

#content #login-form input.form-control,
#content #login-form-2 input.form-control,
#mob-content #login-form-mob input.form-control {
  height: 48px;
  padding: 0 15px;
  border: 1px solid #4e5059;
  border-radius: 9px;
  background: #111318;
  box-shadow: inset 0 1px 2px rgb(0 0 0 / 42%);
  color: #f8f8f8;
  font-size: 15px;
  transition: border-color .2s ease, box-shadow .2s ease;
}

#content #login-form input.form-control:focus,
#content #login-form-2 input.form-control:focus,
#mob-content #login-form-mob input.form-control:focus {
  border-color: #f7c235;
  box-shadow: 0 0 0 3px rgb(247 194 53 / 14%), inset 0 1px 2px rgb(0 0 0 / 42%);
  outline: 0;
}

#content #login-form label,
#content #login-form-2 label,
#mob-content #login-form-mob label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #c8c8cc;
  font-size: 13px;
  font-weight: 600;
}

#content .loginhelpremember,
#mob-content .loginhelpremember {
  width: 16px;
  height: 16px;
  accent-color: #e5ac27;
}

#content #login-form .mb10:has(a),
#content #login-form-2 .mb10:has(a),
#mob-content #login-form-mob .mb10:has(a) {
  margin: 20px 0 18px;
  text-align: center;
}

#content #login-form .mb10 a,
#content #login-form-2 .mb10 a,
#mob-content #login-form-mob .mb10 a {
  color: #f6c948;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.8;
  text-decoration: none;
}

#content #login-form .mb10 a:last-child,
#content #login-form-2 .mb10 a:last-child,
#mob-content #login-form-mob .mb10 a:last-child {
  color: #d4d5d9;
}

#content #login-form .btnf,
#content #login-form-2 .btnf,
#mob-content #login-form-mob .btnf {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(180deg, #ffd96a 0%, #e2a820 100%);
  box-shadow: 0 9px 18px rgb(0 0 0 / 30%), inset 0 1px rgb(255 255 255 / 40%);
  color: #261b05;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .08em;
  text-shadow: 0 1px rgb(255 255 255 / 34%);
  text-transform: uppercase;
}

#content #login-form .btnf:hover,
#content #login-form-2 .btnf:hover,
#mob-content #login-form-mob .btnf:hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
}

@media (max-width: 767px) {
  #mob-content {
    padding: 18px 0 92px;
  }

  #mob-content > .container {
    width: calc(100% - 28px);
    margin-top: 12px;
    padding: 26px 20px 24px;
  }
}

/* The login page uses its existing h3 as the card title. */
#content:has(#login-form) h3,
#content:has(#login-form-2) h3,
#mob-content:has(#login-form-mob) h3 {
  display: block;
}

/* Register page ------------------------------------------------------------
   Uses the same dark, gold-accented field treatment as the login form. */
#content:has(#ajax-form-join) h3,
#mob-content:has(#ajax-form-join-mob) h3 {
  display: block;
  margin: 0 0 24px;
  color: #ffe7a0;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

#content:has(#ajax-form-join) h3::after,
#mob-content:has(#ajax-form-join-mob) h3::after {
  display: block;
  width: 42px;
  height: 3px;
  margin: 12px auto 0;
  border-radius: 999px;
  background: #f7c235;
  box-shadow: 0 0 14px rgb(247 194 53 / 45%);
  content: '';
}

#content #ajax-form-join,
#mob-content #ajax-form-join-mob {
  margin: 0 auto;
  max-width: 560px;
}

#content #ajax-form-join .control-group,
#mob-content #ajax-form-join-mob .control-group {
  margin-bottom: 15px;
}

#content #ajax-form-join .control-label,
#mob-content #ajax-form-join-mob .control-label {
  display: block;
  margin: 0 0 7px;
  color: #e4e4e6;
  font-size: 13px;
  font-weight: 700;
}

#content #ajax-form-join .form-control,
#mob-content #ajax-form-join-mob .form-control {
  width: 100%;
  height: 48px;
  padding: 0 15px;
  border: 1px solid #4e5059;
  border-radius: 9px;
  background: #111318;
  box-shadow: inset 0 1px 2px rgb(0 0 0 / 42%);
  color: #f8f8f8;
  font-size: 15px;
  transition: border-color .2s ease, box-shadow .2s ease;
}

#content #ajax-form-join select.form-control,
#mob-content #ajax-form-join-mob select.form-control {
  padding-right: 38px;
  color: #d9dade;
}

#content #ajax-form-join .form-control:focus,
#mob-content #ajax-form-join-mob .form-control:focus {
  border-color: #f7c235;
  box-shadow: 0 0 0 3px rgb(247 194 53 / 14%), inset 0 1px 2px rgb(0 0 0 / 42%);
  outline: 0;
}

#content #ajax-form-join .btnf,
#mob-content #ajax-form-join-mob .btnf {
  width: 100%;
  min-height: 50px;
  margin-top: 5px;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(180deg, #ffd96a 0%, #e2a820 100%);
  box-shadow: 0 9px 18px rgb(0 0 0 / 30%), inset 0 1px rgb(255 255 255 / 40%);
  color: #261b05;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .08em;
  text-shadow: 0 1px rgb(255 255 255 / 34%);
  text-transform: uppercase;
}

#content #ajax-form-join .btnf:hover,
#mob-content #ajax-form-join-mob .btnf:hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
}

@media (max-width: 767px) {
  #mob-content:has(#ajax-form-join-mob) {
    padding: 18px 14px 92px;
  }
}
