/* Checkout label (block checkout) */
.wc-zelle-label { display: inline-flex; align-items: center; gap: 10px; }
.wc-zelle-label__logo { height: 26px; width: auto; border-radius: 4px; }

/* Classic checkout: keep the gateway icon a sensible size */
#payment .payment_method_zelle > label img,
.wc_payment_method.payment_method_zelle > label img {
	display: inline-block;
	float: none;
	height: 26px !important;
	max-height: 26px !important;
	width: auto;
	margin: 0 0 0 8px;
	vertical-align: middle;
	border-radius: 4px;
}

/* Thank-you page box */
.wc-zelle-box {
	border: 2px solid #6d1ed4;
	border-radius: 10px;
	padding: 20px 22px;
	margin: 0 0 2em;
	background: #faf7ff;
}
.wc-zelle-box h2 { margin-top: 0; }

/* Force readable dark text inside the light box and pop-up (dark themes set white text). */
.wc-zelle-box,
.wc-zelle-box h2,
.wc-zelle-box p,
.wc-zelle-box dt,
.wc-zelle-box dd,
.wc-zelle-box strong,
.wc-zelle-modal__panel,
.wc-zelle-modal__panel h2,
.wc-zelle-modal__panel p,
.wc-zelle-modal__panel dt,
.wc-zelle-modal__panel dd,
.wc-zelle-modal__panel strong { color: #1d1d1f !important; }
.wc-zelle-box dt,
.wc-zelle-modal__panel dt { color: #55525e !important; }
.wc-zelle-box .wc-zelle-amount,
.wc-zelle-modal__panel .wc-zelle-amount,
.wc-zelle-box .wc-zelle-amount *,
.wc-zelle-modal__panel .wc-zelle-amount * { color: #6d1ed4 !important; }

/* Shared details list */
.wc-zelle-details { margin: 0 0 12px; }
.wc-zelle-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 6px 12px;
	padding: 10px 0;
	border-bottom: 1px solid rgba(0,0,0,.08);
}
.wc-zelle-row:last-child { border-bottom: 0; }
.wc-zelle-row dt { margin: 0; font-weight: 400; }
.wc-zelle-row dd { margin: 0; display: flex; align-items: center; gap: 8px; word-break: break-all; }
.wc-zelle-amount { font-size: 1.5em; color: #6d1ed4; }
.wc-zelle-copy {
	font-size: 12px;
	line-height: 1;
	padding: 6px 10px;
	border: 1px solid #6d1ed4;
	border-radius: 999px;
	background: #fff;
	color: #6d1ed4;
	cursor: pointer;
}
.wc-zelle-copy.is-copied { background: #6d1ed4; color: #fff; }
.wc-zelle-instructions { font-size: .95em; margin: 0 0 12px; }

/* Pop-up */
body.wc-zelle-open { overflow: hidden; }
.wc-zelle-modal[hidden] { display: none; }
.wc-zelle-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}
.wc-zelle-modal__backdrop { position: absolute; inset: 0; background: rgba(15, 10, 30, .6); }
.wc-zelle-modal__panel {
	position: relative;
	width: 100%;
	max-width: 440px;
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	background: #fff;
	color: #1d1d1f;
	border-radius: 14px;
	padding: 28px 24px 22px;
	box-shadow: 0 20px 60px rgba(0,0,0,.3);
	text-align: left;
}
.wc-zelle-modal__x {
	position: absolute;
	top: 8px;
	right: 10px;
	border: 0;
	background: none;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	color: #666;
}
.wc-zelle-modal__logo { display: block; height: 40px; width: auto; margin: 0 auto 12px; }
.wc-zelle-modal__panel h2 { margin: 0 0 6px; text-align: center; font-size: 1.35em; }
.wc-zelle-modal__lead { text-align: center; margin: 0 0 14px; }
.wc-zelle-modal__done { display: block; width: 100%; margin-top: 8px; }

/* Pop-up banner: add the business to Zelle contacts */
.wc-zelle-contact {
	margin: 10px 0 18px;
	padding: 14px 16px 6px;
	border: 2px solid #6d1ed4;
	border-radius: 12px;
	background: linear-gradient(135deg, #f3ecff 0%, #faf7ff 100%);
}
.wc-zelle-contact__head { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.wc-zelle-contact__icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: #6d1ed4;
	color: #fff;
}
.wc-zelle-contact__icon svg { display: block; }
.wc-zelle-modal__panel .wc-zelle-contact__icon { color: #fff !important; }
.wc-zelle-contact__title { margin: 0; font-size: 1em; line-height: 1.35; }
.wc-zelle-modal__panel .wc-zelle-contact__title strong { color: #6d1ed4 !important; }
.wc-zelle-contact__rows { margin: 0; }
.wc-zelle-contact .wc-zelle-row { padding: 8px 0; border-bottom-color: rgba(109, 30, 212, .15); }
.wc-zelle-contact .wc-zelle-row:last-child { border-bottom: 0; }
