/**
 * Frog-Job Student Dashboard
 * Front-end styles for the portal shell and LearnDash [ld_profile].
 */

.frog-job-student-dashboard-page,
.frog-job-student-dashboard-page * {
	box-sizing: border-box;
}

.frog-job-student-dashboard-page {
	--fjsd-ink: #102a25;
	--fjsd-muted: #5b6f69;
	--fjsd-green-950: #043c2d;
	--fjsd-green-900: #07523d;
	--fjsd-green-800: #086b4d;
	--fjsd-green-700: #0b7d59;
	--fjsd-green-500: #24b87a;
	--fjsd-green-300: #77d8ac;
	--fjsd-green-200: #b9efd7;
	--fjsd-green-100: #ddf8eb;
	--fjsd-lime: #b8ed74;
	--fjsd-warm: #ffb45d;
	--fjsd-blue: #4c83e7;
	--fjsd-cream: #f7fbf8;
	--fjsd-white: #ffffff;
	--fjsd-line: #dce9e3;
	--fjsd-shadow-sm: 0 12px 34px rgba(7, 82, 61, 0.08);
	--fjsd-shadow-md: 0 22px 55px rgba(7, 82, 61, 0.12);
	--fjsd-shadow-lg: 0 30px 80px rgba(7, 82, 61, 0.16);
	background: var(--fjsd-cream);
}

.frog-job-student-dashboard-page.fjsd-theme-ocean {
	--fjsd-ink: #12283d;
	--fjsd-muted: #5b6f80;
	--fjsd-green-950: #092c4c;
	--fjsd-green-900: #12466f;
	--fjsd-green-800: #175b8f;
	--fjsd-green-700: #1f70aa;
	--fjsd-green-500: #3c95cc;
	--fjsd-green-300: #80c5ea;
	--fjsd-green-200: #b9dff3;
	--fjsd-green-100: #e2f3fc;
	--fjsd-lime: #81e1e8;
	--fjsd-cream: #f6fbfe;
	--fjsd-line: #d9e8f1;
	--fjsd-shadow-sm: 0 12px 34px rgba(18, 70, 111, 0.08);
	--fjsd-shadow-md: 0 22px 55px rgba(18, 70, 111, 0.12);
	--fjsd-shadow-lg: 0 30px 80px rgba(9, 44, 76, 0.16);
}

.frog-job-student-dashboard-page.fjsd-theme-violet {
	--fjsd-ink: #281e3a;
	--fjsd-muted: #71647d;
	--fjsd-green-950: #291b48;
	--fjsd-green-900: #402970;
	--fjsd-green-800: #563891;
	--fjsd-green-700: #6e4db2;
	--fjsd-green-500: #9272d5;
	--fjsd-green-300: #bba8e9;
	--fjsd-green-200: #d8ccf3;
	--fjsd-green-100: #eee9fa;
	--fjsd-lime: #d1ee79;
	--fjsd-cream: #fbf9fd;
	--fjsd-line: #e6def0;
	--fjsd-shadow-sm: 0 12px 34px rgba(64, 41, 112, 0.08);
	--fjsd-shadow-md: 0 22px 55px rgba(64, 41, 112, 0.12);
	--fjsd-shadow-lg: 0 30px 80px rgba(41, 27, 72, 0.17);
}

.frog-job-student-dashboard-page.fjsd-theme-sunset {
	--fjsd-ink: #38271b;
	--fjsd-muted: #75685e;
	--fjsd-green-950: #43230f;
	--fjsd-green-900: #6b3512;
	--fjsd-green-800: #874716;
	--fjsd-green-700: #a85f1c;
	--fjsd-green-500: #d0822d;
	--fjsd-green-300: #ecb970;
	--fjsd-green-200: #f5d59f;
	--fjsd-green-100: #fff0d8;
	--fjsd-lime: #dcec77;
	--fjsd-cream: #fffaf4;
	--fjsd-line: #eee1d3;
	--fjsd-shadow-sm: 0 12px 34px rgba(107, 53, 18, 0.08);
	--fjsd-shadow-md: 0 22px 55px rgba(107, 53, 18, 0.12);
	--fjsd-shadow-lg: 0 30px 80px rgba(67, 35, 15, 0.17);
}

.frog-job-student-dashboard-page.fjsd-theme-teal {
	--fjsd-ink: #143033;
	--fjsd-muted: #5e7273;
	--fjsd-green-950: #073b3d;
	--fjsd-green-900: #0b5959;
	--fjsd-green-800: #0d7070;
	--fjsd-green-700: #108887;
	--fjsd-green-500: #2dafaa;
	--fjsd-green-300: #7bd3cb;
	--fjsd-green-200: #b8e8e1;
	--fjsd-green-100: #dff6f1;
	--fjsd-lime: #bde978;
	--fjsd-cream: #f6fcfa;
	--fjsd-line: #d9eae7;
	--fjsd-shadow-sm: 0 12px 34px rgba(11, 89, 89, 0.08);
	--fjsd-shadow-md: 0 22px 55px rgba(11, 89, 89, 0.12);
	--fjsd-shadow-lg: 0 30px 80px rgba(7, 59, 61, 0.17);
}

.frog-job-student-dashboard-page .entry-title,
.frog-job-student-dashboard-page .page-header {
	display: none;
}

.frog-job-student-dashboard-page .site-main,
.frog-job-student-dashboard-page .entry-content,
.frog-job-student-dashboard-page .elementor-widget-shortcode,
.frog-job-student-dashboard-page .elementor-shortcode {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

.fjsd-portal,
.fjsd-guest-card {
	color: var(--fjsd-ink);
	font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.65;
	text-rendering: optimizeLegibility;
}

.fjsd-portal a,
.fjsd-guest-card a {
	color: inherit;
	text-decoration: none;
}

.fjsd-portal a,
.fjsd-portal button,
.fjsd-portal summary,
.fjsd-guest-card a {
	-webkit-tap-highlight-color: transparent;
}

.fjsd-portal :focus-visible,
.fjsd-guest-card :focus-visible {
	outline: 3px solid rgba(36, 184, 122, 0.42);
	outline-offset: 4px;
}

.fjsd-portal {
	width: min(1220px, calc(100% - 40px));
	margin: clamp(28px, 5vw, 64px) auto;
}

.fjsd-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: clamp(28px, 5vw, 58px);
	border-radius: 32px;
	color: var(--fjsd-white);
	background:
		radial-gradient(circle at 100% 0%, rgba(184, 237, 116, 0.17), transparent 28rem),
		radial-gradient(circle at 0% 100%, rgba(36, 184, 122, 0.18), transparent 27rem),
		var(--fjsd-green-950);
	box-shadow: var(--fjsd-shadow-lg);
}

