body.rczs-payment-options-open {
	overflow: hidden;
}

.rczs-payment-options[hidden],
.rczs-payment-panel[hidden],
.rczs-bank-panel[hidden] {
	display: none !important;
}

.rczs-payment-options {
	align-items: flex-start;
	box-sizing: border-box;
	color: #30343b;
	display: flex;
	font-family: inherit;
	inset: 0;
	justify-content: center;
	padding: 2em 24px;
	position: fixed;
	z-index: 1000000;
}

.rczs-payment-options-backdrop {
	background: rgba(0, 0, 0, 0.42);
	inset: 0;
	position: absolute;
}

.rczs-payment-options-dialog {
	background: #fff;
	border-radius: 24px;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
	box-sizing: border-box;
	max-height: calc(100vh - 4em);
	max-width: 900px;
	overflow-y: auto;
	padding: 30px;
	position: relative;
	text-align: left;
	width: 100%;
	z-index: 1;
}

.rczs-payment-options-dialog > h2 {
	color: #666;
	font-size: 18px !important;
	font-weight: 400;
	line-height: 1.25;
	margin: 0 44px 24px 0;
}

.rczs-payment-options-close {
	background: transparent !important;
	border: 0;
	box-shadow: none !important;
	color: #999;
	text-shadow: none;
	cursor: pointer;
	font: 300 38px/1 sans-serif;
	height: 44px;
	padding: 0;
	position: absolute;
	right: 15px;
	top: 12px;
	width: 44px;
}

.rczs-payment-options-close:hover {
	color: #000;
}

