/* MasarPlus SaaS Checkout Stylesheet — Consolidated Single Source of Truth */
/* Inline critical checkout styles to guarantee they always load */
/* Distraction-free checkout: suppress third-party widgets & floating chats across all devices */
#mp-ai-chat-root,
#zsiq_float,
#zsiq_chat_wrap,
[id*="zsiq"],
.zsiq-float,
.chat-iframe-wrap,
.ht-ctc,
.ht_ctc_chat_data,
.ccw_plugin,
.e-contact-buttons,
.joinchat,
[class*="whatsapp-btn"] {
	display: none !important;
}
html, body {
	overflow-x: hidden !important;
	max-width: 100vw !important;
}
.mp-checkout-wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 16px;
	width: 100%;
	box-sizing: border-box;
	overflow-x: hidden;
}
/* Material Icons Baseline Dimensions Lock — Prevents FOUT ligature shifts */
.mp-checkout-wrap .material-icons,
.mp-checkout-wrap .material-symbols-outlined {
	display: inline-block !important;
	width: 1em !important;
	height: 1em !important;
	line-height: 1 !important;
	overflow: hidden !important;
	vertical-align: middle !important;
	letter-spacing: normal !important;
	word-wrap: normal !important;
	white-space: nowrap !important;
	direction: ltr !important;
	-webkit-font-smoothing: antialiased !important;
	text-rendering: optimizeLegibility !important;
}
/* Core Tutor Grid & Utility Replacements (Self-contained & Zero Latency) */
.tutor-wrap, .mp-checkout-wrap {
	box-sizing: border-box;
}
.tutor-row {
	display: flex !important;
	flex-wrap: wrap !important;
	margin-left: -8px !important;
	margin-right: -8px !important;
}
.tutor-g-2 > [class*="tutor-col"] {
	padding-left: 8px !important;
	padding-right: 8px !important;
}
.tutor-col-12 {
	flex: 0 0 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
}
.tutor-col-sm-6 {
	flex: 0 0 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
}
@media (min-width: 576px) {
	.tutor-col-sm-6 {
		flex: 0 0 50% !important;
		max-width: 50% !important;
	}
}
.tutor-d-none {
	display: none !important;
}
.tutor-d-block {
	display: block !important;
}
.tutor-d-flex {
	display: flex !important;
}
.tutor-align-center {
	align-items: center !important;
}
.tutor-justify-between {
	justify-content: space-between !important;
}
.tutor-mb-16 {
	margin-bottom: 16px !important;
}
.tutor-mb-32 {
	margin-bottom: 32px !important;
}
.tutor-py-12 {
	padding-top: 12px !important;
	padding-bottom: 12px !important;
}
.tutor-color-secondary {
	color: var(--mp-gray-600, #475569) !important;
}
.tutor-color-danger {
	color: #ef4444 !important;
}
.tutor-color-warning {
	color: #f59e0b !important;
}

/* Modal styles self-contained */
.tutor-modal {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	z-index: 99999 !important;
	display: none !important;
	align-items: center !important;
	justify-content: center !important;
}
.tutor-modal.tutor-is-active {
	display: flex !important;
}
.tutor-modal-overlay {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	background: rgba(15, 23, 42, 0.7) !important;
	backdrop-filter: blur(4px) !important;
}
.tutor-modal-window {
	position: relative !important;
	z-index: 2 !important;
	max-width: 480px !important;
	width: calc(100% - 32px) !important;
}
.tutor-modal-content {
	background: #ffffff !important;
	border-radius: 20px !important;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
	overflow: hidden !important;
}

/* Top Black Friday Announcement Banner — Dimension Lock & Anti-CLS */
.mp-checkout-bf-top-banner {
	background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(0, 164, 183, 0.08) 100%);
	border: 1px solid rgba(16, 185, 129, 0.35);
	border-radius: 16px;
	padding: 16px 20px;
	margin-bottom: 24px;
	box-shadow: 0 6px 20px -6px rgba(16, 185, 129, 0.15);
	position: relative;
	overflow: hidden;
	box-sizing: border-box;
	width: 100%;
	min-height: 84px;
	contain: layout;
}
.mp-checkout-hero-inner {
	min-height: 64px;
	contain: layout;
}
.mp-checkout-login-notice {
	min-height: 56px;
	contain: layout;
}
.mp-bf-top-banner-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.mp-bf-banner-main {
	display: flex;
	align-items: center;
	gap: 14px;
	flex: 1;
	min-width: 0;
}
.mp-bf-badge-icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: linear-gradient(135deg, #10b981 0%, #059669 100%);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	box-shadow: 0 4px 10px rgba(16, 185, 129, 0.25);
}
.mp-bf-badge-icon .material-icons {
	font-size: 22px;
}
.mp-bf-banner-content {
	flex: 1;
	min-width: 0;
}
.mp-bf-banner-title {
	font-size: 1.05rem;
	font-weight: 800;
	color: #065f46;
	margin-bottom: 4px;
	line-height: 1.4;
}
.mp-bf-banner-sub {
	font-size: 0.825rem;
	color: #475569;
	line-height: 1.5;
}
.mp-bf-badge-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #ffffff;
	color: #059669;
	border: 1.5px solid #10b981;
	padding: 6px 14px;
	border-radius: 9999px;
	font-weight: 800;
	font-size: 0.85rem;
	flex-shrink: 0;
	height: 34px;
	white-space: nowrap !important;
	box-sizing: border-box;
	letter-spacing: 0.5px;
	box-shadow: 0 2px 6px rgba(16, 185, 129, 0.1);
}
.mp-checkout-wrap .mp-checkout-hero-inner {
	background: var(--mp-surface-light, linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%));
	padding: 32px;
	border: 1px solid var(--mp-border, #e2e8f0);
	border-radius: 20px;
	margin-bottom: 32px;
	box-shadow: var(--mp-shadow-sm, none);
	box-sizing: border-box;
	width: 100%;
}
@media (max-width: 768px) {
	.mp-checkout-wrap {
		padding: 0 12px !important;
	}
	.mp-checkout-bf-top-banner {
		padding: 14px 12px !important;
		margin-bottom: 16px !important;
		border-radius: 14px !important;
		min-height: 116px !important;
		contain: layout !important;
	}
	.mp-checkout-hero-inner {
		min-height: 88px !important;
		contain: layout !important;
	}
	.mp-bf-top-banner-inner {
		flex-direction: column !important;
		align-items: flex-start !important;
		gap: 8px !important;
	}
	.mp-bf-banner-main {
		gap: 10px !important;
		align-items: flex-start !important;
	}
	.mp-bf-badge-icon {
		width: 36px !important;
		height: 36px !important;
		border-radius: 10px !important;
	}
	.mp-bf-badge-icon .material-icons {
		font-size: 18px !important;
	}
	.mp-bf-banner-title {
		font-size: 0.88rem !important;
		line-height: 1.35 !important;
		white-space: nowrap !important;
		overflow: hidden !important;
		text-overflow: ellipsis !important;
	}
	.mp-bf-banner-sub {
		font-size: 0.77rem !important;
		line-height: 1.45 !important;
	}
	.mp-bf-badge-pill {
		align-self: flex-start !important;
		font-size: 0.78rem !important;
		padding: 4px 10px !important;
		height: 28px !important;
		white-space: nowrap !important;
	}
	.mp-checkout-wrap .mp-checkout-hero-inner {
		padding: 18px 14px !important;
		margin-bottom: 18px !important;
		border-radius: 16px !important;
	}
	.mp-checkout-wrap .mp-checkout-hero-title {
		font-size: 1.25rem !important;
	}
	.mp-checkout-wrap .mp-checkout-card {
		padding: 18px 14px !important;
		border-radius: 16px !important;
		margin-bottom: 16px !important;
	}
	.mp-checkout-wrap .mp-checkout-card__title {
		font-size: 1.05rem !important;
		margin-bottom: 14px !important;
		padding-bottom: 10px !important;
	}
	.mp-checkout-wrap .mp-security-badges {
		gap: 8px !important;
		margin-top: 10px !important;
	}
	.mp-checkout-wrap .mp-security-badge {
		font-size: 0.72rem !important;
		padding: 4px 10px !important;
	}
	.mp-checkout-wrap input,
	.mp-checkout-wrap select,
	.mp-checkout-wrap .tutor-form-control {
		font-size: 16px !important; /* Prevents auto-zoom on iOS Safari */
	}
}
.mp-checkout-wrap .mp-checkout-hero-title {
	font-size: 1.5rem;
	font-weight: 800;
	color: var(--mp-text-dark, #0f172a);
	margin: 0 0 8px 0;
}
.mp-checkout-wrap .mp-checkout-hero-sub {
	font-size: 0.95rem;
	color: var(--mp-gray-400, #475569);
	margin: 0;
}
.mp-checkout-wrap .mp-security-badges {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 16px;
	flex-wrap: wrap;
}
.mp-checkout-wrap .mp-security-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--mp-gray-300, #334155);
	background: var(--mp-surface-light, #ffffff);
	border: 1px solid var(--mp-border, #e2e8f0);
	padding: 6px 14px;
	border-radius: 9999px;
}
.mp-checkout-wrap .mp-security-badge .material-icons {
	font-size: 16px;
	color: #10b981;
}
.mp-checkout-wrap .mp-checkout-grid {
	display: grid;
	grid-template-columns: 1fr 420px;
	gap: 32px;
	align-items: start;
}
@media (max-width: 991px) {
	.mp-checkout-wrap .mp-checkout-grid {
		display: flex !important;
		flex-direction: column !important;
		gap: 24px !important;
	}
}
.mp-checkout-wrap .mp-checkout-card {
	background: var(--mp-surface-light, #ffffff);
	border: 1px solid var(--mp-border, #e2e8f0);
	border-radius: 20px;
	padding: 28px;
	box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.04);
	margin-bottom: 24px;
}
.mp-checkout-wrap .mp-checkout-card__title {
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--mp-text-dark, #0f172a);
	margin: 0 0 20px 0;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--mp-border, #f1f5f9);
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.mp-checkout-wrap .mp-checkout-sidebar {
	position: sticky;
	top: 100px;
}

/* Billing Form Fields */
.mp-checkout-wrap .tutor-row {
	display: flex !important;
	flex-wrap: wrap !important;
	margin-left: -8px !important;
	margin-right: -8px !important;
}
.mp-checkout-wrap .tutor-col-12,
.mp-checkout-wrap .tutor-col-sm-6,
.mp-checkout-wrap .tutor-col-md-6,
.mp-checkout-wrap .tutor-col-md-12,
.mp-checkout-wrap .tutor-col-lg-6 {
	padding-left: 8px !important;
	padding-right: 8px !important;
	box-sizing: border-box !important;
}
.mp-checkout-wrap .tutor-col-12,
.mp-checkout-wrap .tutor-col-md-12 {
	width: 100% !important;
}
.mp-checkout-wrap .tutor-col-md-6 {
	width: 50% !important;
}
@media (min-width: 576px) {
	.mp-checkout-wrap .tutor-col-sm-6,
	.mp-checkout-wrap .tutor-col-lg-6 {
		width: 50% !important;
	}
}
@media (max-width: 767px) {
	.mp-checkout-wrap .tutor-col-md-6 {
		width: 100% !important;
	}
}
.mp-checkout-wrap .tutor-mb-16 {
	margin-bottom: 16px !important;
}
.mp-checkout-wrap .tutor-mb-32 {
	margin-bottom: 32px !important;
}
.mp-checkout-wrap .tutor-form-label {
	display: block !important;
	font-weight: 600 !important;
	font-size: 0.875rem !important;
	color: var(--mp-text-dark, #1e293b) !important;
	margin-bottom: 6px !important;
}
.mp-checkout-wrap .tutor-form-control,
.mp-checkout-wrap input[type="text"],
.mp-checkout-wrap input[type="email"],
.mp-checkout-wrap input[type="tel"],
.mp-checkout-wrap input[type="password"],
.mp-checkout-wrap select {
	width: 100% !important;
	padding: 11px 14px !important;
	border: 1px solid var(--mp-border, #cbd5e1) !important;
	border-radius: 12px !important;
	font-family: inherit !important;
	font-size: 0.95rem !important;
	color: var(--mp-text-dark, #0f172a) !important;
	background-color: var(--mp-surface-light, #ffffff) !important;
	transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
	outline: none !important;
	box-sizing: border-box !important;
}
.mp-checkout-wrap .tutor-form-control:focus,
.mp-checkout-wrap input:focus,
.mp-checkout-wrap select:focus {
	border-color: var(--mp-primary-400, #0092a6) !important;
	box-shadow: 0 0 0 3px rgba(0, 146, 166, 0.1) !important;
}

/* Payment Options */
.mp-checkout-wrap .tutor-checkout-payment-options {
	display: flex !important;
	flex-direction: column !important;
	gap: 12px !important;
	background: transparent !important;
	border: none !important;
}
.mp-checkout-wrap .tutor-checkout-payment-item {
	display: flex !important;
	align-items: center !important;
	gap: 14px !important;
	padding: 14px 18px !important;
	border: 2px solid var(--mp-border, #e2e8f0) !important;
	border-radius: 14px !important;
	background: #ffffff !important;
	cursor: pointer !important;
	transition: all 0.2s ease !important;
	margin: 0 !important;
}
.mp-checkout-wrap .tutor-checkout-payment-item:hover {
	border-color: var(--mp-primary-400, #0092a6) !important;
	background: var(--mp-surface-light, #f0f9ff) !important;
}
.mp-checkout-wrap .tutor-checkout-payment-item.is-selected,
.mp-checkout-wrap .tutor-checkout-payment-item:has(input:checked) {
	border-color: var(--mp-primary-400, #0092a6) !important;
	background: rgba(0, 164, 183, 0.08) !important;
	box-shadow: 0 0 0 2px rgba(0, 146, 166, 0.15) !important;
}
.mp-checkout-wrap .tutor-payment-item-content {
	display: flex !important;
	align-items: center !important;
	gap: 10px !important;
	font-weight: 600 !important;
	font-size: 0.95rem !important;
	color: var(--mp-text-dark, #0f172a) !important;
}
.mp-checkout-wrap .tutor-payment-item-content img {
	max-height: 26px !important;
	width: auto !important;
}

/* Coupon Box — Saas Modern Layout */
.mp-checkout-wrap .mp-coupon-box {
	display: block !important;
	width: 100% !important;
	background: var(--mp-bg-body, #f8fafc) !important;
	border: 1px dashed var(--mp-border, #cbd5e1) !important;
	border-radius: 12px !important;
	padding: 12px 14px !important;
	box-sizing: border-box !important;
}
.mp-checkout-wrap .mp-coupon-header {
	display: block !important;
	width: 100% !important;
	margin-bottom: 8px !important;
}
.mp-checkout-wrap .mp-coupon-title {
	font-size: 0.875rem !important;
	font-weight: 700 !important;
	color: var(--mp-text-dark, #0f172a) !important;
	display: block !important;
}
.mp-checkout-wrap .mp-coupon-input-group.tutor-apply-coupon-form,
.mp-checkout-wrap .tutor-apply-coupon-form {
	display: flex !important;
	flex-direction: row !important;
	align-items: stretch !important;
	gap: 8px !important;
	width: 100% !important;
	padding: 0 !important;
	background: transparent !important;
	border: none !important;
	box-sizing: border-box !important;
}
.mp-checkout-wrap .mp-coupon-input-group input.tutor-form-control,
.mp-checkout-wrap .mp-coupon-input-group input[name="coupon_code"] {
	flex: 1 1 auto !important;
	min-width: 0 !important;
	height: 44px !important;
	padding: 8px 14px !important;
	font-size: 0.875rem !important;
	border-radius: 10px !important;
	border: 1px solid var(--mp-border, #cbd5e1) !important;
	background-color: #ffffff !important;
	color: var(--mp-text-dark, #0f172a) !important;
	box-sizing: border-box !important;
}
.mp-checkout-wrap .mp-coupon-input-group button#tutor-apply-coupon-button,
.mp-checkout-wrap #tutor-apply-coupon-button {
	width: auto !important;
	max-width: 95px !important;
	min-width: 80px !important;
	flex: 0 0 85px !important;
	height: 44px !important;
	padding: 0 16px !important;
	font-size: 0.875rem !important;
	font-weight: 700 !important;
	border-radius: 10px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	white-space: nowrap !important;
	box-sizing: border-box !important;
	cursor: pointer !important;
	background: linear-gradient(135deg, #0092a6 0%, #016070 100%) !important;
	color: #ffffff !important;
	border: none !important;
	transition: all 0.2s ease !important;
}
.mp-checkout-wrap .mp-coupon-input-group button#tutor-apply-coupon-button:hover {
	opacity: 0.9 !important;
	transform: translateY(-1px) !important;
}

@media (max-width: 576px) {
	.mp-checkout-wrap {
		padding: 0 12px !important;
	}
	.mp-checkout-wrap .mp-checkout-card {
		padding: 18px !important;
		border-radius: 16px !important;
	}
	.mp-checkout-wrap .mp-coupon-box {
		padding: 12px !important;
	}
	.mp-checkout-wrap .mp-coupon-input-group button#tutor-apply-coupon-button,
	.mp-checkout-wrap #tutor-apply-coupon-button {
		width: auto !important;
		max-width: 95px !important;
		min-width: 80px !important;
		flex: 0 0 85px !important;
	}
}

/* Guarantee Seal */
.mp-checkout-wrap .mp-checkout-guarantee {
	background: rgba(0, 164, 183, 0.08) !important;
	border: 1px solid rgba(0, 164, 183, 0.2) !important;
}
.mp-checkout-wrap .mp-guarantee-title {
	font-size: 0.9rem !important;
	font-weight: 700 !important;
	color: var(--mp-text-dark, #0f172a) !important;
}
.mp-checkout-wrap .mp-guarantee-desc {
	font-size: 0.8rem !important;
	margin-top: 4px !important;
	color: var(--mp-gray-400, #64748b) !important;
	line-height: 1.5 !important;
}

/* Terms and Privacy Checkbox */
.mp-checkout-wrap .mp-terms-checkbox {
	width: 18px !important;
	height: 18px !important;
	accent-color: #0092a6 !important;
	cursor: pointer !important;
}
.mp-checkout-wrap .mp-checkout-terms-label {
	font-size: 0.85rem !important;
	color: #475569 !important;
	margin: 0 !important;
	cursor: pointer !important;
}
.mp-checkout-wrap .mp-checkout-terms-label a {
	color: #0092a6 !important;
	font-weight: 700 !important;
}

/* Summary */
.mp-checkout-wrap .mp-summary-course-item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--mp-border, #f1f5f9);
	margin-bottom: 14px;
}
.mp-checkout-wrap .mp-summary-course-thumb {
	width: 68px;
	height: 50px;
	border-radius: 8px;
	object-fit: cover;
	flex-shrink: 0;
}
.mp-checkout-wrap .mp-summary-course-title {
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--mp-text-dark, #0f172a);
	line-height: 1.4;
	margin: 0 0 4px 0;
}
.mp-checkout-wrap .mp-summary-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 0.875rem;
	color: var(--mp-gray-400, #475569);
	margin-bottom: 10px;
}
.mp-checkout-wrap .mp-summary-row--total {
	font-size: 1.1rem;
	font-weight: 800;
	color: var(--mp-text-dark, #0f172a);
	padding-top: 14px;
	border-top: 2px dashed var(--mp-border, #e2e8f0);
	margin-bottom: 0;
}
.mp-checkout-wrap .mp-summary-total-val {
	color: var(--mp-primary-400, #016070);
	font-size: 1.35rem;
}

/* ==========================================================================
   Checkout High-Contrast Dark Mode Styles (Trigger: html[data-theme="dark"])
   ========================================================================== */
html[data-theme="dark"] .mp-checkout-bf-top-banner {
	background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(0, 164, 183, 0.12) 100%) !important;
	border-color: rgba(16, 185, 129, 0.4) !important;
	box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.5) !important;
}
html[data-theme="dark"] .mp-bf-banner-title,
html[data-theme="dark"] .mp-bf-banner-title span {
	color: #34D399 !important;
}
html[data-theme="dark"] .mp-bf-banner-sub {
	color: #CBD5E1 !important;
}
html[data-theme="dark"] .mp-bf-badge-pill {
	background: #0E2A38 !important;
	color: #34D399 !important;
	border-color: rgba(16, 185, 129, 0.5) !important;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3) !important;
}
html[data-theme="dark"] .mp-checkout-wrap .mp-checkout-card {
	background: #162032 !important;
	border-color: #1E293B !important;
	box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3) !important;
}
html[data-theme="dark"] .mp-checkout-wrap .mp-checkout-card__title {
	color: #F8FAFC !important;
	border-bottom-color: #1E293B !important;
}
html[data-theme="dark"] .mp-checkout-wrap .tutor-form-label,
html[data-theme="dark"] .mp-checkout-wrap .tutor-color-secondary {
	color: #CBD5E1 !important;
}
html[data-theme="dark"] .mp-checkout-wrap .tutor-form-control,
html[data-theme="dark"] .mp-checkout-wrap .mp-input,
html[data-theme="dark"] .mp-checkout-wrap .mp-select {
	background-color: #0B0F19 !important;
	border: 1.5px solid #334155 !important;
	color: #F8FAFC !important;
}
html[data-theme="dark"] .mp-checkout-wrap .mp-select option {
	background-color: #0B0F19 !important;
	color: #F8FAFC !important;
}
html[data-theme="dark"] .mp-checkout-wrap .tutor-form-control:focus,
html[data-theme="dark"] .mp-checkout-wrap .mp-input:focus,
html[data-theme="dark"] .mp-checkout-wrap .mp-select:focus {
	border-color: #00A4B7 !important;
	box-shadow: 0 0 0 2px rgba(0, 164, 183, 0.25) !important;
}
html[data-theme="dark"] .mp-checkout-wrap .tutor-form-control::placeholder,
html[data-theme="dark"] .mp-checkout-wrap .mp-input::placeholder,
html[data-theme="dark"] .mp-checkout-wrap input::placeholder {
	color: #94A3B8 !important;
}
html[data-theme="dark"] .mp-checkout-wrap .mp-summary-note,
html[data-theme="dark"] .mp-checkout-summary-card p,
html[data-theme="dark"] .mp-checkout-summary-card [style*="color:var(--mp-gray-400"] {
	color: #94A3B8 !important;
}
html[data-theme="dark"] .mp-checkout-wrap .mp-summary-plan-item,
html[data-theme="dark"] .mp-checkout-wrap .mp-summary-course-item {
	background: #111827 !important;
	border-color: #1E293B !important;
}
html[data-theme="dark"] .mp-checkout-wrap .mp-summary-course-title,
html[data-theme="dark"] .mp-checkout-wrap .mp-summary-course-title a {
	color: #F8FAFC !important;
}
html[data-theme="dark"] .mp-checkout-wrap .mp-checkout-hero-inner {
	background: linear-gradient(135deg, #111827 0%, #162032 100%) !important;
	border-color: #1E293B !important;
}
html[data-theme="dark"] .mp-checkout-wrap .mp-checkout-hero-title {
	color: #F8FAFC !important;
}
html[data-theme="dark"] .mp-checkout-wrap .mp-checkout-hero-sub {
	color: #94A3B8 !important;
}
html[data-theme="dark"] .mp-checkout-wrap .mp-security-badge {
	background: #0B0F19 !important;
	border-color: #1E293B !important;
	color: #CBD5E1 !important;
}
html[data-theme="dark"] .mp-checkout-wrap .tutor-checkout-payment-options {
	background: transparent !important;
	border: none !important;
}
html[data-theme="dark"] .mp-checkout-wrap .tutor-checkout-payment-item {
	background: #162032 !important;
	border: 2px solid #1E293B !important;
	color: #F8FAFC !important;
}
html[data-theme="dark"] .mp-checkout-wrap .tutor-checkout-payment-item:hover {
	background: #1E293B !important;
	border-color: #00A4B7 !important;
}
html[data-theme="dark"] .mp-checkout-wrap .tutor-checkout-payment-item.is-selected,
html[data-theme="dark"] .mp-checkout-wrap .tutor-checkout-payment-item:has(input:checked) {
	background: #0E2A38 !important;
	border-color: #00A4B7 !important;
	box-shadow: 0 0 0 2px rgba(0, 164, 183, 0.3) !important;
}
html[data-theme="dark"] .mp-checkout-wrap .tutor-payment-item-content,
html[data-theme="dark"] .mp-checkout-wrap .tutor-payment-item-content span {
	color: #F8FAFC !important;
}

/* Dark Mode Terms */
html[data-theme="dark"] .mp-checkout-wrap .mp-checkout-terms-label {
	color: #CBD5E1 !important;
}
html[data-theme="dark"] .mp-checkout-wrap .mp-checkout-terms-label a {
	color: #38BDF8 !important;
}
html[data-theme="dark"] .mp-checkout-wrap .mp-terms-checkbox,
html[data-theme="dark"] .mp-checkout-wrap input[type="checkbox"] {
	border: 2px solid #64748B !important;
	background-color: #0B0F19 !important;
	accent-color: #00A4B7 !important;
}

/* Dark Mode Summary */
html[data-theme="dark"] .mp-checkout-wrap .mp-summary-row {
	color: #94A3B8 !important;
}
html[data-theme="dark"] .mp-checkout-wrap .mp-summary-row span:last-child {
	color: #F8FAFC !important;
}
html[data-theme="dark"] .mp-checkout-wrap .mp-summary-row--total {
	color: #F8FAFC !important;
	border-top-color: #1E293B !important;
}
html[data-theme="dark"] .mp-checkout-wrap .mp-summary-total-val {
	color: #00A4B7 !important;
}

/* Dark Mode Guarantee */
html[data-theme="dark"] .mp-checkout-wrap .mp-checkout-guarantee {
	background: rgba(0, 164, 183, 0.08) !important;
	border-color: rgba(0, 164, 183, 0.25) !important;
}
html[data-theme="dark"] .mp-checkout-wrap .mp-guarantee-title {
	color: #F8FAFC !important;
}
html[data-theme="dark"] .mp-checkout-wrap .mp-guarantee-desc {
	color: #94A3B8 !important;
}

/* Dark Mode Coupon Box */
html[data-theme="dark"] .mp-checkout-wrap .mp-coupon-box {
	background: #162032 !important;
	border-color: #1E293B !important;
}
html[data-theme="dark"] .mp-checkout-wrap .mp-coupon-title {
	color: #F8FAFC !important;
}
html[data-theme="dark"] .mp-checkout-wrap .mp-coupon-input-group input.tutor-form-control,
html[data-theme="dark"] .mp-checkout-wrap .mp-coupon-input-group input[name="coupon_code"] {
	background-color: #0B0F19 !important;
	border-color: #1E293B !important;
	color: #F8FAFC !important;
}
html[data-theme="dark"] .mp-checkout-wrap .mp-coupon-input-group input::placeholder {
	color: #64748B !important;
}
html[data-theme="dark"] .mp-checkout-wrap .mp-coupon-input-group button#tutor-apply-coupon-button {
	background: #00A4B7 !important;
	color: #FFFFFF !important;
}

/* Dark Mode Applied Coupon Badge & Wrapper */
html[data-theme="dark"] .mp-checkout-wrap .mp-applied-coupon-row,
html[data-theme="dark"] .mp-checkout-wrap .tutor-checkout-coupon-wrapper,
html[data-theme="dark"] .tutor-checkout-coupon-wrapper {
	background: rgba(16, 185, 129, 0.12) !important;
	border: 1px solid rgba(16, 185, 129, 0.3) !important;
	color: #34D399 !important;
}
html[data-theme="dark"] .mp-checkout-wrap .tutor-checkout-coupon-badge,
html[data-theme="dark"] .tutor-checkout-coupon-badge {
	background-color: #0E2A38 !important;
	border: 1px solid rgba(0, 164, 183, 0.4) !important;
	color: #F8FAFC !important;
}
html[data-theme="dark"] .mp-checkout-wrap .tutor-checkout-coupon-badge span,
html[data-theme="dark"] .mp-checkout-wrap .tutor-checkout-coupon-badge strong,
html[data-theme="dark"] .tutor-checkout-coupon-badge span,
html[data-theme="dark"] .tutor-checkout-coupon-badge strong {
	color: #F8FAFC !important;
}
html[data-theme="dark"] .mp-checkout-wrap .tutor-discount-amount,
html[data-theme="dark"] .tutor-discount-amount {
	color: #34D399 !important;
}

/* CTA Button */
.mp-checkout-wrap .mp-btn-pay {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 14px 24px;
	border: none;
	border-radius: 14px;
	background: linear-gradient(135deg, #0092a6 0%, #016070 100%);
	color: #ffffff;
	font-family: inherit;
	font-size: 1.05rem;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.25s ease;
	margin-top: 16px;
}
.mp-checkout-wrap .mp-btn-pay:hover {
	box-shadow: 0 8px 24px rgba(0, 146, 166, 0.3);
	transform: translateY(-1px);
}
.mp-checkout-wrap .mp-btn-pay:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

/* Login Notice & Google Button */
.mp-checkout-wrap .mp-checkout-login-notice {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 14px;
	padding: 16px 20px;
	background: #f0f9ff;
	border: 1px solid #bae6fd;
	border-radius: 14px;
	margin-bottom: 24px;
}
.mp-checkout-wrap .mp-checkout-login-notice__title {
	font-weight: 700;
	color: #0f172a;
	font-size: 0.95rem;
	margin-bottom: 2px;
}
.mp-checkout-wrap .mp-checkout-login-notice__sub {
	font-size: 0.8rem;
	color: #475569;
}
.mp-checkout-wrap .mp-checkout-login-actions {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}
.mp-checkout-wrap .mp-checkout-google-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 8px 16px;
	min-height: 38px;
	background: #ffffff;
	border: 1.5px solid #cbd5e1;
	border-radius: 10px;
	color: #1e293b;
	font-size: 0.875rem;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
	transition: all 0.2s ease;
}
.mp-checkout-wrap .mp-checkout-google-btn:hover {
	background: #f8fafc;
	border-color: #94a3b8;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
	transform: translateY(-1px);
	color: #0f172a;
}
.mp-checkout-wrap .mp-checkout-login-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 8px 18px;
	min-height: 38px;
	border: none;
	border-radius: 10px;
	background: linear-gradient(135deg, #0092a6, #016070);
	color: #fff;
	font-family: inherit;
	font-size: 0.875rem;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.2s ease;
}
.mp-checkout-wrap .mp-checkout-login-btn:hover {
	box-shadow: 0 4px 12px rgba(0, 146, 166, 0.3);
	transform: translateY(-1px);
}

/* Dark Mode support for Login Notice & Modal */
html[data-theme="dark"] .mp-checkout-wrap .mp-checkout-login-notice {
	background: rgba(30, 41, 59, 0.6) !important;
	border-color: #334155 !important;
}
html[data-theme="dark"] .mp-checkout-wrap .mp-checkout-login-notice__title {
	color: #f8fafc !important;
}
html[data-theme="dark"] .mp-checkout-wrap .mp-checkout-login-notice__sub {
	color: #94a3b8 !important;
}
html[data-theme="dark"] .mp-checkout-wrap .mp-checkout-google-btn {
	background: #1e293b !important;
	border-color: #334155 !important;
	color: #f8fafc !important;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
}
html[data-theme="dark"] .mp-checkout-wrap .mp-checkout-google-btn:hover {
	background: #27354a !important;
	border-color: #475569 !important;
}
html[data-theme="dark"] .tutor-modal .tutor-modal-content-white {
	background: #162032 !important;
	color: #f8fafc !important;
	border: 1px solid #334155 !important;
}
html[data-theme="dark"] .tutor-modal #tutor-login-modal-title {
	color: #f8fafc !important;
}
html[data-theme="dark"] .tutor-modal .mp-form-group label {
	color: #cbd5e1 !important;
}
html[data-theme="dark"] .tutor-modal .mp-input {
	background: #0f172a !important;
	border-color: #334155 !important;
	color: #f8fafc !important;
}
html[data-theme="dark"] .tutor-modal .mp-input:focus {
	border-color: #0092a6 !important;
}
html[data-theme="dark"] .tutor-modal .mp-google-auth-btn {
	background: #1e293b !important;
	border-color: #334155 !important;
	color: #f8fafc !important;
}
html[data-theme="dark"] .tutor-modal .mp-google-auth-btn:hover {
	background: #27354a !important;
	border-color: #475569 !important;
}
html[data-theme="dark"] .tutor-modal .mp-auth-separator > div {
	background: #334155 !important;
}
html[data-theme="dark"] .tutor-modal .mp-auth-separator span {
	color: #94a3b8 !important;
}
html[data-theme="dark"] .tutor-modal label[for="tutor-login-agmnt-1"] {
	color: #cbd5e1 !important;
}

/* Modal Structure & Mobile UX */
.tutor-modal .tutor-modal-window-sm {
	max-width: 480px;
	width: calc(100% - 32px);
	margin: auto;
}
.tutor-modal .tutor-modal-content {
	max-height: 88vh;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}
.tutor-modal form .mp-d-flex {
	flex-wrap: wrap;
	gap: 6px;
}

@media (max-width: 640px) {
	.mp-checkout-wrap .mp-checkout-login-notice {
		flex-direction: column;
		align-items: stretch;
		min-height: 110px !important;
		contain: layout !important;
	}
	.mp-checkout-wrap .mp-checkout-login-actions {
		width: 100%;
		flex-direction: column;
	}
	.mp-checkout-wrap .mp-checkout-google-btn,
	.mp-checkout-wrap .mp-checkout-login-btn {
		width: 100%;
	}
	.tutor-modal .tutor-modal-window-sm {
		width: calc(100% - 24px);
		margin: 16px auto;
	}
	.tutor-modal .tutor-modal-content {
		padding: 24px 18px !important;
	}
}

/* Alerts */
.mp-checkout-wrap .tutor-alert {
	padding: 12px 16px;
	border-radius: 12px;
	margin-bottom: 16px;
}
.mp-checkout-wrap .tutor-alert.tutor-danger {
	background: #fef2f2;
	border: 1px solid #fecaca;
}
.mp-checkout-wrap .tutor-alert.tutor-warning {
	background: #fffbeb;
	border: 1px solid #fde68a;
}