/**
 * WonderPay WooCommerce Checkout & Embedded iFrame Styles
 */

/* Payment Icons at Checkout */
.wonder-payment-icons {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-left: 8px;
	vertical-align: middle;
}

.wonder-payment-svg-wrap {
	display: inline-block;
	height: 20px;
	vertical-align: middle;
}

.wonder-payment-svg {
	height: 20px;
	width: auto;
	max-width: 32px;
	display: block;
	border-radius: 2px;
}

/* Embedded Pay Page Layout */
.wonderpay-checkout-wrapper {
	margin-top: 24px;
	margin-bottom: 48px;
}

.wonderpay-customer-info-box,
.wonderpay-order-summary-box {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 24px;
	margin-bottom: 24px;
}

.wonderpay-customer-info-box h3,
.wonderpay-order-summary-box h3 {
	margin-top: 0;
	margin-bottom: 16px;
	padding-bottom: 10px;
	border-bottom: 2px solid #f1f5f9;
	font-size: 16px;
	font-weight: 700;
	text-transform: uppercase;
	color: #0f172a;
}

.wonderpay-customer-info-box table.customer_details {
	margin: 0;
}

.wonderpay-customer-info-box table.customer_details th {
	width: 35%;
	font-weight: 600;
	color: #475569;
	padding: 8px 12px 8px 0;
	border-bottom: 1px dashed #f1f5f9;
}

.wonderpay-customer-info-box table.customer_details td {
	color: #1e293b;
	padding: 8px 0;
	border-bottom: 1px dashed #f1f5f9;
}

/* Currency & Exchange Rate Notice Box */
.wonderpay-currency-notice-box {
	background: #f8fafc;
	border: 1px solid #cbd5e1;
	border-left: 4px solid #0284c7;
	border-radius: 8px;
	padding: 16px 20px;
	margin-bottom: 24px;
	color: #1e293b;
	font-size: 14px;
	line-height: 1.5;
}

.wonderpay-notice-header {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-weight: 500;
	color: #0f172a;
	margin-bottom: 6px;
}

.wonderpay-notice-icon {
	flex-shrink: 0;
	margin-top: 2px;
	color: #0284c7;
}

.wonderpay-notice-details {
	padding-left: 30px;
	font-size: 13px;
	color: #475569;
}

.wonderpay-notice-details p {
	margin: 3px 0;
}

.wonderpay-fx-total {
	font-weight: 600;
	color: #0f172a;
}

/* Light Sky-Blue Notice Box (Matching User Image) */
.wonderpay-pay-banner-box {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	background: #d8f0ff !important;
	color: #0f172a !important;
	border-radius: 12px !important;
	padding: 12px 20px !important;
	margin-bottom: 16px !important;
	border: 1px solid #b5e2ff !important;
	box-shadow: none !important;
	width: 100% !important;
	text-align: center !important;
}

.wonderpay-pay-banner-icon {
	color: #0f172a !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex-shrink: 0 !important;
	margin-right: 10px !important;
}

.wonderpay-pay-banner-amount {
	font-size: 16px !important;
	font-weight: 700 !important;
	color: #0f172a !important;
	letter-spacing: -0.01em !important;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
	display: inline-block !important;
}

.wonderpay-pay-card-border {
	width: 100%;
	height: auto !important;
	min-height: 500px;
	border-radius: 12px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	margin-bottom: 24px;
}

.wonderpay-pay-iframe-container {
	position: relative !important;
	width: 100% !important;
	height: 660px !important;
	min-height: 660px !important;
	background: #f5f5f5;
	overflow: hidden !important;
}

.wonderpay-pay-iframe-cropper {
	position: absolute !important;
	top: -470px !important;
	left: 0 !important;
	right: 0 !important;
	width: 100% !important;
	height: 1114px !important;
	background: #f5f5f5;
	overflow-y: auto !important;
	-webkit-overflow-scrolling: touch;
}

.wonderpay-pay-iframe {
	width: 100% !important;
	height: 100% !important;
	min-height: 1114px !important;
	background: #f5f5f5;
	border: none !important;
	display: block !important;
	overflow-y: auto !important;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
	.wonderpay-checkout-wrapper {
		margin-top: 0;
		margin-bottom: 0;
	}

	.wonderpay-currency-notice-box {
		margin-bottom: 0;
	}

	.wonderpay-customer-info-box,
	.wonderpay-order-summary-box {
		display: none !important;
	}

	.wonderpay-pay-card-border {
		border-radius: 8px;
	}
}