/* Hub Profiles Core: shared Login and Register presentation. */
body.hub-profiles-core-auth-ui {
	--hub-auth-font: "Barlow Narrow", "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
	--hub-auth-blue: #1530b5;
	--hub-auth-blue-dark: #0f278f;
	--hub-auth-green: #28ce86;
	--hub-auth-ink: #293143;
	--hub-auth-muted: #788194;
	--hub-auth-border: #dbe2f2;
	--hub-auth-soft: #f4f6fd;
	--hub-auth-white: #fff;
	--hub-auth-error: #b42318;
	--hub-auth-error-soft: #fff4f2;
	--hub-auth-success: #067647;
	--hub-auth-success-soft: #ecfdf3;
}

body.hub-profiles-core-auth-ui .hub-auth-card,
body.hub-profiles-core-auth-ui .hub-auth-dialog,
body.hub-profiles-core-auth-ui .hub-auth-form,
body.hub-profiles-core-auth-ui .hub-auth-page-intro,
body.hub-profiles-core-auth-ui .hub-auth-mode-tabs,
body.hub-profiles-core-auth-ui .hub-auth-page-tabs {
	font-family: var(--hub-auth-font) !important;
}

/* Full Login / Register page ------------------------------------------- */
body.hub-profiles-core-auth-page #titlebar {
	margin-bottom: 0;
	padding: 44px 0 34px;
	border-bottom: 1px solid var(--hub-auth-border);
	background: linear-gradient(180deg, #f7f8fd 0%, #f3f5fb 100%);
}

body.hub-profiles-core-auth-page #titlebar h1 {
	margin: 0;
	color: var(--hub-auth-ink);
	font-family: var(--hub-auth-font) !important;
	font-size: clamp(38px, 4.2vw, 50px);
	font-weight: 500;
	letter-spacing: -.02em;
	line-height: 1.04;
}

body.hub-profiles-core-auth-page #titlebar #breadcrumbs {
	display: none;
}

body.hub-profiles-core-auth-page .hub-auth-page-intro {
	max-width: 650px;
	margin: 11px 0 0;
	color: var(--hub-auth-muted);
	font-size: 19px;
	font-weight: 400;
	line-height: 1.45;
}

body.hub-profiles-core-auth-page .hub-auth-page-container {
	display: flex;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	margin: 0;
}

body.hub-profiles-core-auth-page .hub-auth-page-article {
	float: none !important;
	box-sizing: border-box;
	width: min(100%, 660px) !important;
	max-width: 660px;
	margin: 46px auto 84px;
	padding: 0 15px;
}

body.hub-profiles-core-auth-page .hub-auth-page-article > .sign-in-form {
	width: 100%;
	margin: 0 !important;
}

body.hub-profiles-core-auth-page .my-account.static-login-page.hub-auth-card {
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 30px;
	border: 1px solid var(--hub-auth-border);
	border-radius: 16px;
	background: var(--hub-auth-white);
	box-shadow: 0 14px 34px rgba(31, 46, 86, .09);
}

body.hub-profiles-core-auth-page .hub-auth-card .tabs-container,
body.hub-profiles-core-auth-page .hub-auth-card .tab-content {
	box-sizing: border-box;
	width: 100%;
}

body.hub-profiles-core-auth-page .hub-auth-card .tab-content {
	padding: 0 !important;
}

/* Shared mode switch ---------------------------------------------------- */
body.hub-profiles-core-auth-ui .hub-auth-page-tabs,
body.hub-profiles-core-auth-ui .hub-auth-mode-tabs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	box-sizing: border-box;
	width: 100%;
	margin: 0 0 26px;
	padding: 5px;
	border: 1px solid var(--hub-auth-border);
	border-radius: 11px;
	background: var(--hub-auth-soft);
	list-style: none !important;
}

body.hub-profiles-core-auth-ui .hub-auth-page-tabs > li {
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	list-style: none !important;
}

body.hub-profiles-core-auth-ui .hub-auth-page-tabs > li::before,
body.hub-profiles-core-auth-ui .hub-auth-page-tabs > li::after {
	display: none !important;
}

body.hub-profiles-core-auth-ui .hub-auth-page-tabs > li > a,
body.hub-profiles-core-auth-ui .hub-auth-mode-tab {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	min-height: 44px;
	margin: 0;
	padding: 9px 14px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	box-shadow: none;
	color: var(--hub-auth-muted) !important;
	font-family: var(--hub-auth-font) !important;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.15;
	text-decoration: none;
	cursor: pointer;
}

