/* Distraction-free layout overrides when viewing /appointment-payment/ */
body.gamca-cf-payment-layout {
	background: #f1f5f9 !important;
	margin: 0 !important;
}

body.gamca-cf-payment-layout #masthead,
body.gamca-cf-payment-layout header.site-header,
body.gamca-cf-payment-layout .ast-hfb-header,
body.gamca-cf-payment-layout footer.site-footer,
body.gamca-cf-payment-layout .hfe-site-footer,
body.gamca-cf-payment-layout .chaty-widget,
body.gamca-cf-payment-layout #ast-scroll-top,
body.gamca-cf-payment-layout .entry-header {
	display: none !important;
}

body.gamca-cf-payment-layout .site-content,
body.gamca-cf-payment-layout .ast-container,
body.gamca-cf-payment-layout .entry-content {
	max-width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
}

.gamca-cf-shell {
	min-height: 100vh;
	padding: 20px 14px 42px;
	display: flex;
	flex-direction: column;
	align-items: center;
	background: linear-gradient(180deg, #e2e8f0 0%, #f8fafc 260px, #f1f5f9 100%);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
	box-sizing: border-box;
}

.gamca-cf-shell *,
.gamca-cf-shell *::before,
.gamca-cf-shell *::after {
	box-sizing: border-box;
}

.gamca-cf-top-nav {
	width: 100%;
	max-width: 480px;
	margin-bottom: 14px;
}

.gamca-cf-back-home {
	color: #334155;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.gamca-cf-back-home:hover {
	color: #0f172a;
}

.gamca-cf-card {
	width: 100%;
	max-width: 480px;
	background: #ffffff;
	border-radius: 20px;
	box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
	overflow: hidden;
	position: relative;
}

.gamca-cf-card-banner {
	height: 62px;
	background: linear-gradient(135deg, #e2e8f0 0%, #f1f5f9 100%);
}

.gamca-cf-empty-card {
	padding: 28px 24px;
	text-align: center;
}

.gamca-cf-empty-card .gamca-cf-logo-float {
	margin-top: 0;
}

.gamca-cf-empty-card .gamca-cf-green-bar {
	margin-left: auto;
	margin-right: auto;
}

.gamca-cf-empty-msg {
	color: #475569;
	font-size: 15px;
	line-height: 1.55;
	margin: 14px 0 22px;
}

.gamca-cf-step {
	display: none;
}

.gamca-cf-step.is-active {
	display: block;
}

.gamca-cf-logo-float {
	width: 82px;
	height: 82px;
	margin: -41px auto 12px;
	background: #ffffff;
	border-radius: 10px;
	box-shadow: 0 6px 20px rgba(15, 23, 42, 0.14);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 8px;
}

.gamca-cf-logo-float img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	display: block;
}

.gamca-cf-brand-sub {
	text-align: center;
	color: #14274E;
	font-size: 17px;
	font-weight: 700;
	margin-bottom: 12px;
	padding: 0 20px;
}

.gamca-cf-body {
	padding: 12px 26px 22px;
}

.gamca-cf-title {
	margin: 0;
	color: #14274E;
	font-size: 26px;
	line-height: 1.24;
	font-weight: 800;
	letter-spacing: -0.01em;
}

.gamca-cf-green-bar {
	width: 34px;
	height: 4px;
	background: #46B91E;
	border-radius: 2px;
	margin: 14px 0 18px;
}

.gamca-cf-subtitle {
	color: #14274E;
	font-size: 16px;
	font-weight: 600;
	margin: 0 0 16px;
}

.gamca-cf-ghc-wrap {
	background: #ffffff;
	border: 1px solid #f1f5f9;
	border-radius: 12px;
	padding: 16px 12px;
	margin-bottom: 18px;
	display: flex;
	justify-content: center;
}

.gamca-cf-ghc-img {
	max-width: 100%;
	height: auto;
	max-height: 92px;
	object-fit: contain;
}

.gamca-cf-ghc-lockup {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	flex-wrap: nowrap;
	width: 100%;
}

.gamca-cf-ghc-text {
	display: flex;
	flex-direction: column;
	text-align: right;
}

.gamca-cf-ghc-ar {
	font-size: 18px;
	font-weight: 700;
	color: #475569;
	line-height: 1.2;
}

.gamca-cf-ghc-ar-sub {
	font-size: 12px;
	font-weight: 600;
	color: #64748b;
	line-height: 1.25;
}

.gamca-cf-ghc-en {
	font-size: 13px;
	font-weight: 700;
	color: #475569;
	margin-top: 2px;
}

.gamca-cf-ghc-divider {
	width: 1.5px;
	height: 54px;
	background: #cbd5e1;
}

.gamca-cf-candidate-pill {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 9px 12px;
	font-size: 13px;
	color: #334155;
	margin-bottom: 18px;
}

.gamca-cf-contact-box {
	padding-top: 6px;
}

.gamca-cf-contact-heading {
	color: #14274E;
	font-size: 16px;
	font-weight: 700;
	margin-bottom: 10px;
}

.gamca-cf-contact-row {
	display: flex;
	align-items: center;
	gap: 12px;
	color: #334155;
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	margin-bottom: 8px;
}

.gamca-cf-contact-row:hover {
	color: #14274E;
}

.gamca-cf-icon {
	width: 24px;
	height: 24px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #14274E;
	font-size: 16px;
}

/* Step 2 Styles */
.gamca-cf-step2-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 26px 4px;
	margin-top: -42px;
}

