/*
 * Sign-in / registration forms. Colours and fonts come from the active theme
 * (currentColor, inherit), so the forms blend in with any theme.
 */
.pmm-auth {
	max-width: 26rem;
	box-sizing: border-box;
}

.pmm-auth *,
.pmm-auth *::before,
.pmm-auth *::after {
	box-sizing: inherit;
}

.pmm-auth-form {
	margin: 0 0 1.25rem;
}

.pmm-auth-form p {
	margin: 0 0 1rem;
}

.pmm-auth-field label {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 600;
}

.pmm-auth-field input {
	display: block;
	width: 100%;
	padding: 0.65em 0.8em;
	font: inherit;
	color: inherit;
	background: transparent;
	border: 1px solid rgba(127, 127, 127, 0.55);
	border: 1px solid color-mix(in srgb, currentColor 35%, transparent);
	border-radius: 6px;
}

.pmm-auth-field input:focus {
	outline: 2px solid currentColor;
	outline-offset: 1px;
}

.pmm-auth-remember label {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	cursor: pointer;
}

.pmm-auth-submit button {
	width: 100%;
	cursor: pointer;
}

.pmm-auth-hint {
	font-size: 0.9em;
	opacity: 0.8;
}

.pmm-auth-links {
	font-size: 0.95em;
}

.pmm-auth-notice {
	margin: 0 0 1.25rem;
	padding: 0.75em 1em;
	border-left: 4px solid;
	border-radius: 4px;
	background: rgba(127, 127, 127, 0.08);
	background: color-mix(in srgb, currentColor 6%, transparent);
	font-size: 0.95em;
}

.pmm-auth-notice.is-error {
	border-left-color: #d63638;
}

.pmm-auth-notice.is-success {
	border-left-color: #00a32a;
}

/* Spam trap: hidden from people, visible to bots. */
.pmm-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