.fjsd-hero-decoration {
	position: absolute;
	z-index: -1;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 50%;
	pointer-events: none;
}

.fjsd-hero-decoration-one {
	top: -170px;
	right: -100px;
	width: 410px;
	height: 410px;
	box-shadow:
		0 0 0 55px rgba(255, 255, 255, 0.025),
		0 0 0 115px rgba(255, 255, 255, 0.018);
}

.fjsd-hero-decoration-two {
	bottom: -180px;
	left: 34%;
	width: 290px;
	height: 290px;
	box-shadow: 0 0 0 45px rgba(184, 237, 116, 0.025);
}

.fjsd-hero-top,
.fjsd-hero-main {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.fjsd-hero-top {
	padding-bottom: 28px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.fjsd-brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
}

.fjsd-brand-mark {
	display: grid;
	width: 42px;
	height: 42px;
	place-items: center;
	border-radius: 13px;
	color: var(--fjsd-green-950);
	background: var(--fjsd-lime);
	box-shadow: 0 10px 26px rgba(184, 237, 116, 0.16);
	font-size: 1.15rem;
	font-weight: 900;
	line-height: 1;
}

.fjsd-brand strong,
.fjsd-brand small {
	display: block;
}

.fjsd-brand strong {
	color: var(--fjsd-white);
	font-size: 1rem;
	font-weight: 850;
	line-height: 1.25;
}

.fjsd-brand small {
	margin-top: 2px;
	color: rgba(255, 255, 255, 0.57);
	font-size: 0.7rem;
	font-weight: 650;
}

.fjsd-private-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 13px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 999px;
	color: rgba(255, 255, 255, 0.79);
	background: rgba(255, 255, 255, 0.06);
	font-size: 0.72rem;
	font-weight: 760;
}

.fjsd-private-badge svg {
	width: 15px;
	height: 15px;
	fill: none;
	stroke: var(--fjsd-lime);
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.fjsd-hero-main {
	padding: clamp(34px, 5vw, 58px) 0;
}

.fjsd-user-block {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 22px;
}

.fjsd-avatar-wrap {
	position: relative;
	flex: 0 0 auto;
}

.fjsd-avatar {
	display: block;
	width: 96px;
	height: 96px;
	border: 5px solid rgba(255, 255, 255, 0.15);
	border-radius: 28px;
	object-fit: cover;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}

.fjsd-online-dot {
	position: absolute;
	right: -3px;
	bottom: -3px;
	width: 22px;
	height: 22px;
	border: 5px solid var(--fjsd-green-950);
	border-radius: 50%;
	background: var(--fjsd-lime);
}

.fjsd-hello {
	margin: 0;
	color: var(--fjsd-green-300);
	font-size: 0.78rem;
	font-weight: 820;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.fjsd-user-block h1 {
	margin: 7px 0 0;
	color: var(--fjsd-white);
	font-size: clamp(2rem, 4.3vw, 3.8rem);
	font-weight: 900;
	letter-spacing: -0.055em;
	line-height: 1;
}

.fjsd-hero-copy {
	max-width: 650px;
	margin: 14px 0 0;
	color: rgba(255, 255, 255, 0.64);
	font-size: clamp(0.92rem, 1.5vw, 1.04rem);
}

.fjsd-hero-actions {
	display: flex;
	flex: 0 0 auto;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 11px;
}

.fjsd-button {
	display: inline-flex;
	min-height: 50px;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 12px 19px;
	border: 1px solid transparent;
	border-radius: 14px;
	cursor: pointer;
	font-size: 0.9rem;
	font-weight: 820;
	line-height: 1.2;
	transition:
		transform 180ms ease,
		background-color 180ms ease,
		border-color 180ms ease,
		box-shadow 180ms ease;
}

.fjsd-button:hover {
	transform: translateY(-2px);
}

.fjsd-button-primary {
	color: var(--fjsd-white) !important;
	background: var(--fjsd-green-700);
	box-shadow: 0 13px 28px rgba(11, 125, 89, 0.22);
}

.fjsd-button-primary:hover {
	background: var(--fjsd-green-900);
}

.fjsd-button-lime {
	color: var(--fjsd-green-950) !important;
	background: var(--fjsd-lime);
	box-shadow: 0 13px 30px rgba(184, 237, 116, 0.14);
}

.fjsd-button-lime:hover {
	background: #caf690;
}

.fjsd-button-ghost {
	border-color: rgba(255, 255, 255, 0.17);
	color: var(--fjsd-white) !important;
	background: rgba(255, 255, 255, 0.06);
}

.fjsd-button-ghost:hover {
	border-color: rgba(255, 255, 255, 0.28);
	background: rgba(255, 255, 255, 0.1);
}

.fjsd-benefit-list {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	margin: 0;
	padding: 0;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.11);
	border-radius: 19px;
	background: rgba(255, 255, 255, 0.11);
	list-style: none;
}

.fjsd-benefit-list li {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 13px;
	padding: 18px;
	background: rgba(255, 255, 255, 0.045);
}

.fjsd-benefit-icon {
	display: grid;
	width: 38px;
	height: 38px;
	flex: 0 0 auto;
	place-items: center;
	border-radius: 12px;
	color: var(--fjsd-green-950);
	background: var(--fjsd-lime);
	font-size: 0.68rem;
	font-weight: 900;
}

.fjsd-benefit-list strong,
.fjsd-benefit-list small {
	display: block;
}

.fjsd-benefit-list strong {
	color: var(--fjsd-white);
	font-size: 0.88rem;
	font-weight: 820;
	line-height: 1.3;
}

.fjsd-benefit-list small {
	margin-top: 3px;
	color: rgba(255, 255, 255, 0.54);
	font-size: 0.72rem;
}

.fjsd-personalize-panel {
	margin-top: 26px;
	padding: clamp(24px, 4vw, 46px);
	border: 1px solid var(--fjsd-line);
	border-radius: 28px;
	background:
		radial-gradient(circle at 100% 0%, var(--fjsd-green-100), transparent 22rem),
		var(--fjsd-white);
	box-shadow: var(--fjsd-shadow-md);
	scroll-margin-top: 24px;
}

.fjsd-personalize-heading {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
	align-items: end;
	gap: 28px;
	margin-bottom: 27px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--fjsd-line);
}

