/* ── Front-end (checkout / thank you / My Account view-order) ─────────── */

/* Provider logos rendered via get_icon() — visible next to the title
   whether or not the gateway is selected (that's the whole point: it lives
   inside the <label>, not inside .payment_box, which WC hides until
   selected). Wraps onto its own line under the title if there isn't room
   alongside it — see #payment ul.payment_methods li label in the theme's
   checkout CSS for the flex-wrap that makes that possible. */
.swapot-pay-title-logos {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
}

.swapot-pay-title-logo {
	max-width: 40px;
	max-height: 24px;
	object-fit: contain;
}

.swapot-pay-instructions {
	margin-top: 10px;
}

.swapot-pay-instructions p {
	font-size: 14px;
	line-height: 1.7;
	color: #555;
	margin: 0 0 12px;
}

.swapot-pay-accounts {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 12px;
}

.swapot-pay-account {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	border: 1px solid #ececec;
	border-radius: 10px;
	padding: 14px 16px;
	background: #fff;
}

.swapot-pay-account__logo {
	flex: 0 0 auto;
	width: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.swapot-pay-account__logo img {
	max-width: 60px;
	max-height: 40px;
	object-fit: contain;
}

.swapot-pay-account__body {
	flex: 1 1 auto;
	min-width: 0;
}

.swapot-pay-account__label {
	font-size: 14px;
	font-weight: 700;
	color: var(--swapot-dark, #1A1A1A);
	margin: 0 0 4px;
}

.swapot-pay-account__title {
	font-size: 13px;
	color: #555;
	margin: 0 0 4px;
}

.swapot-pay-account__details {
	font-size: 13px;
	line-height: 1.6;
	color: #666;
	margin: 0;
}

.swapot-pay-contact {
	font-size: 13px;
	color: #555;
	margin: 12px 0 0;
}

.swapot-pay-contact a {
	color: var(--swapot-green, #3a9d57);
	font-weight: 600;
	text-decoration: none;
}

.swapot-pay-contact a:hover,
.swapot-pay-contact a:focus-visible {
	text-decoration: underline;
}

/* ── Admin: gateway settings repeater ──────────────────────────────────── */

.wc_input_table.widefat .account td {
	vertical-align: top;
	padding: 8px;
}

.wc_input_table.widefat .account textarea {
	width: 100%;
	min-height: 44px;
}

.wc_input_table.widefat .account input[type="text"] {
	width: 100%;
}
