.gpl-sl-one-tap-overlay {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(0, 0, 0, 0.45);
}

.gpl-sl-one-tap-overlay[hidden] {
	display: none;
}

.gpl-sl-one-tap-overlay__panel {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	width: 100%;
	max-width: 320px;
	padding: 24px 28px;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
	color: #1d2327;
	text-align: center;
}

.gpl-sl-one-tap-overlay__spinner {
	width: 36px;
	height: 36px;
	border: 3px solid #dadce0;
	border-top-color: #4285f4;
	border-radius: 50%;
	animation: gpl-sl-one-tap-spin 0.8s linear infinite;
}

.gpl-sl-one-tap-overlay__message {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
}

.gpl-sl-one-tap-error {
	position: fixed;
	top: 16px;
	left: 50%;
	z-index: 1000000;
	width: calc(100% - 32px);
	max-width: 480px;
	padding: 12px 16px;
	border: 1px solid #d63638;
	border-radius: 4px;
	background: #fcf0f1;
	color: #1d2327;
	font-size: 14px;
	line-height: 1.4;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	transform: translateX(-50%);
}

.gpl-sl-one-tap-error[hidden] {
	display: none;
}

@keyframes gpl-sl-one-tap-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	.gpl-sl-one-tap-overlay__spinner {
		animation: none;
		border-top-color: #4285f4;
	}
}
