.mbos-auth-form {
	box-sizing: border-box;
	margin: 0;
	max-width: 760px;
	padding: 40px 0;
}

.mbos-auth-card {
	background: #fff;
	border: 1px solid #d8dde6;
	border-radius: 8px;
	box-shadow: 0 10px 24px rgba(17, 24, 39, .08);
	padding: 1.25rem;
}

.mbos-auth-form *,
.mbos-auth-form *::before,
.mbos-auth-form *::after {
	box-sizing: border-box;
}

.mbos-auth-intro {
	margin: 0 0 20px;
}

.mbos-auth-intro h2 {
	color: var(--mbos-brand, #1d4f91);
	font-size: clamp(1.5rem, 3vw, 2rem);
	line-height: 1.2;
	margin: 0;
}

.mbos-auth-intro p {
	color: #23344d;
	font-weight: 400;
	line-height: 1.5;
	margin: .35rem 0 0;
}

.mbos-auth-form__body {
	display: grid;
	gap: 1rem;
	margin: 0;
}

.mbos-auth-form__body > p,
.mbos-auth-form__body p {
	margin: 0;
}

.mbos-auth-form__body br {
	display: none;
}

.mbos-auth-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mbos-auth-field {
	display: grid;
	gap: .35rem;
	margin: 0;
}

.mbos-auth-field > label,
.mbos-auth-field > span:first-child,
.mbos-auth-check span {
	color: #23344d;
	font-weight: 700;
}

.mbos-auth-field > label {
	display: block;
	line-height: 1.25;
}

.mbos-auth-field input,
.mbos-auth-field select {
	border: 1px solid #c9d1dc;
	border-radius: 6px;
	display: block;
	font: inherit;
	min-height: 44px;
	padding: .55rem .65rem;
	width: 100%;
}

.mbos-auth-password {
	display: block;
	line-height: 1;
	position: relative;
	width: 100%;
}

.mbos-auth-password input {
	border-radius: 6px;
	height: auto;
	min-height: 44px;
	padding-right: 3rem;
}

.mbos-auth-password-toggle {
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: 4px;
	color: #23344d;
	cursor: pointer;
	display: inline-flex;
	height: 36px;
	justify-content: center;
	min-height: 36px;
	padding: 0;
	position: absolute;
	right: 4px;
	top: 50%;
	transform: translateY(-50%);
	width: 36px;
}

.mbos-auth-password-toggle:hover,
.mbos-auth-password-toggle:focus {
	background: #eef3f9;
	color: var(--mbos-brand, #1d4f91);
	outline: 0;
}

.mbos-auth-password-toggle:focus-visible {
	box-shadow: 0 0 0 2px rgba(29, 79, 145, .25);
}

.mbos-auth-form .screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.mbos-auth-eye {
	border: 2px solid currentColor;
	border-radius: 75% 15%;
	display: inline-block;
	height: 14px;
	position: relative;
	transform: rotate(45deg);
	width: 14px;
}

.mbos-auth-eye::after {
	background: currentColor;
	border-radius: 999px;
	content: "";
	height: 5px;
	left: 50%;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 5px;
}

.mbos-auth-eye--hide {
	display: none;
}

.mbos-auth-eye--hide::before {
	background: currentColor;
	content: "";
	height: 2px;
	left: -4px;
	position: absolute;
	top: 50%;
	transform: rotate(90deg);
	width: 22px;
}

.mbos-auth-password-toggle.is-visible .mbos-auth-eye--show {
	display: none;
}

.mbos-auth-password-toggle.is-visible .mbos-auth-eye--hide {
	display: inline-block;
}

.mbos-auth-check {
	align-items: center;
	display: flex;
	gap: .5rem;
	margin: 0;
}

.mbos-auth-button {
	align-items: center;
	border: 0;
	border-radius: 6px;
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-weight: 700;
	justify-content: center;
	min-height: 44px;
	padding: .65rem 1rem;
	text-decoration: none;
	width: 100%;
}

.mbos-auth-button:not(.mbos-theme-button-sync-enabled) {
	background: var(--mbos-brand, #1d4f91);
	color: #fff;
}

.mbos-auth-button:not(.mbos-theme-button-sync-enabled):hover,
.mbos-auth-button:not(.mbos-theme-button-sync-enabled):focus {
	background: var(--mbos-brand-dark, #173f74);
	color: #fff;
}

.mbos-auth-links {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: .5rem 1rem;
	justify-content: space-between;
	margin-top: -.25rem;
}

.mbos-auth-links a {
	color: var(--mbos-brand, #1d4f91);
	font-weight: 700;
	text-decoration: none;
}

.mbos-auth-links a:hover,
.mbos-auth-links a:focus {
	color: var(--mbos-brand-dark, #173f74);
	text-decoration: underline;
}

.mbos-auth-errors,
.mbos-auth-provider-note {
	background: #fff4f4;
	border: 1px solid #e3a3a3;
	border-radius: 6px;
	color: #8a1f1f;
	margin: 0 0 1rem;
	padding: .75rem;
}

.mbos-auth-errors p,
.mbos-auth-provider-note {
	margin: 0;
}

.mbos-auth-errors p + p {
	margin-top: .35rem;
}

.mbos-auth-message {
	border-radius: 6px;
	padding: .85rem;
}

.mbos-auth-message p {
	margin: 0 0 .75rem;
}

.mbos-auth-message--success {
	background: #effaf2;
	border: 1px solid #b9e7c4;
	color: #245c32;
}

.mbos-auth-provider {
	min-height: 78px;
	overflow: hidden;
}

.mbos-auth-honeypot {
	height: 0;
	left: -9999px;
	overflow: hidden;
	position: absolute;
	width: 0;
}

@media (max-width: 640px) {
	.mbos-auth-grid {
		grid-template-columns: 1fr;
	}

	.mbos-auth-links {
		align-items: flex-start;
		flex-direction: column;
	}
}