.fjsd-personalize-heading h2 {
	margin: 0;
	color: var(--fjsd-ink);
	font-size: clamp(1.65rem, 3.2vw, 2.65rem);
	font-weight: 880;
	letter-spacing: -0.045em;
	line-height: 1.08;
}

.fjsd-personalize-heading > p {
	margin: 0;
	color: var(--fjsd-muted);
	font-size: 0.88rem;
}

.fjsd-notice {
	margin-bottom: 22px;
	padding: 14px 17px;
	border: 1px solid transparent;
	border-radius: 14px;
	font-size: 0.88rem;
	font-weight: 760;
}

.fjsd-notice-success {
	border-color: var(--fjsd-green-200);
	color: var(--fjsd-green-900);
	background: var(--fjsd-green-100);
}

.fjsd-notice-error {
	border-color: #efc3c3;
	color: #7c2525;
	background: #fff0f0;
}

.fjsd-profile-form fieldset {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.fjsd-profile-form legend {
	width: 100%;
	margin: 0 0 18px;
	padding: 0;
	color: var(--fjsd-ink);
	font-size: 1rem;
	font-weight: 850;
	line-height: 1.35;
}

.fjsd-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.fjsd-form-card {
	padding: 23px !important;
	border: 1px solid var(--fjsd-line) !important;
	border-radius: 20px;
	background: var(--fjsd-white);
}

.fjsd-avatar-editor {
	display: flex;
	align-items: center;
	gap: 20px;
}

.fjsd-avatar-preview {
	position: relative;
	flex: 0 0 auto;
}

.fjsd-settings-avatar {
	display: block;
	width: 112px;
	height: 112px;
	border: 5px solid var(--fjsd-white);
	border-radius: 26px;
	object-fit: cover;
	box-shadow:
		0 0 0 1px var(--fjsd-line),
		var(--fjsd-shadow-sm);
}

.fjsd-avatar-controls {
	min-width: 0;
	flex: 1;
}

.fjsd-file-label {
	display: block;
	color: var(--fjsd-ink);
	font-size: 0.82rem;
	font-weight: 820;
}

.fjsd-file-label > span {
	display: block;
	margin-bottom: 8px;
}

.fjsd-file-label input[type="file"] {
	width: 100%;
	max-width: 100%;
	padding: 8px;
	border: 1px solid var(--fjsd-line);
	border-radius: 12px;
	color: var(--fjsd-muted);
	background: var(--fjsd-cream);
	font-family: inherit;
	font-size: 0.75rem;
}

.fjsd-file-label input[type="file"]::file-selector-button {
	margin-right: 10px;
	padding: 8px 11px;
	border: 0;
	border-radius: 9px;
	color: var(--fjsd-white);
	background: var(--fjsd-green-700);
	cursor: pointer;
	font-family: inherit;
	font-size: 0.72rem;
	font-weight: 800;
}

.fjsd-avatar-controls > p,
.fjsd-field-note {
	margin: 8px 0 0;
	color: var(--fjsd-muted);
	font-size: 0.72rem;
}

.fjsd-check-row {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin-top: 12px;
	color: var(--fjsd-muted);
	cursor: pointer;
	font-size: 0.76rem;
	font-weight: 680;
}

.fjsd-check-row input {
	width: 16px;
	height: 16px;
	margin: 3px 0 0;
	accent-color: var(--fjsd-green-700);
}

.fjsd-field + .fjsd-field,
.fjsd-name-row {
	margin-top: 14px;
}

.fjsd-field label {
	display: block;
	margin-bottom: 7px;
	color: var(--fjsd-ink);
	font-size: 0.76rem;
	font-weight: 780;
}

.fjsd-field input {
	width: 100%;
	min-height: 45px;
	padding: 10px 12px;
	border: 1px solid var(--fjsd-line);
	border-radius: 12px;
	color: var(--fjsd-ink);
	background: var(--fjsd-white);
	box-shadow: none;
	font-family: inherit;
	font-size: 0.88rem;
}

.fjsd-field input:focus {
	border-color: var(--fjsd-green-500);
	outline: 3px solid color-mix(in srgb, var(--fjsd-green-500) 16%, transparent);
}

.fjsd-name-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.fjsd-theme-settings {
	margin-top: 18px !important;
	padding: 23px !important;
	border: 1px solid var(--fjsd-line) !important;
	border-radius: 20px;
	background: var(--fjsd-white);
}

.fjsd-theme-settings > legend {
	margin-bottom: 5px;
}

.fjsd-theme-settings > p {
	margin: 0;
	color: var(--fjsd-muted);
	font-size: 0.78rem;
}

.fjsd-theme-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 11px;
	margin-top: 17px;
}

.fjsd-theme-choice {
	position: relative;
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 10px;
	padding: 13px;
	border: 1px solid var(--fjsd-line);
	border-radius: 15px;
	cursor: pointer;
	background: var(--fjsd-cream);
	transition:
		transform 180ms ease,
		border-color 180ms ease,
		box-shadow 180ms ease;
}

.fjsd-theme-choice:hover {
	border-color: var(--fjsd-green-300);
	box-shadow: var(--fjsd-shadow-sm);
	transform: translateY(-2px);
}

