.hg-shared-login {
	width: 100%;
	margin: 14px 0 18px;
	color: #053742;
}

.hg-shared-login__prompt {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 0;
}

.hg-shared-login__trigger {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: #053742;
	font-weight: 700;
}

.js .hg-shared-login__trigger {
	cursor: pointer;
}

.hg-shared-login__panel {
	box-sizing: border-box;
	max-height: none;
	margin-top: 10px;
	overflow: visible;
	opacity: 1;
	background: #fff;
	border: 1px solid #e7edf2;
	border-radius: 10px;
	box-shadow: 0 8px 20px rgba(5, 55, 66, .09);
	transition: max-height 220ms ease, opacity 180ms ease, margin 180ms ease;
}

.js .hg-shared-login__panel {
	max-height: 0;
	margin-top: 0;
	overflow: hidden;
	opacity: 0;
}

.js .hg-shared-login.is-open .hg-shared-login__panel {
	max-height: 620px;
	margin-top: 10px;
	opacity: 1;
}

.hg-shared-login__form {
	padding: 18px;
}

.hg-shared-login__field {
	margin: 0 0 12px;
}

.hg-shared-login__field label {
	display: block;
	margin-bottom: 5px;
	font-weight: 700;
}

.hg-shared-login__field input[type="text"],
.hg-shared-login__field input[type="password"] {
	box-sizing: border-box;
	width: 100%;
	min-height: 44px;
	padding: 9px 12px;
	border: 1px solid #b9c7cd;
	border-radius: 6px;
}

.hg-shared-login .hg-password__toggle {
	min-width: 44px;
	min-height: 44px;
}

.hg-shared-login__meta,
.hg-shared-login__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.hg-shared-login__meta {
	margin-bottom: 14px;
}

.hg-shared-login__meta a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}

.hg-shared-login__actions button {
	min-height: 44px;
	padding: 9px 18px;
	border: 1px solid #053742;
	border-radius: 6px;
	font-weight: 700;
	cursor: pointer;
}

.hg-shared-login__actions button[type="submit"] {
	background: #ff9501;
	border-color: #ff9501;
	color: #053742;
}

.hg-shared-login__close {
	background: #fff;
	color: #053742;
}

.hg-shared-login__error {
	min-height: 0;
	margin-bottom: 0;
	color: #9d1c1c;
	font-weight: 600;
}

.hg-shared-login__error:not(:empty) {
	margin-bottom: 12px;
}

@media (max-width: 600px) {
	.hg-shared-login,
	.hg-shared-login__actions button {
		width: 100%;
	}

	.hg-shared-login__form {
		padding: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hg-shared-login__panel {
		transition: none;
	}
}