body.hub-profiles-core-auth-ui .hub-auth-page-tabs > li.active > a,
body.hub-profiles-core-auth-ui .hub-auth-page-tabs > li > a:focus,
body.hub-profiles-core-auth-ui .hub-auth-mode-tab.is-active,
body.hub-profiles-core-auth-ui .hub-auth-mode-tab:focus {
	background: var(--hub-auth-white) !important;
	box-shadow: 0 5px 14px rgba(31, 46, 86, .1);
	color: var(--hub-auth-blue) !important;
	outline: 0;
}

body.hub-profiles-core-auth-ui .hub-auth-page-tabs > li > a:focus-visible,
body.hub-profiles-core-auth-ui .hub-auth-mode-tab:focus-visible {
	outline: 2px solid rgba(21, 48, 181, .23);
	outline-offset: 1px;
}

/* Guest-only inline account access ------------------------------------- */
body.hub-profiles-core-inline-auth .job-manager-error.hub-auth-notice {
	width: min(calc(100% - 32px), 540px);
	margin: 48px auto 20px !important;
}

body.hub-profiles-core-inline-auth .hub-auth-inline {
	box-sizing: border-box;
	width: min(calc(100% - 32px), 540px);
	margin: 0 auto 64px;
	padding: 30px;
	border: 1px solid var(--hub-auth-border);
	border-radius: 16px;
	background: var(--hub-auth-white);
	box-shadow: 0 14px 34px rgba(31, 46, 86, .09);
	font-family: var(--hub-auth-font);
}

body.hub-profiles-core-inline-auth .hub-auth-inline__heading {
	margin: 0 0 24px;
}

body.hub-profiles-core-inline-auth .hub-auth-inline__title {
	margin: 0;
	color: var(--hub-auth-ink);
	font-family: var(--hub-auth-font) !important;
	font-size: 33px;
	font-weight: 500;
	letter-spacing: -.015em;
	line-height: 1.08;
}

body.hub-profiles-core-inline-auth .hub-auth-inline__pane,
body.hub-profiles-core-inline-auth .hub-auth-inline__pane .workscout_form {
	box-sizing: border-box;
	width: 100%;
}

body.hub-profiles-core-inline-auth .hub-auth-inline__pane[hidden] {
	display: none !important;
}

/* Popup shell ----------------------------------------------------------- */
body.hub-profiles-core-auth-ui #login-dialog.hub-auth-dialog,
body.hub-profiles-core-auth-ui #signup-dialog.hub-auth-dialog {
	box-sizing: border-box;
	width: calc(100vw - 32px);
	margin: 32px auto;
	padding: 0;
	overflow: hidden;
	border: 1px solid var(--hub-auth-border);
	border-radius: 16px;
	background: var(--hub-auth-white);
	box-shadow: 0 24px 70px rgba(18, 30, 62, .24);
}

body.hub-profiles-core-auth-ui #login-dialog.hub-auth-dialog {
	max-width: 580px;
}

body.hub-profiles-core-auth-ui #signup-dialog.hub-auth-dialog {
	max-width: 640px;
}

body.hub-profiles-core-auth-ui .hub-auth-dialog .small-dialog-headline {
	box-sizing: border-box;
	min-height: 0;
	padding: 29px 32px 19px;
	border: 0;
	background: var(--hub-auth-white);
}

body.hub-profiles-core-auth-ui .hub-auth-dialog .small-dialog-headline h2 {
	margin: 0;
	color: var(--hub-auth-ink);
	font-family: var(--hub-auth-font) !important;
	font-size: 33px;
	font-weight: 500;
	letter-spacing: -.015em;
	line-height: 1.08;
}

body.hub-profiles-core-auth-ui .hub-auth-dialog__intro {
	max-width: 450px;
	margin: 7px 0 0;
	color: var(--hub-auth-muted);
	font-size: 17px;
	font-weight: 400;
	line-height: 1.4;
}

body.hub-profiles-core-auth-ui .hub-auth-dialog .small-dialog-content {
	box-sizing: border-box;
	width: 100%;
	padding: 0 32px 32px;
}

body.hub-profiles-core-auth-ui .hub-auth-dialog .mfp-close,
body.hub-profiles-core-auth-ui .mfp-content > .hub-auth-dialog > .mfp-close {
	top: 20px;
	right: 20px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--hub-auth-border);
	border-radius: 9px;
	background: var(--hub-auth-white);
	color: var(--hub-auth-blue);
	font-family: Arial, sans-serif;
	font-size: 0 !important;
	font-weight: 400;
	line-height: 1 !important;
	text-indent: 0 !important;
	opacity: 1;
	box-shadow: 0 6px 16px rgba(31, 46, 86, .09);
}