.fjsd-theme-choice > input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.fjsd-theme-choice > input:focus-visible ~ .fjsd-theme-swatch {
	outline: 3px solid rgba(36, 184, 122, 0.35);
	outline-offset: 4px;
}

.fjsd-theme-swatch {
	display: flex;
	width: 38px;
	height: 38px;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	gap: 2px;
	border: 3px solid var(--fjsd-white);
	border-radius: 12px;
	box-shadow: 0 0 0 1px var(--fjsd-line);
}

.fjsd-theme-swatch span {
	width: 7px;
	height: 23px;
	border-radius: 99px;
}

.fjsd-theme-choice-emerald .fjsd-theme-swatch {
	background: #ddf8eb;
}

.fjsd-theme-choice-emerald .fjsd-theme-swatch span:nth-child(1) {
	background: #07523d;
}

.fjsd-theme-choice-emerald .fjsd-theme-swatch span:nth-child(2) {
	background: #24b87a;
}

.fjsd-theme-choice-emerald .fjsd-theme-swatch span:nth-child(3) {
	background: #b8ed74;
}

.fjsd-theme-choice-ocean .fjsd-theme-swatch {
	background: #e2f3fc;
}

.fjsd-theme-choice-ocean .fjsd-theme-swatch span:nth-child(1) {
	background: #12466f;
}

.fjsd-theme-choice-ocean .fjsd-theme-swatch span:nth-child(2) {
	background: #3c95cc;
}

.fjsd-theme-choice-ocean .fjsd-theme-swatch span:nth-child(3) {
	background: #81e1e8;
}

.fjsd-theme-choice-violet .fjsd-theme-swatch {
	background: #eee9fa;
}

.fjsd-theme-choice-violet .fjsd-theme-swatch span:nth-child(1) {
	background: #402970;
}

.fjsd-theme-choice-violet .fjsd-theme-swatch span:nth-child(2) {
	background: #9272d5;
}

.fjsd-theme-choice-violet .fjsd-theme-swatch span:nth-child(3) {
	background: #d1ee79;
}

.fjsd-theme-choice-sunset .fjsd-theme-swatch {
	background: #fff0d8;
}

.fjsd-theme-choice-sunset .fjsd-theme-swatch span:nth-child(1) {
	background: #6b3512;
}

.fjsd-theme-choice-sunset .fjsd-theme-swatch span:nth-child(2) {
	background: #d0822d;
}

.fjsd-theme-choice-sunset .fjsd-theme-swatch span:nth-child(3) {
	background: #dcec77;
}

.fjsd-theme-choice-teal .fjsd-theme-swatch {
	background: #dff6f1;
}

.fjsd-theme-choice-teal .fjsd-theme-swatch span:nth-child(1) {
	background: #0b5959;
}

.fjsd-theme-choice-teal .fjsd-theme-swatch span:nth-child(2) {
	background: #2dafaa;
}

.fjsd-theme-choice-teal .fjsd-theme-swatch span:nth-child(3) {
	background: #bde978;
}

.fjsd-theme-copy {
	min-width: 0;
}

.fjsd-theme-copy strong,
.fjsd-theme-copy small {
	display: block;
}

.fjsd-theme-copy strong {
	overflow: hidden;
	color: var(--fjsd-ink);
	font-size: 0.73rem;
	font-weight: 820;
	line-height: 1.3;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.fjsd-theme-copy small {
	margin-top: 3px;
	overflow: hidden;
	color: var(--fjsd-muted);
	font-size: 0.62rem;
	line-height: 1.35;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.fjsd-theme-check {
	position: absolute;
	top: 6px;
	right: 6px;
	display: grid;
	width: 18px;
	height: 18px;
	place-items: center;
	border-radius: 50%;
	color: var(--fjsd-white);
	background: var(--fjsd-green-700);
	font-size: 0.62rem;
	font-weight: 900;
	opacity: 0;
	transform: scale(0.7);
	transition:
		opacity 180ms ease,
		transform 180ms ease;
}

.fjsd-theme-choice > input:checked ~ .fjsd-theme-check {
	opacity: 1;
	transform: scale(1);
}

.fjsd-theme-choice > input:checked ~ .fjsd-theme-swatch {
	box-shadow:
		0 0 0 2px var(--fjsd-green-700),
		0 8px 18px rgba(7, 82, 61, 0.13);
}

.fjsd-form-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid var(--fjsd-line);
}

.fjsd-form-actions p {
	margin: 0;
	color: var(--fjsd-muted);
	font-size: 0.76rem;
}

.fjsd-form-actions .fjsd-button {
	flex: 0 0 auto;
	border: 0;
}

.fjsd-learning-panel {
	margin-top: 26px;
	padding: clamp(24px, 4vw, 46px);
	border: 1px solid var(--fjsd-line);
	border-radius: 28px;
	background: var(--fjsd-white);
	box-shadow: var(--fjsd-shadow-md);
	scroll-margin-top: 24px;
}

.fjsd-panel-heading {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
	align-items: end;
	gap: 28px;
	margin-bottom: 31px;
	padding-bottom: 25px;
	border-bottom: 1px solid var(--fjsd-line);
}

.fjsd-eyebrow {
	margin: 0 0 8px;
	color: var(--fjsd-green-700);
	font-size: 0.72rem;
	font-weight: 880;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.fjsd-panel-heading h2 {
	margin: 0;
	color: var(--fjsd-ink);
	font-size: clamp(1.65rem, 3.2vw, 2.65rem);
	font-weight: 880;
	letter-spacing: -0.045em;
	line-height: 1.08;
}

.fjsd-panel-heading > p {
	margin: 0;
	color: var(--fjsd-muted);
	font-size: 0.88rem;
}

.fjsd-system-message {
	padding: 24px;
	border: 1px solid #f0d7a9;
	border-radius: 18px;
	color: #6e501d;
	background: #fff9eb;
}

.fjsd-system-message strong {
	display: block;
	font-size: 1rem;
}

.fjsd-system-message p {
	margin: 7px 0 0;
}

.fjsd-portal-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 22px 8px 0;
	color: var(--fjsd-muted);
	font-size: 0.8rem;
}

.fjsd-portal-footer p {
	margin: 0;
}

.fjsd-portal-footer a {
	color: var(--fjsd-green-700);
	font-weight: 800;
}

.fjsd-portal-footer a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.fjsd-guest-card {
	width: min(680px, calc(100% - 32px));
	margin: clamp(45px, 8vw, 110px) auto;
	padding: clamp(34px, 6vw, 68px);
	border: 1px solid var(--fjsd-line);
	border-radius: 30px;
	background:
		radial-gradient(circle at 100% 0%, rgba(184, 237, 116, 0.22), transparent 19rem),
		var(--fjsd-white);
	box-shadow: var(--fjsd-shadow-lg);
	text-align: center;
}

.fjsd-guest-icon {
	display: grid;
	width: 67px;
	height: 67px;
	margin: 0 auto 23px;
	place-items: center;
	border-radius: 21px;
	color: var(--fjsd-green-900);
	background: var(--fjsd-green-100);
}

.fjsd-guest-icon svg {
	width: 30px;
	height: 30px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
}

.fjsd-guest-card h1 {
	margin: 0;
	color: var(--fjsd-ink);
	font-size: clamp(2rem, 5vw, 3.25rem);
	font-weight: 900;
	letter-spacing: -0.05em;
	line-height: 1.05;
}

.fjsd-guest-card > p:not(.fjsd-eyebrow) {
	max-width: 520px;
	margin: 18px auto 28px;
	color: var(--fjsd-muted);
}

/*
 * LearnDash [ld_profile] skin.
 * Selectors intentionally support both the portal wrapper and a standalone
 * [ld_profile] shortcode on the configured page.
 */
.fjsd-profile-content .learndash-wrapper,
.frog-job-student-dashboard-page > .learndash-wrapper,
.frog-job-student-dashboard-page .entry-content > .learndash-wrapper {
	color: var(--fjsd-ink);
	font-family: inherit;
}

.frog-job-student-dashboard-page #ld-profile .ld-profile-summary {
	display: grid;
	grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1fr);
	gap: 24px;
	align-items: center;
	margin: 0 0 28px;
	padding: 24px;
	border: 1px solid var(--fjsd-line);
	border-radius: 22px;
	background: var(--fjsd-cream);
}

