/* GKB Memberships front-end */
.gkb-membership-confirmation {
	margin: 12px 0;
	padding: 10px 14px;
	border-radius: 6px;
	background: rgba(0, 0, 0, 0.04);
}

.gkb-membership-card h3 {
	margin: 0 0 10px;
}

.gkb-membership-facts {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 8px;
}

.gkb-membership-facts li {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 8px 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.gkb-membership-pay-step {
	margin: 12px 0;
	padding: 12px 14px;
	border-radius: 6px;
	background: rgba(0, 0, 0, 0.04);
}

.gkb-membership-pay-step-error {
	background: rgba(200, 0, 0, 0.06);
}

.gkb-membership-verify-notice {
	margin: 0 0 16px;
	padding: 14px 16px;
	border-radius: 6px;
	border: 1px solid rgba(200, 120, 0, 0.35);
	background: rgba(255, 170, 0, 0.08);
}

.gkb-membership-verify-notice p {
	margin: 6px 0 0;
}

.gkb-membership-verify-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
}

.gkb-membership-verify-btn {
	display: inline-block;
	padding: 9px 14px;
	border-radius: 6px;
	background: #111;
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	touch-action: manipulation;
	cursor: pointer;
}

.gkb-membership-verify-btn:hover,
.gkb-membership-verify-btn:focus {
	color: #fff;
	opacity: 0.85;
}

.gkb-membership-verify-btn-secondary {
	background: transparent;
	color: inherit;
	border: 1px solid currentColor;
}

.gkb-membership-verify-btn-secondary:hover,
.gkb-membership-verify-btn-secondary:focus {
	color: inherit;
}

.gkb-membership-verify-status {
	margin-top: 10px;
	font-size: 0.95em;
	opacity: 0.85;
}

.gkb-membership-verify-notice-paid {
	border-color: rgba(0, 140, 60, 0.35);
	background: rgba(0, 170, 80, 0.08);
}

html.gkb-pay-open,
html.gkb-pay-open body {
	overflow: hidden;
	overscroll-behavior: none;
}

.gkb-pay-overlay {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	height: 100dvh;
	z-index: 2147483000;
	background: rgba(0, 0, 0, 0.55);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.gkb-pay-dialog {
	position: relative;
	display: flex;
	flex-direction: column;
	width: min(640px, 100%);
	height: min(860px, 100%);
	min-height: 0;
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.gkb-pay-scroll {
	flex: 1 1 auto;
	min-height: 0;
	width: 100%;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}

.gkb-pay-frame {
	width: 100%;
	height: 100%;
	min-height: 100%;
	border: 0;
	display: block;
}

.gkb-pay-loading {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	color: #333;
}

.gkb-pay-close {
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 2;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.08);
	font-size: 24px;
	line-height: 36px;
	cursor: pointer;
}

@media (max-width: 600px) {
	.gkb-pay-overlay {
		padding: 0;
	}
	.gkb-pay-dialog {
		width: 100%;
		height: 100%;
		height: 100dvh;
		border-radius: 0;
	}
}
