/*
 * Two-step (Gmail-style) login (WI #18767). Each step holds little content, so let the otherwise fixed-height login
 * card shrink to fit and avoid an empty gap below the buttons/tiles. Loaded on every step (identity/methods/password),
 * not just the methods panel, so the card sizes consistently across the flow.
 */
.o-container-loginform {
	height: auto !important;
	min-height: auto !important;
	padding-bottom: 24px;
}

/*
 * Identity chip on the password step (same look as the methods-step chip). Styles live here because this stylesheet is
 * always loaded for two-step — including the remembered-method shortcut that lands on PASSWORD without ever rendering
 * AuthMethodSelectorPanel.
 */
.c-login-identity-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	max-width: 100%;
	margin: 0 0 12px;
	padding: 6px 12px;
	border: 1px solid rgba(128, 128, 128, .4);
	border-radius: 999px;
	color: inherit;
	text-decoration: none;
}

.c-login-identity-chip:hover {
	background: rgba(128, 128, 128, .12);
}

.c-login-identity-chip .c-auth-chip__avatar {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	color: #5f6368;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.c-login-identity-chip .c-auth-chip__id {
	overflow: hidden;
	font-size: 14px;
	font-weight: 500;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.c-login-identity-chip .c-auth-chip__caret {
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	opacity: .7;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}