.frog-job-student-dashboard-page #ld-profile .ld-profile-card {
	border: 0;
	background: transparent;
}

.frog-job-student-dashboard-page #ld-profile .ld-profile-avatar {
	border: 5px solid var(--fjsd-white);
	border-radius: 22px;
	box-shadow: var(--fjsd-shadow-sm);
}

.frog-job-student-dashboard-page #ld-profile .ld-profile-heading {
	color: var(--fjsd-ink);
	font-weight: 850;
	letter-spacing: -0.025em;
}

.frog-job-student-dashboard-page #ld-profile .ld-profile-edit-link {
	display: none !important;
}

.frog-job-student-dashboard-page #ld-profile .ld-profile-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 11px;
}

.frog-job-student-dashboard-page #ld-profile .ld-profile-stat {
	min-width: 0;
	padding: 16px 10px;
	border: 1px solid var(--fjsd-line);
	border-radius: 15px;
	background: var(--fjsd-white);
}

.frog-job-student-dashboard-page #ld-profile .ld-profile-stat strong {
	color: var(--fjsd-green-700);
	font-size: 1.35rem;
	font-weight: 900;
}

.frog-job-student-dashboard-page #ld-profile .ld-profile-stat span {
	color: var(--fjsd-muted);
	font-size: 0.72rem;
	font-weight: 700;
}

.frog-job-student-dashboard-page .learndash-wrapper .ld-section-heading {
	align-items: center;
	gap: 15px;
	margin: 26px 0 17px;
}

.frog-job-student-dashboard-page .learndash-wrapper .ld-section-heading h3 {
	color: var(--fjsd-ink);
	font-size: clamp(1.15rem, 2vw, 1.4rem);
	font-weight: 860;
	letter-spacing: -0.025em;
}

.frog-job-student-dashboard-page .learndash-wrapper .ld-search-prompt {
	display: inline-flex;
	min-width: 44px;
	min-height: 44px;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	color: var(--fjsd-green-900) !important;
	background: var(--fjsd-green-100);
	font-weight: 820;
}

.frog-job-student-dashboard-page .learndash-wrapper .ld-search-prompt .ld-icon,
.frog-job-student-dashboard-page .learndash-wrapper .ld-search-prompt::before {
	color: var(--fjsd-green-900) !important;
}

.frog-job-student-dashboard-page .learndash-wrapper .ld-item-list {
	margin: 0;
}

.frog-job-student-dashboard-page .learndash-wrapper .ld-item-list .ld-item-list-item {
	overflow: hidden;
	margin: 0 0 14px;
	border: 1px solid var(--fjsd-line);
	border-radius: 18px;
	background: var(--fjsd-white);
	box-shadow: 0 9px 28px rgba(7, 82, 61, 0.055);
	transition:
		transform 180ms ease,
		border-color 180ms ease,
		box-shadow 180ms ease;
}

.frog-job-student-dashboard-page .learndash-wrapper .ld-item-list .ld-item-list-item:hover {
	border-color: var(--fjsd-green-200);
	box-shadow: var(--fjsd-shadow-sm);
	transform: translateY(-2px);
}

.frog-job-student-dashboard-page .learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-list-item-preview {
	padding: 20px 22px;
}

.frog-job-student-dashboard-page .learndash-wrapper .ld-item-list .ld-item-title {
	color: var(--fjsd-ink);
	font-size: 0.97rem;
	font-weight: 820;
	line-height: 1.4;
}

.frog-job-student-dashboard-page .learndash-wrapper .ld-status {
	border-radius: 999px;
	font-size: 0.67rem;
	font-weight: 850;
	letter-spacing: 0.04em;
}

.frog-job-student-dashboard-page .learndash-wrapper .ld-status-complete,
.frog-job-student-dashboard-page .learndash-wrapper .ld-status-progress {
	color: var(--fjsd-white) !important;
	background: var(--fjsd-green-700) !important;
}

