.hafdz-auth {
	max-width: 28rem;
	margin: 0 auto;
	padding: 1.25rem;
	border: 1px solid rgba( 0, 0, 0, 0.1 );
	border-radius: 8px;
	background: #fff;
	font: inherit;
}

.hafdz-auth__title {
	margin: 0 0 1rem;
	font-size: 1.25rem;
	font-weight: 600;
}

.hafdz-auth__field {
	margin-bottom: 0.875rem;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.hafdz-auth__field label {
	font-weight: 500;
	font-size: 0.9rem;
}

.hafdz-auth__field input[type="text"],
.hafdz-auth__field input[type="email"],
.hafdz-auth__field input[type="password"] {
	padding: 0.5rem 0.625rem;
	border: 1px solid rgba( 0, 0, 0, 0.2 );
	border-radius: 4px;
	font: inherit;
}

.hafdz-auth__field--inline {
	flex-direction: row;
	align-items: center;
	gap: 0.5rem;
}

.hafdz-auth__actions {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.75rem;
	margin-top: 0.5rem;
}

.hafdz-auth__submit {
	padding: 0.55rem 1rem;
	background: #111;
	color: #fff;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font: inherit;
}

.hafdz-auth__submit[disabled] {
	opacity: 0.6;
	cursor: progress;
}

.hafdz-auth__message {
	margin: 0 0 0.75rem;
	padding: 0.5rem 0.75rem;
	border-radius: 4px;
	font-size: 0.9rem;
	min-height: 1em;
}

.hafdz-auth__message:empty {
	display: none;
}

.hafdz-auth__message--error {
	background: #fdecea;
	color: #b3261e;
}

.hafdz-auth__message--success {
	background: #e6f4ea;
	color: #1e8e3e;
}

.hafdz-auth__message--info {
	background: #e8f0fe;
	color: #1a73e8;
}

.hafdz-auth__notice {
	font-size: 0.875rem;
	color: rgba( 0, 0, 0, 0.7 );
}
