/* NetCommerce Unified Checkout modal */
html.al-uc-open,
html.al-uc-open body {
	overflow: hidden;
}

.al-uc-overlay {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 24px 16px;
	overflow-y: auto;
	background: rgba(17, 22, 66, 0.55);
}

.al-uc-overlay[hidden] {
	display: none;
}

.al-uc-dialog {
	position: relative;
	width: 100%;
	max-width: 560px;
	margin: auto 0;
	padding: 28px 24px 20px;
	border: 1px solid #BCC1D3;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 20px 50px rgba(17, 22, 66, 0.25);
}

.al-uc-close {
	position: absolute;
	top: 10px;
	right: 14px;
	border: 0;
	background: none;
	color: #232E83;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.al-uc-title {
	margin: 0 32px 4px 0;
	color: #232E83;
	font-size: 22px;
}

.al-uc-amount {
	margin: 0 0 12px;
	color: #EE1944;
	font-size: 16px;
}

.al-uc-message:empty {
	display: none;
}

.al-uc-message {
	margin-bottom: 12px;
	padding: 10px 14px;
	border-radius: 8px;
	font-size: 14px;
	background: #F4F5F9;
	color: #232E83;
}

.al-uc-message.is-success {
	background: #ecfdf3;
	color: #15803d;
}

.al-uc-message.is-error {
	background: #fef2f2;
	color: #b91c1c;
}

.al-uc-receipt {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 6px 14px;
	margin: 12px 0 0;
	padding-top: 12px;
	border-top: 1px solid currentColor;
	border-top-color: rgba(0, 0, 0, 0.1);
	color: #1f1f1f;
}

.al-uc-receipt dt {
	font-weight: 600;
}

.al-uc-receipt dd {
	margin: 0;
	word-break: break-all;
}

.al-uc-buttons,
.al-uc-screen {
	width: 100%;
}

.al-uc-seal {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 18px;
	padding-top: 14px;
	border-top: 1px solid #E3E6F0;
	text-align: center;
}

.al-uc-seal-text {
	color: #515151;
	font-size: 12px;
}
