/* Account-page shell fallback used when the shared Learner UI shell is inactive. */
:root {
	--cllm-account-accent: #007da3;
	--cllm-account-accent-dark: #006783;
	--cllm-account-focus: #ffbf47;
	--cllm-account-header: #effafb;
	--cllm-account-ink: #1f2937;
	--cllm-account-line: #ccdce2;
	--cllm-account-muted: #526373;
	--cllm-account-page: #f3f8fa;
	--cllm-account-surface: #ffffff;
}

body.cllm-account-shell-active {
	min-width: 320px;
	margin: 0;
	background: var(--cllm-account-page);
	color: var(--cllm-account-ink);
	font-family: var(--global-body-font-family, Poppins, "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
	letter-spacing: 0;
}

body.cllm-account-shell-active.admin-bar .cllm-account-shell {
	min-height: calc(100vh - 32px);
}

body.cllm-account-shell-active *,
body.cllm-account-shell-active *::before,
body.cllm-account-shell-active *::after {
	box-sizing: border-box;
}

body.cllm-account-shell-active :where(button, input, select, textarea) {
	font: inherit;
}

body.cllm-account-shell-active :where(a, button, input, select, textarea):focus-visible {
	outline: 3px solid var(--cllm-account-focus);
	outline-offset: 2px;
}

.cllm-account-skip-link {
	position: fixed;
	top: -80px;
	left: 12px;
	z-index: 100001;
	padding: 12px 16px;
	background: var(--cllm-account-accent-dark);
	color: #ffffff;
}

.cllm-account-skip-link:focus {
	top: 12px;
}

.cllm-account-shell {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	background: var(--cllm-account-page);
}

.cllm-account-brand {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 76px;
	padding: 12px 20px;
	border-bottom: 1px solid var(--cllm-account-line);
	background: var(--cllm-account-surface);
}

.cllm-account-logo {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--cllm-account-accent-dark);
	font-size: 20px;
	font-weight: 700;
	text-decoration: none;
}

.cllm-account-logo__image {
	display: block;
	width: auto;
	max-width: 176px;
	height: auto;
	max-height: 42px;
	object-fit: contain;
}

.cllm-account-main {
	display: flex;
	flex: 1 0 auto;
	flex-direction: column;
	justify-content: center;
	width: min(760px, calc(100% - 40px));
	margin: 0 auto;
	padding: 44px 0;
}

.cllm-account-page-head {
	margin: 0;
	padding: 24px 26px;
	border: 1px solid var(--cllm-account-line);
	border-radius: 12px 12px 0 0;
	background: linear-gradient(115deg, var(--cllm-account-header), var(--cllm-account-surface));
	text-align: left;
}

body.cllm-account-shell-active .cllm-account-eyebrow {
	margin: 0 0 6px;
	color: var(--cllm-account-accent-dark);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
	text-transform: uppercase;
}

body.cllm-account-shell-active .cllm-account-page-head h1 {
	margin: 0;
	color: var(--cllm-account-accent-dark);
	font-size: 34px;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.2;
}

body.cllm-account-shell-active .cllm-account-description {
	max-width: 62ch;
	margin: 10px 0 0;
	color: var(--cllm-account-muted);
	font-size: 15px;
	line-height: 1.65;
}

.cllm-account-content {
	min-width: 0;
	padding: 28px 32px 32px;
	border: 1px solid var(--cllm-account-line);
	border-top: 0;
	border-radius: 0 0 12px 12px;
	background: var(--cllm-account-surface);
	color: var(--cllm-account-ink);
	box-shadow: 0 10px 28px rgba(8, 59, 73, 0.1);
}

body.cllm-account-shell-active .cllm-account-content > :first-child {
	margin-top: 0;
}

body.cllm-account-shell-active .cllm-account-content > :last-child {
	margin-bottom: 0;
}

body.cllm-account-shell-active .cllm-account-content a {
	color: var(--cllm-account-accent-dark);
	text-underline-offset: 0.16em;
}

body.cllm-account-shell-active .cllm-account-content a:hover,
body.cllm-account-shell-active .cllm-account-content a:focus {
	color: #03485a;
}

body.cllm-account-shell-active .cllm-account-content .carelearning-login-wrapper,
body.cllm-account-shell-active .cllm-account-content .frm_forms {
	width: 100%;
	max-width: none;
}

body.cllm-account-shell-active.cllm-account-surface-login .cllm-account-content .carelearning-login-wrapper {
	margin-top: 24px;
}

body.cllm-account-shell-active.cllm-account-surface-login .cllm-account-content .carelearning-login-wrapper #loginform,
body.cllm-account-shell-active.cllm-account-surface-registration .cllm-account-content .frm_forms {
	padding: 24px 0 0;
	border: 0;
	border-top: 1px solid var(--cllm-account-line);
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.cllm-account-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-top: 18px;
}

.cllm-account-actions a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 8px 15px;
	border: 1px solid var(--cllm-account-line);
	border-radius: 6px;
	background: var(--cllm-account-surface);
	color: var(--cllm-account-accent-dark);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.cllm-account-actions a:hover,
.cllm-account-actions a:focus {
	border-color: var(--cllm-account-accent);
	background: #e9f7f8;
	color: #03485a;
}

.cllm-account-footer {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	min-height: 64px;
	padding: 12px 20px;
	border-top: 1px solid var(--cllm-account-line);
	background: var(--cllm-account-surface);
	font-size: 13px;
}

.cllm-account-footer a {
	color: var(--cllm-account-accent-dark);
}

@media (max-width: 782px) {
	body.cllm-account-shell-active.admin-bar .cllm-account-shell {
		min-height: calc(100vh - 46px);
	}
}

@media (max-width: 680px) {
	.cllm-account-main {
		justify-content: flex-start;
		width: min(100% - 24px, 760px);
		padding: 24px 0 32px;
	}

	.cllm-account-page-head {
		padding: 20px 18px;
	}

	body.cllm-account-shell-active .cllm-account-page-head h1 {
		font-size: 28px;
		overflow-wrap: anywhere;
	}

	body.cllm-account-shell-active .cllm-account-description {
		font-size: 14px;
	}

	.cllm-account-content {
		padding: 22px 18px 24px;
	}

	.cllm-account-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.cllm-account-actions a {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.cllm-account-shell-active *,
	body.cllm-account-shell-active *::before,
	body.cllm-account-shell-active *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}

@media (forced-colors: active) {
	.cllm-account-content,
	.cllm-account-page-head {
		border: 1px solid CanvasText;
	}
}
