/**
 * Estilos modernos y ligeros para PayPal Blocks Gateway.
 */

.wc-paypal-blocks-container {
	margin: 16px 0;
	padding: 14px;
	background: #fbfbfd;
	border: 1px solid #e2e4e7;
	border-radius: 8px;
	box-sizing: border-box;
	transition: all 0.2s ease-in-out;
}

.wc-paypal-blocks-description {
	font-size: 14px;
	line-height: 1.5;
	color: #555d66;
	margin-bottom: 14px;
}

.wc-paypal-pay-later-container {
	margin-bottom: 14px;
	padding: 8px 12px;
	background: #ffffff;
	border: 1px dashed #d0d5dd;
	border-radius: 6px;
	font-size: 13px;
}

.wc-paypal-button-mount {
	min-height: 45px;
	width: 100%;
	position: relative;
}

.wc-paypal-loading-overlay {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 20px 0;
	color: #003087;
	font-weight: 500;
	font-size: 14px;
}

.wc-paypal-spinner {
	width: 28px;
	height: 28px;
	border: 3px solid rgba(0, 48, 135, 0.15);
	border-top-color: #003087;
	border-radius: 50%;
	animation: wc-paypal-spin 0.8s linear infinite;
	margin-bottom: 10px;
}

@keyframes wc-paypal-spin {
	to {
		transform: rotate(360deg);
	}
}

.wc-paypal-error-message {
	margin-top: 10px;
	padding: 10px 14px;
	background-color: #fff1f0;
	border: 1px solid #ffa39e;
	border-radius: 6px;
	color: #cf1322;
	font-size: 13px;
	line-height: 1.4;
}

.wc-paypal-label-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.wc-paypal-label-logo {
	vertical-align: middle;
	height: 20px;
	width: auto;
}

/* Express Button Header */
.wc-paypal-express-container {
	margin: 12px 0 20px 0;
	width: 100%;
}