.frog-job-student-dashboard-page .learndash-wrapper .ld-status-waiting {
	color: #6a4b16;
	background: #fff1d6;
}

.frog-job-student-dashboard-page .learndash-wrapper .ld-progress {
	margin: 14px 0 0;
}

.frog-job-student-dashboard-page .learndash-wrapper .ld-progress .ld-progress-bar {
	height: 9px;
	border-radius: 999px;
	background: var(--fjsd-green-100);
}

.frog-job-student-dashboard-page .learndash-wrapper .ld-progress .ld-progress-bar .ld-progress-bar-percentage {
	border-radius: 999px;
	background: linear-gradient(90deg, var(--fjsd-green-700), var(--fjsd-green-500));
}

.frog-job-student-dashboard-page .learndash-wrapper .ld-progress .ld-progress-stats {
	color: var(--fjsd-muted);
	font-size: 0.75rem;
	font-weight: 720;
}

.frog-job-student-dashboard-page .learndash-wrapper .ld-expand-button {
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 800;
}

.frog-job-student-dashboard-page .learndash-wrapper .ld-section-heading .ld-expand-button,
.frog-job-student-dashboard-page .learndash-wrapper .ld-expand-button.ld-button-alternate {
	min-height: 44px;
	padding: 10px 17px !important;
	border: 1px solid var(--fjsd-green-900) !important;
	color: var(--fjsd-white) !important;
	background: var(--fjsd-green-900) !important;
	box-shadow: 0 10px 24px rgba(7, 82, 61, 0.15);
}

.frog-job-student-dashboard-page .learndash-wrapper .ld-section-heading .ld-expand-button:hover,
.frog-job-student-dashboard-page .learndash-wrapper .ld-expand-button.ld-button-alternate:hover {
	border-color: var(--fjsd-green-700) !important;
	background: var(--fjsd-green-700) !important;
}

.frog-job-student-dashboard-page .learndash-wrapper .ld-section-heading .ld-expand-button .ld-text,
.frog-job-student-dashboard-page .learndash-wrapper .ld-section-heading .ld-expand-button .ld-icon,
.frog-job-student-dashboard-page .learndash-wrapper .ld-expand-button.ld-button-alternate .ld-text,
.frog-job-student-dashboard-page .learndash-wrapper .ld-expand-button.ld-button-alternate .ld-icon {
	color: var(--fjsd-white) !important;
}

.frog-job-student-dashboard-page .learndash-wrapper .ld-item-list-item-preview .ld-expand-button {
	display: inline-flex;
	width: 42px;
	height: 42px;
	min-width: 42px;
	min-height: 42px;
	align-items: center;
	justify-content: center;
	padding: 0 !important;
	border: 1px solid var(--fjsd-green-200) !important;
	color: var(--fjsd-green-900) !important;
	background: var(--fjsd-green-100) !important;
	box-shadow: none;
}

.frog-job-student-dashboard-page .learndash-wrapper .ld-item-list-item-preview .ld-expand-button:hover {
	border-color: var(--fjsd-green-500) !important;
	background: var(--fjsd-green-200) !important;
}

.frog-job-student-dashboard-page .learndash-wrapper .ld-item-list-item-preview .ld-expand-button .ld-icon {
	color: var(--fjsd-green-900) !important;
}

.frog-job-student-dashboard-page .learndash-wrapper .ld-item-list-item-expanded {
	border-top: 1px solid var(--fjsd-line);
	background: var(--fjsd-cream);
}

.frog-job-student-dashboard-page .learndash-wrapper .ld-table-list {
	border: 1px solid var(--fjsd-line);
	border-radius: 16px;
}

.frog-job-student-dashboard-page .learndash-wrapper .ld-table-list .ld-table-list-header {
	padding: 15px 18px;
	color: var(--fjsd-white);
	background: var(--fjsd-green-900);
	font-weight: 820;
}

.frog-job-student-dashboard-page .learndash-wrapper .ld-table-list .ld-table-list-item {
	border-color: var(--fjsd-line);
}

.frog-job-student-dashboard-page .learndash-wrapper .ld-table-list .ld-table-list-item a {
	color: var(--fjsd-ink);
	font-weight: 720;
}

.frog-job-student-dashboard-page .learndash-wrapper .ld-table-list .ld-table-list-item a:hover {
	color: var(--fjsd-green-700);
}

.frog-job-student-dashboard-page .learndash-wrapper input[type="text"],
.frog-job-student-dashboard-page .learndash-wrapper input[type="search"] {
	min-height: 47px;
	padding: 10px 14px;
	border: 1px solid var(--fjsd-line);
	border-radius: 13px;
	color: var(--fjsd-ink);
	background: var(--fjsd-white);
	box-shadow: none;
}

.frog-job-student-dashboard-page .learndash-wrapper input[type="text"]:focus,
.frog-job-student-dashboard-page .learndash-wrapper input[type="search"]:focus {
	border-color: var(--fjsd-green-500);
	outline: 3px solid rgba(36, 184, 122, 0.14);
}

.frog-job-student-dashboard-page .learndash-wrapper .ld-button,
.frog-job-student-dashboard-page .learndash-wrapper a.ld-button,
.frog-job-student-dashboard-page .learndash-wrapper .btn-blue {
	min-height: 44px;
	padding: 11px 18px;
	border: 0;
	border-radius: 13px;
	color: var(--fjsd-white) !important;
	background: var(--fjsd-green-700) !important;
	box-shadow: 0 10px 24px rgba(11, 125, 89, 0.17);
	font-size: 0.82rem;
	font-weight: 820;
}

.frog-job-student-dashboard-page .learndash-wrapper .ld-button:hover,
.frog-job-student-dashboard-page .learndash-wrapper a.ld-button:hover,
.frog-job-student-dashboard-page .learndash-wrapper .btn-blue:hover {
	background: var(--fjsd-green-900) !important;
}

.frog-job-student-dashboard-page .learndash-wrapper .ld-alert {
	border-radius: 16px;
}

.frog-job-student-dashboard-page .learndash-wrapper .ld-pagination {
	margin-top: 22px;
}

