.ai-google-auth {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 4px;
}

.ai-social-auth {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 4px;
}

.ai-social-auth .ai-google-auth {
	margin-bottom: 0;
}

.ai-social-auth__divider {
	position: relative;
	margin: 4px 0 0;
	text-align: center;
	color: #8b93a8;
	font-family: 'Manrope', system-ui, sans-serif;
	font-size: 0.75rem;
	line-height: 1;
}

.ai-social-auth__divider::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	height: 1px;
	background: rgba(255, 255, 255, 0.12);
}

.ai-social-auth__divider span {
	position: relative;
	z-index: 1;
	padding: 0 10px;
	background: rgba(14, 16, 28, 0.98);
}

.ai-auth .ai-social-auth__divider span,
.ai-auth .ai-google-auth__divider span {
	background: rgba(14, 16, 28, 0.85);
}

.ai-sketch-cta__panel-inner .ai-social-auth,
.ai-sketch-cta__panel-inner .ai-google-auth {
	width: 100%;
	max-width: 24rem;
	margin-left: auto;
	margin-right: auto;
}

.ai-sketch-cta__panel-inner .ai-social-auth__divider span,
.ai-sketch-cta__panel-inner .ai-google-auth__divider span {
	background: rgba(10, 12, 22, 0.96);
}

.ai-user-menu__panel .ai-social-auth,
.ai-user-menu__panel .ai-google-auth {
	margin-bottom: 8px;
}

.ai-user-menu__panel .ai-social-auth__divider span,
.ai-user-menu__panel .ai-google-auth__divider span {
	background: rgba(18, 20, 34, 0.98);
}

.ai-google-auth__button {
	position: relative;
	display: block;
	width: 100%;
	min-height: 44px;
}

.ai-google-auth__custom {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	min-height: 44px;
	padding: 12px 18px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.06);
	color: #eef0f6;
	font-family: 'Manrope', system-ui, sans-serif;
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.2;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
	pointer-events: none;
	user-select: none;
	transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.ai-google-auth__button:hover .ai-google-auth__custom {
	border-color: rgba(255, 255, 255, 0.34);
	background: rgba(255, 255, 255, 0.1);
}

.ai-google-auth__button:focus-within .ai-google-auth__custom {
	border-color: rgba(124, 92, 255, 0.65);
	box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.18);
}

.ai-google-auth__icon {
	flex-shrink: 0;
	display: block;
}

.ai-google-auth__label {
	display: inline-block;
}

.ai-google-auth__gis {
	position: absolute;
	inset: 0;
	z-index: 2;
	overflow: hidden;
	opacity: 0.02;
	cursor: pointer;
}

.ai-google-auth__gis > div {
	width: 100% !important;
	height: 100% !important;
	min-width: 100% !important;
}

.ai-google-auth__gis iframe {
	width: 100% !important;
	height: 100% !important;
	min-height: 44px !important;
}

.ai-google-auth__divider {
	position: relative;
	margin: 4px 0 0;
	text-align: center;
	color: #8b93a8;
	font-family: 'Manrope', system-ui, sans-serif;
	font-size: 0.75rem;
	line-height: 1;
}

.ai-google-auth__divider::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	height: 1px;
	background: rgba(255, 255, 255, 0.12);
}

.ai-google-auth__divider span {
	position: relative;
	z-index: 1;
	padding: 0 10px;
	background: rgba(14, 16, 28, 0.98);
}

.ai-auth .ai-google-auth__divider span {
	background: rgba(14, 16, 28, 0.85);
}

.ai-google-auth__notice {
	margin: 0;
	padding: 10px 12px;
	border-radius: 10px;
	font-family: 'Manrope', system-ui, sans-serif;
	font-size: 0.8125rem;
	line-height: 1.5;
}

.ai-google-auth__notice--error {
	background: rgba(239, 68, 68, 0.12);
	border: 1px solid rgba(239, 68, 68, 0.35);
	color: #fecaca;
}
