/* Minimal styles that inherit the theme's fonts. Override the custom properties in the theme to restyle. */
.prn-entry {
	--prn-accent: #111;
	--prn-accent-text: #fff;
	--prn-border: #c8c8c8;
	--prn-radius: 6px;
	--prn-success: #1e7e34;
	--prn-error: #b00020;
	max-width: 32rem;
}

.prn-entry [hidden] {
	display: none !important;
}

.prn-entry__state {
	font-weight: 600;
}

.prn-entry__field {
	margin-bottom: 1rem;
}

.prn-entry__field label {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 600;
}

.prn-entry__field input {
	width: 100%;
	box-sizing: border-box;
	padding: 0.7rem 0.8rem;
	font: inherit;
	border: 1px solid var(--prn-border);
	border-radius: var(--prn-radius);
}

.prn-entry__check {
	display: flex;
	gap: 0.6rem;
	align-items: flex-start;
	margin-bottom: 0.75rem;
}

.prn-entry__check input {
	margin-top: 0.25rem;
	flex-shrink: 0;
}

.prn-entry__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.prn-entry__submit {
	display: inline-block;
	margin-top: 0.5rem;
	padding: 0.8rem 1.6rem;
	font: inherit;
	font-weight: 700;
	color: var(--prn-accent-text);
	background: var(--prn-accent);
	border: 0;
	border-radius: var(--prn-radius);
	cursor: pointer;
}

.prn-entry__submit:disabled {
	opacity: 0.6;
	cursor: wait;
}

.prn-entry__hint {
	font-size: 0.875em;
	opacity: 0.8;
}

.prn-entry__notice {
	margin-top: 1rem;
	padding: 0.8rem 1rem;
	border-radius: var(--prn-radius);
	border-left: 4px solid currentColor;
}

.prn-entry__notice--success {
	color: var(--prn-success);
}

.prn-entry__notice--error {
	color: var(--prn-error);
}
