.app-loader-overlay {
	position: fixed;
	inset: 0;
	width: 100vw;
	height: 100vh;
	height: 100dvh;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	padding: 1rem;
	margin: 0;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.78);
	backdrop-filter: blur(2px);
	z-index: 3000;
}

.app-loader-panel {
	box-sizing: border-box;
	width: min(280px, calc(100vw - 2rem));
	min-width: 0;
	max-width: calc(100vw - 2rem);
	padding: 28px 34px;
	border: 1px solid rgba(0, 0, 0, 0.06);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.10);
	text-align: center;
}

.app-loader-inline {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px 0;
}

.app-loader-animation {
	display: inline-block;
	object-fit: contain;
}

.commerce-quick-dialog {
	border-radius: 22px;
	overflow: hidden;
}

.commerce-quick-dialog-theme {
	min-height: 100%;
	background: var(--commerce-quick-surface, var(--mud-palette-surface));
	color: var(--commerce-quick-text, var(--mud-palette-text-primary));
}

/* Checkout's Link color also covers controls presented as text links. The
   important declaration keeps component/site hover and visited colors from
   replacing an explicitly configured checkout link color. */
:is(.commerce-quick-dialog-theme, .commerce-quick-checkout-shell, .commerce-checkout-shell)
    :is(a, .mud-link, .compliance-link-button, .commerce-receipt__secondary-action) {
	color: var(--commerce-quick-link, var(--bs-link-color, var(--mud-palette-primary))) !important;
}

:is(.commerce-quick-dialog-theme, .commerce-quick-checkout-shell, .commerce-checkout-shell)
    .commerce-coupon-toggle {
	color: var(--commerce-quick-link, var(--commerce-quick-coupon-link, var(--bs-link-color, var(--mud-palette-primary)))) !important;
}

.commerce-quick-dialog-theme .mud-checkbox .mud-icon-root {
	color: var(--commerce-quick-accent, var(--mud-palette-primary));
}

.commerce-quick-dialog .mud-dialog-content {
	padding: 0;
}

.commerce-quick-dialog .mud-dialog-title {
	display: none;
}

.commerce-quick-appearance-header {
	min-height: 40px !important;
	padding-top: 6px !important;
	padding-bottom: 6px !important;
	color: #fff !important;
	font-weight: 700 !important;
}

.commerce-quick-appearance-header .mud-typography,
.commerce-quick-appearance-header .mud-icon-root {
	color: #fff !important;
}

.commerce-quick-appearance-header .mud-typography {
	font-weight: 700 !important;
}

@media (max-width: 768px) {
	.commerce-quick-dialog.mud-dialog,
	.mud-dialog:has(.commerce-quick-dialog) {
		width: calc(100vw - 24px) !important;
		max-width: calc(100vw - 24px) !important;
		margin: 12px !important;
		border-radius: 6px;
	}
}
.commerce-payment-launch-processing.is-launching {
    display: flex !important;
}

.commerce-checkout-shell > .commerce-payment-launch-processing {
    position: absolute;
    inset: 0;
    z-index: 20;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 200px;
    background: var(--commerce-quick-surface, var(--mud-palette-surface));
}

.commerce-checkout-shell > .commerce-payment-launch-processing[hidden]:not(.is-launching) {
    display: none;
}