.rczs-payment-tabs,
.rczs-bank-tabs {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

/* Keep the method selector and its active content in one visual group. */
.rczs-payment-methods {
	background: transparent;
	padding: 0;
}

.rczs-payment-tabs {
	align-items: stretch;
	flex-wrap: nowrap;
	background: transparent;
	border-radius: 999px;
	gap: 4px;
	margin: 0;
	padding: 0;
	position: relative;
	isolation: isolate;
}

.rczs-payment-tabs::before {
	background: #f0f5ee;
	border-radius: inherit;
	content: "";
	inset: 4px 0;
	pointer-events: none;
	position: absolute;
	z-index: -1;
}

.rczs-payment-tabs button,
.rczs-bank-tabs button {
	appearance: none;
	background: transparent;
	border: 1px solid #ccc !important;
	border-radius: 999px;
	box-shadow: none !important;
	color: #45494f;
	cursor: pointer;
	font: inherit;
	font-size: 16px !important;
	font-weight: 500;
	line-height: 1.3;
	min-height: 40px;
	padding: 9px 16px;
	text-shadow: none !important;
}

.rczs-payment-tabs button {
	background: transparent;
	color: #999;
	text-transform: uppercase;
	border: 1px solid transparent !important;
	flex: 1 1 0;
	font-size: 16px !important;
	margin: 0;
	min-height: 48px;
	min-width: 0;
	overflow-wrap: anywhere;
	padding: 12px 16px;
	transition: background-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.rczs-payment-tabs button:not([aria-selected="true"]):hover {
	background: transparent;
	color: #6f6f6f;
}

.rczs-payment-tabs button {
	position: relative;
	isolation: isolate;
}

/* Highlight only this section, within the thinner track. */
.rczs-payment-tabs button:not([aria-selected="true"]):hover::before {
	background: #e3eddf;
	content: "";
	inset: 4px -2px;
	pointer-events: none;
	position: absolute;
	z-index: -1;
}

.rczs-payment-tabs button:first-child:hover::before {
	border-radius: 999px 0 0 999px;
	left: 0;
}

.rczs-payment-tabs button:last-child:hover::before {
	border-radius: 0 999px 999px 0;
	right: 0;
}

.rczs-payment-tabs button:first-child,
.rczs-bank-tabs button:first-child {
	border-radius: 999px;
}

.rczs-payment-tabs button:last-child,
.rczs-bank-tabs button:last-child {
	border-radius: 999px;
}

.rczs-payment-tabs button[aria-selected="true"] {
	background: #fff;
	border: 1px solid #ccc !important;
	box-shadow: 0 2px 6px rgba(35, 48, 31, 0.09) !important;
	color: #778375;
	font-weight: 500;
}

.rczs-payment-tabs button[aria-selected="true"]:hover {
	color: #6f6f6f;
}

.rczs-payment-tabs button:focus-visible,
.rczs-bank-tabs button:focus-visible {
	outline: 2px solid #6f9d65;
	outline-offset: 2px;
}

.rczs-payment-panel {
	background: #fff;
	border: 0;
	border-top: 1px solid #edf0eb;
	box-sizing: border-box;
	margin-top: 20px;
	padding: 24px 0 0;
}

.rczs-payment-panel-online {
	padding: 32px 0 8px;
}

.rczs-payment-panel-title {
	color: #30343b;
	font-size: 21px !important;
	font-weight: 400;
	line-height: 1.3;
	margin: 0 0 24px;
}

.rczs-online-payment-content {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	text-align: left;
}

.rczs-online-payment-intro {
	font-size: 17px;
	line-height: 1.55;
	margin: 0 0 26px;
	max-width: 650px;
}

.rczs-payment-logos {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: flex-start;
	margin: 0 0 30px;
	max-width: 760px;
}

.rczs-payment-logo {
	display: block;
	flex: 0 0 auto;
	width: 75px;
}

.rczs-payment-logo img {
	display: block;
	height: auto;
	width: 100%;
}

.rczs-options-primary-button,
.rczs-options-primary-button:link,
.rczs-options-primary-button:visited,
.rczs-options-paypal-button,
.rczs-options-paypal-button:link,
.rczs-options-paypal-button:visited {
	background: #80ad75;
	border: 1px solid #74a269;
	border-radius: 12px;
	box-sizing: border-box;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-weight: 500;
	justify-content: center;
	min-height: 48px;
	padding: 12px 20px;
	text-decoration: none;
}

.rczs-options-primary-button:hover,
.rczs-options-primary-button:focus,
.rczs-options-paypal-button:hover,
.rczs-options-paypal-button:focus {
	background: #709e66;
	color: #fff;
}

.rczs-options-privacy {
	color: #6b7076;
	font-size: 0.82em;
	margin: 14px auto 0;
}

.rczs-bank-tabs {
	gap: 6px;
	margin-bottom: 20px;
	padding: 0;
}

.rczs-bank-tabs button,
.rczs-bank-tabs button:first-child,
.rczs-bank-tabs button:last-child {
	align-items: center;
	background: transparent;
	border: 1px solid #ccc !important;
	border-radius: 999px;
	display: inline-flex;
	gap: 8px;
	justify-content: center;
	margin: 0;
	min-height: 38px;
	padding: 7px 12px;
}

.rczs-bank-tabs button[aria-selected="true"] {
	background: #e7efe4;
	color: #456940;
}

.rczs-bank-tab-icons {
	align-items: center;
	display: inline-flex;
	gap: 3px;
}

.rczs-bank-tab-flag {
	border: 1px solid rgba(0, 0, 0, 0.12);
	box-sizing: border-box;
	display: block;
	height: 15px;
	object-fit: cover;
	width: 21px;
}

.rczs-bank-tab-globe {
	fill: none;
	height: 15px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.5;
	width: 15px;
}

.rczs-bank-panel {
	background: #f7f8f6;
	border-radius: 16px;
	margin: 0;
	padding: 20px;
}

.rczs-bank-content {
	background: transparent;
	padding: 0;
}

.rczs-bank-accounts {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rczs-bank-account {
	background: #f7f8f6;
	border-radius: 16px;
	min-width: 0;
	padding: 20px;
}

.rczs-bank-content h2 {
	align-items: center;
	color: #30343b;
	display: flex;
	font-size: 1.4rem !important;
	font-weight: 600;
	gap: 10px;
	line-height: 1.25;
	margin: 0 0 0.8em;
}

.rczs-bank-account-icons {
	align-items: center;
	display: inline-flex;
	flex: 0 0 auto;
	gap: 4px;
}

.rczs-bank-account-flag {
	box-sizing: border-box;
	display: block;
	height: 17px;
	object-fit: cover;
	width: 24px;
}

.rczs-bank-account-globe {
	border: 1.5px solid currentColor;
	border-radius: 50%;
	box-sizing: border-box;
	display: inline-block;
	height: 17px;
	position: relative;
	width: 17px;
}

.rczs-bank-account-globe::before,
.rczs-bank-account-globe::after {
	content: "";
	left: 50%;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
}

.rczs-bank-account-globe::before {
	border-top: 1px solid currentColor;
	width: 100%;
}

.rczs-bank-account-globe::after {
	border-left: 1px solid currentColor;
	border-right: 1px solid currentColor;
	border-radius: 50%;
	height: 100%;
	width: 7px;
}

.rczs-bank-content p {
	line-height: 1.45;
	margin: 0 0 0.85em;
	overflow-wrap: anywhere;
}

.rczs-bank-content p:last-child {
	margin-bottom: 0;
}

.rczs-bank-detail + .rczs-bank-detail {
	margin-top: 15px;
}

.rczs-bank-detail dt {
	font-weight: 500;
	margin-bottom: 3px;
}

.rczs-bank-detail dd {
	line-height: 1.45;
	margin: 0;
	overflow-wrap: anywhere;
}

.rczs-payment-panel-paypal {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	text-align: left;
}

.rczs-payment-panel-paypal .rczs-payment-panel-title {
	display: block;
	width: 100%;
}

.rczs-payment-panel-paypal .rczs-options-paypal-button {
	margin-left: 0;
}

.rczs-paypal-intro {
	margin: 0 0 24px;
}

.rczs-paypal-form {
	margin: 0;
}

@media (max-width: 600px) {
	.rczs-payment-options {
		align-items: flex-start;
		padding: max(2em, env(safe-area-inset-top)) 12px max(2em, env(safe-area-inset-bottom));
	}

	.rczs-payment-options-dialog {
		max-height: calc(100vh - 4em);
		padding: 22px 16px;
	}

	.rczs-payment-options-dialog > h2 {
		font-size: 18px !important;
	}

	.rczs-payment-tabs button,
	.rczs-bank-tabs button {
		font-size: 14px !important;
		padding: 8px 11px;
	}

	.rczs-payment-tabs button {
		font-size: 14px !important;
		padding: 10px 6px;
	}

	.rczs-payment-methods {
		padding: 0;
	}

	.rczs-bank-tabs {
		gap: 4px;
	}

	.rczs-payment-panel {
		margin-top: 16px;
		padding: 20px 0 0;
	}

	.rczs-payment-panel-online {
		padding: 24px 0 4px;
	}

	.rczs-online-payment-intro {
		font-size: 16px;
		margin-bottom: 22px;
	}

	.rczs-payment-logos {
		gap: 7px;
		margin-bottom: 24px;
	}

	.rczs-bank-panel {
		padding: 16px;
	}

	.rczs-bank-content {
		padding: 0;
	}

	.rczs-bank-accounts {
		grid-template-columns: 1fr;
	}

	.rczs-bank-account {
		padding: 16px;
	}

	.rczs-options-primary-button,
	.rczs-options-paypal-button {
		width: 100%;
	}
}

/* One shared active surface glides beneath the stationary labels. */
.rczs-payment-tabs.has-slider::after {
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 999px;
	box-shadow: 0 2px 6px rgba(35, 48, 31, 0.09);
	box-sizing: border-box;
	content: "";
	height: var(--slider-height);
	left: 0;
	pointer-events: none;
	position: absolute;
	top: var(--slider-top);
	transform: translateX(var(--slider-left));
	width: var(--slider-width);
	z-index: 0;
}

.rczs-payment-tabs.has-slider button {
	z-index: 1;
}

.rczs-payment-tabs.has-slider button[aria-selected="true"] {
	background: transparent;
	border-color: transparent !important;
	box-shadow: none !important;
}

.rczs-payment-tabs.slider-ready::after {
	transition: transform 250ms ease, width 250ms ease, height 250ms ease;
}

@media (prefers-reduced-motion: reduce) {
	.rczs-payment-tabs.slider-ready::after {
		transition: none;
	}
}