body.hub-profiles-core-auth-ui .hub-auth-dialog .mfp-close::before,
body.hub-profiles-core-auth-ui .mfp-content > .hub-auth-dialog > .mfp-close::before {
	position: static !important;
	display: block !important;
	width: 20px;
	height: 28px;
	margin: 0 !important;
	padding: 0 !important;
	content: "\00d7" !important;
	color: var(--hub-auth-blue) !important;
	font-family: Arial, sans-serif !important;
	font-size: 28px !important;
	font-weight: 400 !important;
	line-height: 28px !important;
	text-align: center;
	transform: none !important;
}

body.hub-profiles-core-auth-ui .hub-auth-dialog .mfp-close::after,
body.hub-profiles-core-auth-ui .mfp-content > .hub-auth-dialog > .mfp-close::after {
	display: none !important;
	content: none !important;
}

body.hub-profiles-core-auth-ui .hub-auth-dialog .mfp-close:hover,
body.hub-profiles-core-auth-ui .hub-auth-dialog .mfp-close:focus {
	border-color: var(--hub-auth-blue);
	background: var(--hub-auth-soft);
	outline: 2px solid rgba(21, 48, 181, .11);
	outline-offset: 0;
}

body.hub-profiles-core-auth-ui .mfp-bg.hub-auth-mfp,
body.hub-profiles-core-auth-ui .mfp-bg {
	background: #172033;
	opacity: .76;
}

/* Forms and fields ------------------------------------------------------ */
body.hub-profiles-core-auth-ui .hub-auth-form,
body.hub-profiles-core-auth-ui .hub-auth-form fieldset {
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
}

body.hub-profiles-core-auth-ui .hub-auth-form > .status,
body.hub-profiles-core-auth-ui .hub-auth-form fieldset > .status {
	margin: 0;
}

body.hub-profiles-core-auth-ui .hub-auth-form p {
	box-sizing: border-box;
	width: 100%;
	margin: 0 0 16px;
}

body.hub-profiles-core-auth-ui .hub-auth-field {
	position: relative;
}

body.hub-profiles-core-auth-ui .hub-auth-field__label {
	display: block;
	position: relative;
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	padding: 0;
}

body.hub-profiles-core-auth-ui .hub-auth-field__name {
	display: flex;
	align-items: baseline;
	gap: 3px;
	margin: 0 0 7px;
	color: var(--hub-auth-ink);
	font-family: var(--hub-auth-font);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
}

body.hub-profiles-core-auth-ui .hub-auth-field__required {
	color: var(--hub-auth-error);
}

body.hub-profiles-core-auth-ui .hub-auth-field .novamira-required-marker {
	display: none !important;
}

body.hub-profiles-core-auth-ui .hub-auth-field__label > i {
	position: absolute;
	top: auto !important;
	right: auto !important;
	bottom: 16px !important;
	left: 16px !important;
	z-index: 2;
	display: block;
	width: 20px;
	height: 20px;
	margin: 0 !important;
	padding: 0 !important;
	color: #69758c;
	font-size: 20px;
	line-height: 20px !important;
	transform: none !important;
	pointer-events: none;
}

body.hub-profiles-core-auth-ui .hub-auth-field__label > i::before {
	display: block;
	width: 20px;
	height: 20px;
	font-size: 20px;
	line-height: 20px !important;
}

body.hub-profiles-core-auth-ui .hub-auth-field input[type="text"],
body.hub-profiles-core-auth-ui .hub-auth-field input[type="email"],
body.hub-profiles-core-auth-ui .hub-auth-field input[type="password"] {
	display: block;
	box-sizing: border-box;
	width: 100% !important;
	height: 52px;
	margin: 0;
	padding: 0 45px;
	border: 1px solid var(--hub-auth-border);
	border-radius: 9px;
	background: var(--hub-auth-white);
	box-shadow: none;
	color: var(--hub-auth-ink);
	font-family: var(--hub-auth-font) !important;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.2;
}

body.hub-profiles-core-auth-ui .hub-auth-field input::placeholder {
	color: #9aa2b2;
	opacity: 1;
}

body.hub-profiles-core-auth-ui .hub-auth-field input:hover {
	border-color: #b9c4db;
}