.frog-job-student-dashboard-page .learndash-wrapper .ld-pagination .ld-pages {
	color: var(--fjsd-white);
	background: var(--fjsd-green-900);
}

.frog-job-student-dashboard-page .learndash-wrapper .ld-icon {
	color: var(--fjsd-green-700);
}

.frog-job-student-dashboard-page #ld-profile .ld-profile-stat-certificates,
.frog-job-student-dashboard-page #ld-profile .ld-profile-stat-courses,
.frog-job-student-dashboard-page #ld-profile .ld-profile-stat-points {
	border-radius: 15px;
}

@media (max-width: 920px) {
	.fjsd-hero-main {
		align-items: flex-start;
		flex-direction: column;
	}

	.fjsd-hero-actions {
		width: 100%;
		justify-content: flex-start;
	}

	.fjsd-panel-heading,
	.fjsd-personalize-heading {
		grid-template-columns: 1fr;
		align-items: start;
	}

	.fjsd-form-grid {
		grid-template-columns: 1fr;
	}

	.fjsd-theme-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	.fjsd-portal {
		width: min(100% - 24px, 1220px);
		margin: 18px auto 32px;
	}

	.fjsd-hero,
	.fjsd-personalize-panel,
	.fjsd-learning-panel {
		border-radius: 23px;
	}

	.fjsd-hero {
		padding: 24px 20px;
	}

	.fjsd-private-badge {
		display: none;
	}

	.fjsd-user-block {
		align-items: flex-start;
		flex-direction: column;
	}

	.fjsd-avatar {
		width: 78px;
		height: 78px;
		border-radius: 22px;
	}

	.fjsd-hero-actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	.fjsd-button {
		width: 100%;
	}

	.fjsd-benefit-list {
		grid-template-columns: 1fr;
	}

	.fjsd-personalize-panel,
	.fjsd-learning-panel {
		padding: 23px 18px;
	}

	.fjsd-avatar-editor {
		align-items: flex-start;
		flex-direction: column;
	}

	.fjsd-avatar-controls {
		width: 100%;
	}

	.fjsd-theme-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.fjsd-form-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.fjsd-portal-footer {
		align-items: flex-start;
		flex-direction: column;
		padding-inline: 3px;
	}

	.frog-job-student-dashboard-page #ld-profile .ld-profile-summary {
		grid-template-columns: 1fr;
	}

	.frog-job-student-dashboard-page #ld-profile .ld-profile-stats {
		grid-template-columns: 1fr;
	}

	.frog-job-student-dashboard-page .learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-list-item-preview {
		padding: 17px 15px;
	}
}

