.msb-auth-page {
	min-height: 100vh;
	display: grid;
	place-items: center;
	padding: 1.5rem;
	background: #f5f5f3;
}

.msb-auth-card {
	width: min(100%, 28rem);
	padding: 2rem;
	background: #fff;
	border: 1px solid #dcddd9;
	border-radius: 1.25rem;
	box-shadow: 0 18px 48px rgb(32 77 67 / 10%);
}

.msb-auth-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	color: #151515;
	text-decoration: none;
	font-weight: 800;
}

.msb-auth-heading {
	margin: 2rem 0 1.25rem;
}

.msb-auth-heading p {
	margin: 0 0 0.25rem;
	color: #204d43;
	font-size: 0.8rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.msb-auth-heading h1 {
	margin: 0;
	font-size: clamp(1.55rem, 5vw, 2rem);
}

.msb-auth-form {
	display: grid;
	gap: 0.65rem;
}

.msb-auth-form label,
.msb-auth-password-row label {
	color: #151515;
	font-size: 0.85rem;
	font-weight: 750;
}

.msb-auth-form input[type="text"],
.msb-auth-form input[type="password"] {
	width: 100%;
	height: 3rem;
	padding: 0 0.85rem;
	background: #fff;
	border: 1px solid #dcddd9;
	border-radius: 0.75rem;
	color: #151515;
}

.msb-auth-password-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 0.45rem;
}

.msb-auth-password-row a,
.msb-auth-back {
	color: #204d43;
	font-size: 0.82rem;
	font-weight: 750;
}

.msb-auth-password {
	position: relative;
}

.msb-auth-password input {
	padding-right: 4.5rem;
}

.msb-auth-password button {
	position: absolute;
	right: 0.45rem;
	top: 0.45rem;
	height: 2.1rem;
	border: 0;
	background: #e8f7df;
	color: #204d43;
	border-radius: 0.55rem;
	cursor: pointer;
}

.msb-auth-check {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0.35rem 0;
}

.msb-auth-submit {
	min-height: 3.15rem;
	margin-top: 0.35rem;
	border: 0;
	border-radius: 0.75rem;
	background: #9adf69;
	color: #204d43;
	font-weight: 850;
	cursor: pointer;
}

.msb-auth-submit:disabled {
	cursor: wait;
	opacity: 0.7;
}

.msb-auth-message {
	margin-bottom: 1rem;
	padding: 0.75rem 0.85rem;
	border-radius: 0.65rem;
	font-size: 0.82rem;
}

.msb-auth-message.is-error {
	background: #fdebed;
	color: #8c2630;
}

.msb-auth-message.is-success {
	background: #e8f7df;
	color: #204d43;
}

.msb-auth-back {
	display: block;
	margin-top: 1.25rem;
	text-align: center;
}

.msb-profile-menu__logout {
	width: 100%;
	padding: 0.55rem;
	border: 0;
	background: transparent;
	color: #a12d35;
	text-align: left;
	cursor: pointer;
}

@media (max-width: 36rem) {
	.msb-auth-page { align-items: start; padding: 1rem; }
	.msb-auth-card { margin-top: 0.5rem; padding: 1.25rem; }
}