.gamca-cf-back-step {
	background: #ffffff;
	border: 1px solid #cbd5e1;
	color: #1e293b;
	border-radius: 8px;
	padding: 6px 12px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}

.gamca-cf-back-step:hover {
	background: #f8fafc;
}

.gamca-cf-ref-badge {
	background: #14274E;
	color: #ffffff;
	border-radius: 999px;
	padding: 5px 12px;
	font-size: 12px;
	font-weight: 700;
}

.gamca-cf-step2-body {
	padding-top: 16px;
}

.gamca-cf-summary-box {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 12px 14px;
	margin-bottom: 18px;
}

.gamca-cf-summary-row {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	font-size: 13px;
	color: #475569;
	padding: 4px 0;
}

.gamca-cf-summary-row strong {
	color: #0f172a;
	text-align: right;
	word-break: break-word;
}

.gamca-cf-field {
	margin-bottom: 16px;
}

.gamca-cf-field label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: #475569;
	margin-bottom: 6px;
}

.gamca-cf-field label .req {
	color: #ef4444;
}

.gamca-cf-field input,
.gamca-cf-field select {
	width: 100%;
	height: 44px;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	padding: 0 12px;
	font-size: 15px;
	color: #0f172a;
	background: #ffffff;
	outline: none;
	transition: border-color 0.15s ease;
}

.gamca-cf-field input:focus,
.gamca-cf-field select:focus {
	border-color: #46B91E;
}

.gamca-cf-amount-box {
	height: 46px;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	background: #f8fafc;
	padding: 0 14px;
	display: flex;
	align-items: center;
	font-size: 16px;
	font-weight: 700;
	color: #0f172a;
}

.gamca-cf-error-box {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #b91c1c;
	border-radius: 8px;
	padding: 10px 12px;
	font-size: 13px;
	font-weight: 600;
	margin-top: 8px;
}

.gamca-cf-trust-strip {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 12px 20px;
	border-top: 1px solid #f1f5f9;
	background: #fafafa;
	flex-wrap: wrap;
}

.gamca-cf-pay-icons {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	font-size: 11px;
	font-weight: 800;
}

.badge-upi {
	color: #334155;
	letter-spacing: 0.3px;
}

.badge-visa {
	color: #1d4ed8;
	font-style: italic;
	font-size: 12px;
}

.badge-mc {
	display: inline-flex;
	align-items: center;
}

.badge-mc i {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	display: inline-block;
}

.badge-mc i:first-child {
	background: #eb001b;
}

.badge-mc i:last-child {
	background: #f79e1b;
	margin-left: -5px;
	opacity: 0.9;
}

.badge-rupay {
	color: #1e3a8a;
}

.badge-pci {
	background: #0284c7;
	color: #ffffff;
	padding: 2px 5px;
	border-radius: 3px;
	font-size: 9px;
}

.gamca-cf-powered {
	display: inline-flex;
	align-items: baseline;
	gap: 4px;
}

.gamca-cf-powered .cf-mark {
	color: #4f46e5;
	font-weight: 800;
	font-size: 13px;
}

.gamca-cf-powered .cf-sub {
	color: #64748b;
	font-size: 11px;
	font-weight: 600;
}

.gamca-cf-footer-bar {
	padding: 12px 18px 18px;
	background: #ffffff;
}

.gamca-cf-btn-green {
	width: 100%;
	height: 52px;
	border: none;
	border-radius: 4px;
	background: #46B91E;
	color: #ffffff;
	font-size: 17px;
	font-weight: 700;
	letter-spacing: 0.3px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	transition: background-color 0.15s ease, opacity 0.15s ease;
}

.gamca-cf-btn-green:hover {
	background: #3aa117;
	color: #ffffff;
}

.gamca-cf-btn-green:disabled {
	opacity: 0.65;
	cursor: wait;
}

.gamca-cf-terms {
	margin: 10px 0 0;
	font-size: 12px;
	color: #64748b;
	text-align: center;
	line-height: 1.4;
}

/* Homepage Submit & Order-Pay Redirect Loader */
.gamca-cf-redirect-screen {
	position: fixed;
	inset: 0;
	background: rgba(255, 255, 255, 0.97);
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.gamca-cf-redirect-card {
	text-align: center;
	max-width: 360px;
}

.gamca-cf-redirect-card h2 {
	color: #14274E;
	font-size: 20px;
	margin: 16px 0 8px;
}

.gamca-cf-redirect-card p {
	color: #475569;
	font-size: 14px;
	margin: 0;
}

.gamca-cf-spinner {
	width: 44px;
	height: 44px;
	margin: 0 auto;
	border: 4px solid #e2e8f0;
	border-top-color: #46B91E;
	border-radius: 50%;
	animation: gamcaSpin 0.8s linear infinite;
}

@keyframes gamcaSpin {
	to { transform: rotate(360deg); }
}

.gamca-cf-thankyou-box {
	margin-top: 28px;
	padding: 20px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
}

.gamca-cf-thankyou-box h2 {
	margin-top: 0;
	color: #14274E;
}

@media (max-width: 480px) {
	.gamca-cf-shell {
		padding: 12px 10px 30px;
	}
	.gamca-cf-body {
		padding: 10px 18px 18px;
	}
	.gamca-cf-title {
		font-size: 22px;
	}
	.gamca-cf-ghc-ar {
		font-size: 15px;
	}
	.gamca-cf-ghc-ring svg {
		width: 60px;
		height: 60px;
	}
	.gamca-cf-gcc-seal svg {
		width: 54px;
		height: 54px;
	}
}