body.hub-profiles-core-auth-ui .hub-auth-field input:focus {
	border-color: var(--hub-auth-blue);
	outline: 3px solid rgba(21, 48, 181, .11);
	outline-offset: 0;
	box-shadow: none;
}

body.hub-profiles-core-auth-ui .hub-auth-field--password input[type="password"],
body.hub-profiles-core-auth-ui .hub-auth-field--password input[type="text"] {
	padding-right: 78px;
}

body.hub-profiles-core-auth-ui .hub-auth-password-toggle {
	position: absolute;
	right: 8px;
	bottom: 8px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 58px;
	height: 36px;
	padding: 0 10px;
	border: 0;
	border-radius: 7px;
	background: var(--hub-auth-soft);
	color: var(--hub-auth-blue);
	font-family: var(--hub-auth-font);
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
}

body.hub-profiles-core-auth-ui .hub-auth-password-toggle:hover,
body.hub-profiles-core-auth-ui .hub-auth-password-toggle:focus {
	background: #e8ecfa;
	outline: 2px solid rgba(21, 48, 181, .12);
}

/* Login options and actions -------------------------------------------- */
body.hub-profiles-core-auth-ui .hub-auth-login-options {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	box-sizing: border-box;
	width: 100%;
	margin: 2px 0 20px !important;
}

body.hub-profiles-core-auth-ui .hub-auth-login-options > input[type="checkbox"] {
	position: absolute;
	opacity: 0;
}

body.hub-profiles-core-auth-ui .hub-auth-login-options > label {
	display: inline-flex;
	position: relative;
	align-items: center;
	min-height: 30px;
	margin: 0;
	padding: 0 0 0 32px;
	color: var(--hub-auth-ink);
	font-family: var(--hub-auth-font);
	font-size: 15px;
	font-weight: 500;
	cursor: pointer;
}

body.hub-profiles-core-auth-ui .hub-auth-login-options > label::before {
	position: absolute;
	left: 0;
	box-sizing: border-box;
	width: 22px;
	height: 22px;
	border: 1px solid var(--hub-auth-border);
	border-radius: 6px;
	background: var(--hub-auth-white);
	content: "";
}

body.hub-profiles-core-auth-ui .hub-auth-login-options > input[type="checkbox"]:checked + label::before {
	border-color: var(--hub-auth-blue);
	background: var(--hub-auth-blue);
}

body.hub-profiles-core-auth-ui .hub-auth-login-options > input[type="checkbox"]:checked + label::after {
	position: absolute;
	top: 8px;
	left: 7px;
	width: 8px;
	height: 4px;
	border-bottom: 2px solid #fff;
	border-left: 2px solid #fff;
	content: "";
	transform: rotate(-45deg);
}

body.hub-profiles-core-auth-ui .hub-auth-login-options > input[type="checkbox"]:focus-visible + label::before {
	outline: 3px solid rgba(21, 48, 181, .14);
	outline-offset: 1px;
}

body.hub-profiles-core-auth-ui .hub-auth-forgot-link,
body.hub-profiles-core-auth-ui .hub-auth-switch-copy a {
	color: var(--hub-auth-blue) !important;
	font-family: var(--hub-auth-font);
	font-weight: 600;
	text-decoration: none;
}

body.hub-profiles-core-auth-ui .hub-auth-forgot-link:hover,
body.hub-profiles-core-auth-ui .hub-auth-forgot-link:focus,
body.hub-profiles-core-auth-ui .hub-auth-switch-copy a:hover,
body.hub-profiles-core-auth-ui .hub-auth-switch-copy a:focus {
	color: var(--hub-auth-blue-dark) !important;
	text-decoration: underline;
}

body.hub-profiles-core-auth-ui .hub-auth-actions {
	margin: 0 0 18px !important;
}

body.hub-profiles-core-auth-ui .hub-auth-actions input[type="submit"],
body.hub-profiles-core-auth-ui .hub-auth-actions button[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100% !important;
	min-height: 52px;
	margin: 0;
	padding: 12px 20px;
	border: 1px solid var(--hub-auth-blue);
	border-radius: 9px;
	background: var(--hub-auth-blue) !important;
	box-shadow: none;
	color: var(--hub-auth-white) !important;
	font-family: var(--hub-auth-font) !important;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
}

body.hub-profiles-core-auth-ui .hub-auth-actions input[type="submit"]:hover,
body.hub-profiles-core-auth-ui .hub-auth-actions input[type="submit"]:focus,
body.hub-profiles-core-auth-ui .hub-auth-actions button[type="submit"]:hover,
body.hub-profiles-core-auth-ui .hub-auth-actions button[type="submit"]:focus {
	border-color: var(--hub-auth-blue-dark);
	background: var(--hub-auth-blue-dark) !important;
	outline: 3px solid rgba(21, 48, 181, .14);
	outline-offset: 1px;
}

