/* SB Zelle Payments — frontend styles
 * All rules scoped under .sbzp- to avoid theme conflicts (Astra/etc.).
 */

.sbzp-instructions {
	background: linear-gradient(135deg, #faf7ff 0%, #f5f0ff 100%);
	border: 1px solid #ddd1f5;
	border-radius: 12px;
	padding: 24px 28px;
	margin: 24px 0;
	box-shadow: 0 2px 12px rgba(109, 30, 212, 0.06);
}

.sbzp-instructions .sbzp-title {
	color: #6d1ed4;
	margin: 0 0 8px;
	font-size: 22px;
	font-weight: 700;
	letter-spacing: -0.2px;
}

.sbzp-instructions .sbzp-intro {
	color: #4b5563;
	margin: 0 0 18px;
	font-size: 15px;
	line-height: 1.6;
}

.sbzp-grid {
	display: flex;
	gap: 24px;
	align-items: flex-start;
	flex-wrap: wrap;
	margin-bottom: 18px;
}

.sbzp-details { flex: 1 1 320px; min-width: 260px; }
.sbzp-qr      { flex: 0 0 240px; text-align: center; }

.sbzp-table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.sbzp-table th,
.sbzp-table td {
	padding: 10px 14px;
	text-align: left;
	border-bottom: 1px solid #f0eaf9;
	font-size: 14px;
	vertical-align: middle;
}

.sbzp-table th {
	color: #6b7280;
	font-weight: 500;
	width: 38%;
	font-size: 13px;
}

.sbzp-table td { color: #1f2937; }
.sbzp-table tr:last-child th,
.sbzp-table tr:last-child td { border-bottom: none; }

.sbzp-table code {
	background: #f3eaff;
	color: #6d1ed4;
	padding: 3px 8px;
	border-radius: 4px;
	font-size: 13px;
	font-family: 'SF Mono', Menlo, Monaco, Consolas, monospace;
}

.sbzp-table .sbzp-memo {
	font-weight: 600;
	background: #fff7e6;
	color: #92400e;
	border: 1px dashed #f59e0b;
}

.sbzp-qr-img {
	max-width: 100%;
	height: auto;
	background: #fff;
	border-radius: 8px;
	padding: 8px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.sbzp-qr-help {
	font-size: 12px;
	color: #6b7280;
	margin: 8px 0 0;
	line-height: 1.5;
}

.sbzp-steps {
	background: #fff;
	border-radius: 8px;
	padding: 16px 20px 16px 40px;
	margin: 16px 0 0;
	box-shadow: 0 1px 3px rgba(0,0,0,0.05);
	color: #374151;
	font-size: 14px;
	line-height: 1.7;
}

.sbzp-steps li { margin-bottom: 6px; }
.sbzp-steps li:last-child { margin-bottom: 0; }
.sbzp-steps code {
	background: #fff7e6;
	color: #92400e;
	padding: 2px 8px;
	border-radius: 4px;
	font-weight: 600;
}

.sbzp-footer-note {
	margin: 18px 0 0;
	padding-top: 14px;
	border-top: 1px solid #ddd1f5;
	color: #6b7280;
	font-size: 13px;
	font-style: italic;
}

/* Email context — keep simpler styling for clients that strip CSS */
.sbzp-context-email-html {
	background: #f5f0ff;
	border: 1px solid #ddd1f5;
}

/* Mobile */
@media (max-width: 600px) {
	.sbzp-instructions { padding: 18px 16px; }
	.sbzp-instructions .sbzp-title { font-size: 19px; }
	.sbzp-grid { flex-direction: column; }
	.sbzp-qr { flex: 1 1 100%; margin: 0 auto; }
	.sbzp-table th, .sbzp-table td { padding: 9px 10px; font-size: 13px; }
	.sbzp-table th { width: 42%; }
}

/* Invoice buttons in My Account */
.sbzp-invoice-buttons .button {
	margin-right: 8px;
}

/* Checkout method icon size — match WC defaults */
.payment_method_sb_zelle img,
li.wc_payment_method.payment_method_sb_zelle img {
	max-height: 32px;
	width: auto;
	margin-left: 8px;
	vertical-align: middle;
}
