/**
 * Stay and Play — Authorize.Net gateway styles.
 *
 * Brand-neutral defaults that follow the host theme's payment-page
 * input chrome. Themes that want custom branding (Stay & Pray's
 * emerald/gold, STFU's neon pink, etc.) can override these
 * selectors in their snp-theme-overrides.css bridge file.
 *
 * V.1.0.0 — Initial release.
 */

.snp-authnet { margin: 0 0 12px; }

.snp-authnet__row {
	margin: 0 0 12px;
}
.snp-authnet__row--2col {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}
.snp-authnet__label {
	display: block;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: #475569;
	margin: 0 0 4px;
}
.snp-authnet__input {
	width: 100%;
	box-sizing: border-box;
	padding: 10px 12px;
	font: inherit;
	font-size: 15px;
	color: #0f172a;
	background: #fff;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	transition: border-color 120ms ease, box-shadow 120ms ease;
}
.snp-authnet__input:focus {
	outline: none;
	border-color: #475569;
	box-shadow: 0 0 0 3px rgba( 71, 85, 105, .15 );
}
.snp-authnet__error {
	margin: 6px 0 0;
	padding: 8px 12px;
	font-size: 13px;
	color: #b91c1c;
	background: #fef2f2;
	border: 1px solid rgba( 185, 28, 28, .22 );
	border-radius: 6px;
}
.snp-authnet__note {
	margin: 0 0 14px;
	padding: 10px 12px;
	font-size: 13px;
	color: #475569;
	background: #f8fafc;
	border-left: 3px solid #cbd5e1;
	border-radius: 4px;
}
.snp-authnet__authorise {
	margin: 4px 0 0;
	font-size: 13px;
}
.snp-authnet__authorise input { margin-right: 6px; }

/* Wallet block ─────────────────────────────────────────────── */
.snp-authnet__wallets {
	margin: 0 0 16px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.snp-authnet__or {
	position: relative;
	text-align: center;
	margin: 6px 0 0;
}
.snp-authnet__or::before,
.snp-authnet__or::after {
	content: "";
	position: absolute;
	top: 50%;
	width: calc(50% - 60px);
	height: 1px;
	background: #e2e8f0;
}
.snp-authnet__or::before { left: 0; }
.snp-authnet__or::after  { right: 0; }
.snp-authnet__or span {
	display: inline-block;
	padding: 0 12px;
	font-size: 11.5px;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: #94a3b8;
}

.snp-authnet__apple-pay,
.snp-authnet__apple-pay-large {
	display: block;
	width: 100%;
	height: 44px;
	background: #000 -webkit-named-image( apple-pay-logo-white ) center/55% no-repeat;
	background-color: #000;
	border: 0;
	border-radius: 8px;
	cursor: pointer;
}
.snp-authnet__google-pay,
.snp-authnet__google-pay-large {
	width: 100%;
	min-height: 44px;
}

.snp-authnet__wallet-fallback {
	margin: 12px 0 0;
	font-size: 12px;
	color: #64748b;
	text-align: center;
}
