/* Intentionally minimal — inherit the theme's look, don't fight it. */
.veriway-form {
	display: grid;
	gap: 0.75rem;
	max-width: 24rem;
}

.veriway-form label {
	display: grid;
	gap: 0.25rem;
}

.veriway-form input {
	padding: 0.5rem 0.75rem;
	font-size: 1rem;
	width: 100%;
	box-sizing: border-box;
}

.veriway-form .veriway-step {
	display: grid;
	gap: 0.75rem;
}

/* Author display values beat the UA [hidden] rule — restore it explicitly. */
.veriway-form .veriway-step[hidden] {
	display: none;
}

.veriway-form .veriway-link {
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	text-decoration: underline;
	justify-self: start;
	font-size: 0.875rem;
}

.veriway-form .veriway-alt {
	background: none;
	border: 1px solid currentColor;
	padding: 0.5rem 0.75rem;
	cursor: pointer;
	font-size: 0.9375rem;
}

.veriway-account {
	display: grid;
	gap: 0.75rem;
	max-width: 28rem;
}

.veriway-account label {
	display: grid;
	gap: 0.25rem;
}

.veriway-passkey-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.5rem;
}

.veriway-passkey-list li {
	display: flex;
	gap: 0.75rem;
	align-items: baseline;
}

.veriway-social {
	display: grid;
	gap: 0.5rem;
	margin-top: 0.25rem;
}

.veriway-social a {
	display: block;
	text-align: center;
	padding: 0.5rem 0.75rem;
	border: 1px solid currentColor;
	text-decoration: none;
}

.veriway-message:empty {
	display: none;
}

.veriway-message.is-error {
	color: #b32d2e;
}
