/* Login button: replicate Nextend's default button layout, scoped to our own class
   so it matches the Google/Microsoft/Apple buttons without needing Nextend's
   .nsl-container ancestor (which its JS hides if it didn't build it). */
a.azstrut-passkey-button {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	box-sizing: border-box;
	width: 100%;
	margin: 5px 0;
	border: 0;
	border-radius: 4px;
	box-shadow: none;
	text-decoration: none;
	cursor: pointer;
	color: #fff;
}

.azstrut-passkey-button .nsl-button-svg-container {
	flex: 0 0 auto;
	padding: 8px;
	display: flex;
	align-items: center;
}

.azstrut-passkey-button .nsl-button-svg-container svg {
	width: 24px;
	height: 24px;
	vertical-align: top;
}

.azstrut-passkey-button .nsl-button-label-container {
	flex: 1 1 auto;
	margin: 0 24px 0 12px;
	padding: 10px 0;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 20px;
	letter-spacing: .25px;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: clip;
	color: #fff;
}

.azstrut-passkey-button.azstrut-passkey-busy {
	opacity: 0.6;
	pointer-events: none;
}

/* WooCommerce edit-account block */
.azstrut-passkeys-wc {
	margin: 1.5em 0;
	padding-top: 1.25em;
	border-top: 1px solid rgba( 0, 0, 0, 0.1 );
}

.azstrut-passkeys-wc h3 {
	margin: 0 0 0.25em;
}

.azstrut-passkeys-intro {
	color: #666;
	margin: 0 0 1em;
}

/* Manager */
.azstrut-passkeys-list {
	margin: 0 0 1em;
	padding: 0;
	list-style: none;
}

.azstrut-passkeys-list li {
	display: flex;
	align-items: center;
	gap: 0.75em;
	padding: 0.5em 0;
	border-bottom: 1px solid rgba( 0, 0, 0, 0.08 );
}

.azstrut-passkey-label {
	font-weight: 600;
}

.azstrut-passkey-meta {
	color: #666;
	font-size: 0.9em;
	flex: 1;
}

.azstrut-passkeys-add {
	display: flex;
	align-items: center;
	gap: 0.5em;
	flex-wrap: wrap;
}

.azstrut-passkeys-add .azstrut-pk-name {
	min-width: 16em;
}

.azstrut-passkeys-msg {
	margin-top: 0.5em;
	color: #1a7f37;
}

.azstrut-passkeys-msg.is-error {
	color: #b32d2e;
}