body.hub-profiles-core-auth-ui .hub-auth-is-loading .hub-auth-actions input[type="submit"],
body.hub-profiles-core-auth-ui .hub-auth-is-loading .hub-auth-actions button[type="submit"] {
	cursor: wait;
	opacity: .78;
}

body.hub-profiles-core-auth-ui .hub-auth-switch-copy {
	margin: 0 !important;
	color: var(--hub-auth-muted);
	font-family: var(--hub-auth-font);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.4;
	text-align: center;
}

body.hub-profiles-core-auth-ui .hub-auth-switch-copy--login {
	padding-top: 2px;
}

/* Registration account type ------------------------------------------- */
body.hub-profiles-core-auth-ui .hub-auth-role-picker {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	box-sizing: border-box;
	width: 100%;
	margin: 0 0 22px;
}

body.hub-profiles-core-auth-ui .hub-auth-role-picker > div {
	position: relative;
	min-width: 0;
}

body.hub-profiles-core-auth-ui .hub-auth-role-picker input[type="radio"] {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

body.hub-profiles-core-auth-ui .hub-auth-role-card {
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr);
	gap: 11px;
	align-items: center;
	box-sizing: border-box;
	width: 100%;
	min-height: 78px;
	margin: 0;
	padding: 13px 14px;
	border: 1px solid var(--hub-auth-border);
	border-radius: 10px;
	background: var(--hub-auth-white);
	color: var(--hub-auth-ink);
	cursor: pointer;
	transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}

body.hub-profiles-core-auth-ui .hub-auth-role-card > i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	margin: 0;
	color: #68738a;
	font-size: 23px;
}

body.hub-profiles-core-auth-ui .hub-auth-role-card__copy {
	display: grid;
	min-width: 0;
}

body.hub-profiles-core-auth-ui .hub-auth-role-card__copy strong {
	color: inherit;
	font-family: var(--hub-auth-font);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.15;
}

body.hub-profiles-core-auth-ui .hub-auth-role-card__copy small {
	margin-top: 3px;
	color: var(--hub-auth-muted);
	font-family: var(--hub-auth-font);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.25;
}

body.hub-profiles-core-auth-ui .hub-auth-role-picker input[type="radio"]:checked + .hub-auth-role-card {
	border-color: var(--hub-auth-blue);
	background: var(--hub-auth-soft);
	box-shadow: 0 0 0 2px rgba(21, 48, 181, .08);
	color: var(--hub-auth-blue);
}

body.hub-profiles-core-auth-ui .hub-auth-role-picker input[type="radio"]:checked + .hub-auth-role-card > i,
body.hub-profiles-core-auth-ui .hub-auth-role-picker input[type="radio"]:checked + .hub-auth-role-card__copy small {
	color: var(--hub-auth-blue);
}

body.hub-profiles-core-auth-ui .hub-auth-role-picker input[type="radio"]:focus-visible + .hub-auth-role-card {
	outline: 3px solid rgba(21, 48, 181, .14);
	outline-offset: 2px;
}

/* Native notification states ------------------------------------------ */
body.hub-profiles-core-auth-ui .hub-auth-notice {
	display: none !important;
	box-sizing: border-box;
	width: 100%;
	margin: 0 0 18px !important;
	padding: 13px 14px;
	border: 1px solid #c9d6f2;
	border-radius: 10px;
	background: #f1f5ff;
	box-shadow: none;
	color: #31466f;
	font-family: var(--hub-auth-font);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.4;
}

body.hub-profiles-core-auth-ui .hub-auth-notice--visible {
	display: grid !important;
	grid-template-columns: 24px minmax(0, 1fr);
	gap: 10px;
	align-items: start;
}

body.hub-profiles-core-auth-ui .hub-auth-notice::before {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--hub-auth-blue);
	color: #fff;
	font-family: Arial, sans-serif;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	content: "i";
}

body.hub-profiles-core-auth-ui .hub-auth-notice > p {
	margin: 0 !important;
	color: inherit;
	font: inherit;
}

body.hub-profiles-core-auth-ui .hub-auth-notice[data-hub-auth-state="error"] {
	border-color: #fecdca;
	background: var(--hub-auth-error-soft);
	color: var(--hub-auth-error);
}