@media (max-width: 450px) {
	.fjsd-name-row,
	.fjsd-theme-grid {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.fjsd-portal *,
	.fjsd-portal *::before,
	.fjsd-portal *::after,
	.fjsd-guest-card *,
	.fjsd-guest-card *::before,
	.fjsd-guest-card *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}

/* ==========================================================
   v1.2.0 — TỔNG QUAN, LỐI TẮT, ĐIỀU HƯỚNG PHỤ VÀ HIỆU ỨNG
   ========================================================== */

/* Neo không bị header cố định che */
.fjsd-portal [id^="fjsd-"] {
	scroll-margin-top: calc(var(--fjnav-h, 90px) + 20px);
}

.fjsd-portal [id^="fjsd-"]:focus {
	outline: none;
}

/* ---------- Thanh điều hướng phụ ---------- */
.fjsd-section-nav {
	position: sticky;
	top: var(--fjsd-nav-top, 90px);
	z-index: 20;
	margin: 18px 0 26px;
}

.fjsd-section-nav ul {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
	margin: 0;
	padding: 7px;
	list-style: none;
	border: 1px solid rgba(7, 82, 61, 0.12);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	box-shadow: 0 12px 30px rgba(7, 82, 61, 0.1);
}

.fjsd-section-nav a {
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	padding: 9px 18px;
	border-radius: 999px;
	color: #3d554e;
	font-size: 0.9rem;
	font-weight: 700;
	text-decoration: none;
	transition: background-color 180ms ease, color 180ms ease;
}

.fjsd-section-nav a:hover {
	background: rgba(36, 184, 122, 0.12);
	color: #07523d;
}

.fjsd-section-nav a.is-active {
	background: var(--fjsd-primary, #07523d);
	color: #fff;
}

/* ---------- Bảng tổng quan ---------- */
.fjsd-stats-panel {
	margin-bottom: 28px;
}

.fjsd-stat-grid {
	display: grid;
	grid-template-columns: 1.4fr repeat(3, 1fr);
	gap: 16px;
	margin-top: 22px;
}

.fjsd-stat-card {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 24px 22px;
	border: 1px solid rgba(7, 82, 61, 0.1);
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 12px 32px rgba(7, 82, 61, 0.07);
	transition: transform 220ms ease, box-shadow 220ms ease;
}

.fjsd-stat-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 22px 48px rgba(7, 82, 61, 0.13);
}

.fjsd-stat-card-progress {
	flex-direction: row;
	align-items: center;
	gap: 20px;
}

.fjsd-stat-icon {
	font-size: 1.5rem;
	line-height: 1;
}

.fjsd-stat-number {
	color: var(--fjsd-primary, #07523d);
	font-size: 2.2rem;
	font-weight: 850;
	letter-spacing: -0.04em;
	line-height: 1;
}

.fjsd-stat-label {
	color: #5b6f69;
	font-size: 0.9rem;
}

.fjsd-stat-card-progress h3 {
	margin: 0 0 5px;
	font-size: 1.02rem;
	font-weight: 820;
}

.fjsd-stat-card-progress p {
	margin: 0;
	color: #5b6f69;
	font-size: 0.87rem;
}

/* ---------- Vòng tiến trình ---------- */
.fjsd-progress-ring {
	position: relative;
	flex-shrink: 0;
	width: 116px;
	height: 116px;
}

.fjsd-progress-ring svg {
	width: 100%;
	height: 100%;
	transform: rotate(-90deg);
}

.fjsd-ring-track,
.fjsd-ring-value {
	fill: none;
	stroke-width: 10;
	stroke-linecap: round;
}

.fjsd-ring-track {
	stroke: rgba(7, 82, 61, 0.1);
}

.fjsd-ring-value {
	stroke: var(--fjsd-accent, #24b87a);
}

.fjsd-ring-label {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1px;
}

.fjsd-ring-label strong {
	color: var(--fjsd-primary, #07523d);
	font-size: 1.35rem;
	font-weight: 860;
	letter-spacing: -0.03em;
	line-height: 1;
}

.fjsd-ring-label small {
	color: #5b6f69;
	font-size: 0.72rem;
}

/* ---------- Lối tắt ---------- */
.fjsd-quicklinks-panel {
	margin-top: 28px;
}

.fjsd-quicklinks-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin-top: 20px;
}

.fjsd-quicklink {
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 18px 20px;
	border: 1px solid rgba(7, 82, 61, 0.1);
	border-radius: 18px;
	background: #fff;
	color: inherit;
	text-decoration: none;
	transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.fjsd-quicklink:hover {
	transform: translateY(-3px);
	border-color: rgba(36, 184, 122, 0.5);
	box-shadow: 0 18px 38px rgba(7, 82, 61, 0.1);
}

.fjsd-quicklink-icon {
	display: inline-flex;
	width: 46px;
	height: 46px;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	border-radius: 14px;
	background: rgba(36, 184, 122, 0.12);
	font-size: 1.25rem;
}

.fjsd-quicklink-body {
	flex: 1;
	min-width: 0;
}

.fjsd-quicklink-body strong {
	display: block;
	font-size: 0.98rem;
	font-weight: 800;
	line-height: 1.3;
}

.fjsd-quicklink-body small {
	display: block;
	margin-top: 2px;
	color: #5b6f69;
	font-size: 0.85rem;
}

.fjsd-quicklink-go {
	flex-shrink: 0;
	color: var(--fjsd-accent, #24b87a);
	font-size: 1.15rem;
	font-weight: 800;
	transition: transform 200ms ease;
}

.fjsd-quicklink:hover .fjsd-quicklink-go {
	transform: translateX(4px);
}

/* ---------- Hiện dần khi cuộn ---------- */
.fjsd-reveal {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 600ms cubic-bezier(0.22, 0.8, 0.3, 1),
		transform 600ms cubic-bezier(0.22, 0.8, 0.3, 1);
	transition-delay: var(--fjsd-delay, 0ms);
}

.fjsd-reveal.is-visible {
	opacity: 1;
	transform: none;
}

/* ---------- Nút đang lưu ---------- */
.fjsd-button.is-loading {
	position: relative;
	color: transparent !important;
	pointer-events: none;
}

.fjsd-button.is-loading::after {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 19px;
	height: 19px;
	margin: -10px 0 0 -10px;
	border: 2.5px solid rgba(255, 255, 255, 0.35);
	border-top-color: #fff;
	border-radius: 50%;
	animation: fjsd-spin 700ms linear infinite;
	content: "";
}

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

/* Nhắc nhẹ khi có thay đổi chưa lưu */
.fjsd-profile-form.has-changes .fjsd-form-actions::before {
	content: "Bạn có thay đổi chưa lưu";
	color: #8a5510;
	font-size: 0.85rem;
	font-weight: 700;
}

/* ---------- Thông báo ---------- */
.fjsd-notice {
	position: relative;
	padding-right: 46px !important;
	transition: opacity 240ms ease, transform 240ms ease;
}

.fjsd-notice.is-dismissed {
	opacity: 0;
	transform: translateY(-6px);
}

.fjsd-notice-close {
	position: absolute;
	top: 50%;
	right: 12px;
	display: inline-flex;
	width: 30px;
	height: 30px;
	align-items: center;
	justify-content: center;
	transform: translateY(-50%);
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.06);
	color: inherit;
	font-size: 1.2rem;
	line-height: 1;
	cursor: pointer;
}

.fjsd-notice-close:hover {
	background: rgba(0, 0, 0, 0.12);
}

/* ---------- Ảnh đại diện sắp bị xoá ---------- */
.fjsd-settings-avatar {
	transition: opacity 200ms ease, filter 200ms ease;
}

.fjsd-settings-avatar.is-dimmed {
	opacity: 0.35;
	filter: grayscale(1);
}

/* ---------- Nút lên đầu trang ---------- */
.fjsd-to-top {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 30;
	display: inline-flex;
	width: 48px;
	height: 48px;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 15px;
	background: var(--fjsd-primary, #07523d);
	color: #fff;
	font-size: 1.2rem;
	cursor: pointer;
	box-shadow: 0 16px 34px rgba(4, 60, 45, 0.3);
	opacity: 0;
	transform: translateY(14px);
	visibility: hidden;
	transition: opacity 240ms ease, transform 240ms ease, visibility 240ms;
}

.fjsd-to-top.is-visible {
	opacity: 1;
	transform: translateY(0);
	visibility: visible;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.fjsd-stat-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.fjsd-stat-card-progress {
		grid-column: 1 / -1;
	}
}

@media (max-width: 640px) {
	.fjsd-stat-grid,
	.fjsd-quicklinks-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.fjsd-section-nav ul {
		flex-wrap: nowrap;
		overflow-x: auto;
		border-radius: 18px;
		scrollbar-width: none;
	}

	.fjsd-section-nav ul::-webkit-scrollbar {
		display: none;
	}

	.fjsd-section-nav a {
		white-space: nowrap;
	}

	.fjsd-to-top {
		right: 14px;
		bottom: calc(14px + env(safe-area-inset-bottom));
	}
}

@media (prefers-reduced-motion: reduce) {
	.fjsd-reveal,
	.fjsd-stat-card,
	.fjsd-quicklink,
	.fjsd-to-top,
	.fjsd-notice {
		transition-duration: 0.01ms !important;
	}

	.fjsd-reveal {
		opacity: 1 !important;
		transform: none !important;
	}
}

@media print {
	.fjsd-section-nav,
	.fjsd-to-top {
		display: none !important;
	}
}