body.hub-profiles-core-auth-ui .hub-auth-notice[data-hub-auth-state="error"]::before {
	background: var(--hub-auth-error);
	content: "!";
}

body.hub-profiles-core-auth-ui .hub-auth-notice[data-hub-auth-state="success"] {
	border-color: #abefc6;
	background: var(--hub-auth-success-soft);
	color: var(--hub-auth-success);
}

body.hub-profiles-core-auth-ui .hub-auth-notice[data-hub-auth-state="success"]::before {
	background: var(--hub-auth-success);
	content: "✓";
}

body.hub-profiles-core-auth-ui .hub-auth-notice[data-hub-auth-state="loading"]::before {
	border: 2px solid rgba(21, 48, 181, .22);
	border-top-color: var(--hub-auth-blue);
	background: transparent;
	content: "";
	animation: hub-auth-spin .75s linear infinite;
}

body.hub-profiles-core-auth-ui .hub-auth-notice .close,
body.hub-profiles-core-auth-ui .hub-auth-notice a.close {
	grid-column: 3;
	color: currentColor;
}

@keyframes hub-auth-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	body.hub-profiles-core-auth-ui .hub-auth-notice[data-hub-auth-state="loading"]::before {
		animation: none;
	}

	body.hub-profiles-core-auth-ui .hub-auth-role-card {
		transition: none;
	}
}

/* Responsive ----------------------------------------------------------- */
@media (max-width: 767px) {
	body.hub-profiles-core-inline-auth .job-manager-error.hub-auth-notice {
		margin-top: 28px !important;
	}

	body.hub-profiles-core-inline-auth .hub-auth-inline {
		margin-bottom: 48px;
		padding: 22px 20px;
		border-radius: 14px;
	}

	body.hub-profiles-core-inline-auth .hub-auth-inline__title {
		font-size: 29px;
	}

	body.hub-profiles-core-auth-page #titlebar {
		padding: 28px 0 23px;
	}

	body.hub-profiles-core-auth-page #titlebar h1 {
		font-size: 36px;
	}

	body.hub-profiles-core-auth-page .hub-auth-page-intro {
		margin-top: 8px;
		font-size: 17px;
	}

	body.hub-profiles-core-auth-page .hub-auth-page-article {
		margin: 24px auto 58px;
		padding: 0 12px;
	}

	body.hub-profiles-core-auth-page .my-account.static-login-page.hub-auth-card {
		padding: 20px;
		border-radius: 14px;
	}

	body.hub-profiles-core-auth-ui #login-dialog.hub-auth-dialog,
	body.hub-profiles-core-auth-ui #signup-dialog.hub-auth-dialog {
		width: calc(100vw - 24px);
		max-height: calc(100dvh - 24px);
		margin: 12px auto;
		overflow-x: hidden;
		overflow-y: auto;
		border-radius: 14px;
	}

	body.hub-profiles-core-auth-ui .hub-auth-dialog .small-dialog-headline {
		padding: 25px 68px 16px 20px;
	}

	body.hub-profiles-core-auth-ui .hub-auth-dialog .small-dialog-headline h2 {
		font-size: 29px;
	}

	body.hub-profiles-core-auth-ui .hub-auth-dialog__intro {
		font-size: 16px;
	}

	body.hub-profiles-core-auth-ui .hub-auth-dialog .small-dialog-content {
		padding: 0 20px 24px;
	}

	body.hub-profiles-core-auth-ui .hub-auth-dialog .mfp-close,
	body.hub-profiles-core-auth-ui .mfp-content > .hub-auth-dialog > .mfp-close {
		top: 16px;
		right: 16px;
	}

	body.hub-profiles-core-auth-ui .hub-auth-page-tabs,
	body.hub-profiles-core-auth-ui .hub-auth-mode-tabs {
		margin-bottom: 22px;
	}
}

@media (max-width: 560px) {
	body.hub-profiles-core-auth-ui .hub-auth-role-picker {
		grid-template-columns: minmax(0, 1fr);
		gap: 9px;
	}

	body.hub-profiles-core-auth-ui .hub-auth-role-card {
		min-height: 68px;
	}

	body.hub-profiles-core-auth-ui .hub-auth-login-options {
		align-items: flex-start;
		gap: 12px;
	}

	body.hub-profiles-core-auth-ui .hub-auth-page-tabs > li > a,
	body.hub-profiles-core-auth-ui .hub-auth-mode-tab {
		padding-right: 8px;
		padding-left: 8px;
		font-size: 16px;
	}
}
