/**
 * VELYON Foundation LMS - Public (Front-end) Styles
 *
 * Follows the VELYON theme's design-token contract directly (--velyon-*
 * custom properties from the theme's tokens.css — see
 * THEME-DESIGN-CONTRACT.md) instead of a plugin-owned palette, so colors
 * stay in sync with the theme's Brand Color setting and respond to the
 * theme's dark/light mode automatically. The soft/mid/strong tint
 * variants formerly baked into this plugin's own tokens are now
 * produced on the fly with color-mix(), since the theme only exposes
 * flat tokens.
 */

/* ---------------------------------------------------------------- */
/* Buttons                                                            */
/* ---------------------------------------------------------------- */

.vel-fdn-enroll-btn {
	display: inline-block;
	background: var(--velyon-accent);
	color: var(--velyon-on-accent);
	border: none;
	border-radius: var(--velyon-radius-s);
	padding: 12px 26px;
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .03em;
	cursor: pointer;
	text-decoration: none;
	line-height: 1.4;
	box-shadow: 0 0 14px color-mix(in srgb, var(--velyon-accent) 35%, transparent);
	transition: box-shadow .2s ease, transform .15s ease, background-color .15s ease;
}
.vel-fdn-enroll-btn:hover,
.vel-fdn-enroll-btn:focus {
	background: var(--velyon-accent);
	color: var(--velyon-on-accent);
	box-shadow: 0 0 26px color-mix(in srgb, var(--velyon-accent) 75%, transparent);
	transform: translateY(-1px);
}
.vel-fdn-enroll-btn:disabled {
	background: color-mix(in srgb, var(--velyon-text) 8%, transparent);
	color: color-mix(in srgb, var(--velyon-text) 35%, transparent);
	box-shadow: none;
	cursor: not-allowed;
	transform: none;
}
.vel-fdn-enroll-btn-enrolled {
	background: transparent;
	border: 2px solid var(--velyon-accent);
	color: var(--velyon-accent);
	box-shadow: 0 0 10px color-mix(in srgb, var(--velyon-accent) 15%, transparent);
	padding: 10px 24px;
}
.vel-fdn-enroll-btn-enrolled:hover {
	background: var(--velyon-accent);
	color: var(--velyon-on-accent);
	box-shadow: 0 0 22px color-mix(in srgb, var(--velyon-accent) 75%, transparent);
}

/* ---------------------------------------------------------------- */
/* Modal overlay                                                      */
/* ---------------------------------------------------------------- */

.vel-fdn-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, .82);
	backdrop-filter: blur(3px);
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}
.vel-fdn-modal {
	background: var(--velyon-surface);
	border: 1px solid color-mix(in srgb, var(--velyon-accent) 35%, transparent);
	border-radius: var(--velyon-radius-s);
	width: 100%;
	max-width: 420px;
	max-height: 90vh;
	overflow-y: auto;
	position: relative;
	padding: 32px 28px 24px;
	box-shadow: 0 0 40px color-mix(in srgb, var(--velyon-accent) 35%, transparent), 0 20px 60px rgba(0, 0, 0, .7);
}
.vel-fdn-modal-close {
	position: absolute;
	top: 12px;
	right: 14px;
	background: none;
	border: none;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	color: var(--velyon-text-muted);
}
.vel-fdn-modal-close:hover {
	color: var(--velyon-accent);
}
.vel-fdn-modal h3 {
	margin-top: 0;
	margin-bottom: 18px;
	font-size: 20px;
	color: var(--velyon-text);
	text-transform: uppercase;
	letter-spacing: .02em;
}
.vel-fdn-modal form p {
	margin: 0 0 14px;
}
.vel-fdn-modal label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 4px;
	color: var(--velyon-text-muted);
}
.vel-fdn-modal input[type="text"],
.vel-fdn-modal input[type="email"],
.vel-fdn-modal input[type="tel"],
.vel-fdn-modal input[type="password"] {
	width: 100%;
	padding: 10px 12px;
	background: color-mix(in srgb, var(--velyon-text) 5%, transparent);
	border: 1px solid var(--velyon-border);
	border-radius: var(--velyon-radius-s);
	font-size: 15px;
	color: var(--velyon-text);
	box-sizing: border-box;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.vel-fdn-modal input:focus {
	outline: none;
	border-color: var(--velyon-accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--velyon-accent) 15%, transparent);
}
.vel-fdn-modal-submit-btn {
	width: 100%;
	background: var(--velyon-accent);
	color: var(--velyon-on-accent);
	border: none;
	border-radius: var(--velyon-radius-s);
	padding: 12px;
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .03em;
	cursor: pointer;
	margin-top: 4px;
	box-shadow: 0 0 14px color-mix(in srgb, var(--velyon-accent) 35%, transparent);
	transition: box-shadow .2s ease;
}
.vel-fdn-modal-submit-btn:hover {
	box-shadow: 0 0 24px color-mix(in srgb, var(--velyon-accent) 75%, transparent);
}
.vel-fdn-modal-submit-btn:disabled {
	background: color-mix(in srgb, var(--velyon-text) 8%, transparent);
	color: color-mix(in srgb, var(--velyon-text) 35%, transparent);
	box-shadow: none;
	cursor: not-allowed;
}
.vel-fdn-modal-error {
	background: color-mix(in srgb, var(--velyon-text) 6%, transparent);
	border-left: 3px solid var(--velyon-text);
	color: var(--velyon-text);
	border-radius: var(--velyon-radius-s);
	padding: 10px 12px;
	font-size: 14px;
	margin: 0 0 14px;
	display: none;
}
.vel-fdn-modal-error.is-visible {
	display: block;
}

/* ---------------------------------------------------------------- */
/* Workspace sidebar shortcodes (Notes / Lectures / Tasks / Prompts / Tests) */
/* ---------------------------------------------------------------- */

.vel-fdn-workspace-notice,
.vel-fdn-empty-state {
	color: var(--velyon-text-muted);
	font-style: italic;
	padding: 16px 0;
}

/* Locked / not-enrolled notice — simple variant (Progress, Certificate) */
.vel-fdn-locked-notice {
	text-align: center;
	padding: 40px 20px;
	background: var(--velyon-surface);
	border: 1px solid var(--velyon-border);
	border-radius: var(--velyon-radius-s);
}
.vel-fdn-locked-icon {
	color: var(--velyon-accent);
	margin: 0 0 10px;
	filter: drop-shadow(0 0 6px color-mix(in srgb, var(--velyon-accent) 35%, transparent));
}
.vel-fdn-locked-icon svg {
	display: block;
	margin: 0 auto;
}
.vel-fdn-locked-heading {
	font-size: 16px;
	color: var(--velyon-text);
	margin: 0 0 18px;
}

/* Locked / not-enrolled notice — blurred preview variant (Notes, Lectures, Tasks, Prompts, Tests) */
.vel-fdn-locked-wrap {
	position: relative;
	min-height: 260px;
	overflow: hidden;
	border-radius: var(--velyon-radius-s);
}
.vel-fdn-locked-blur-layer {
	filter: blur(5px);
	opacity: .5;
	pointer-events: none;
	user-select: none;
}
.vel-fdn-locked-preview-item {
	background: var(--velyon-surface);
}
.vel-fdn-locked-notice-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 24px 20px;
	background: linear-gradient(to bottom, rgba(0, 0, 0, .25), rgba(0, 0, 0, .93) 45%);
}
.vel-fdn-locked-notice-overlay .vel-fdn-locked-icon svg {
	width: 28px;
	height: 28px;
}
.vel-fdn-locked-notice-overlay .vel-fdn-locked-heading {
	font-size: 16px;
	color: var(--velyon-text);
	margin: 0 0 16px;
	max-width: 360px;
}

/* Generic list item row */
.vel-fdn-list-item {
	background: var(--velyon-surface);
	border: 1px solid var(--velyon-border);
	border-radius: var(--velyon-radius-s);
	margin-bottom: 10px;
	overflow: hidden;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.vel-fdn-list-item:hover {
	border-color: color-mix(in srgb, var(--velyon-accent) 35%, transparent);
	box-shadow: 0 0 16px color-mix(in srgb, var(--velyon-accent) 15%, transparent);
}
.vel-fdn-item-row {
	display: flex;
	align-items: center;
	gap: 10px;
}
.vel-fdn-item-title {
	font-weight: 600;
	color: var(--velyon-text);
}
.vel-fdn-item-meta {
	color: var(--velyon-text-muted);
	font-size: 13px;
	font-weight: 400;
}

/* Completion checkbox (Notes / Lectures / Tasks) */
.vel-fdn-progress-checkbox {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	flex-shrink: 0;
	width: 22px;
	height: 22px;
}
.vel-fdn-progress-checkbox input[type="checkbox"] {
	position: absolute;
	opacity: 0;
	width: 22px;
	height: 22px;
	margin: 0;
	cursor: pointer;
}
.vel-fdn-checkmark {
	display: inline-block;
	width: 22px;
	height: 22px;
	border: 2px solid color-mix(in srgb, var(--velyon-text) 25%, transparent);
	border-radius: var(--velyon-radius-s);
	background: transparent;
	position: relative;
	transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.vel-fdn-progress-checkbox input:checked ~ .vel-fdn-checkmark {
	background: var(--velyon-accent);
	border-color: var(--velyon-accent);
	box-shadow: 0 0 10px color-mix(in srgb, var(--velyon-accent) 35%, transparent);
}
.vel-fdn-progress-checkbox input:checked ~ .vel-fdn-checkmark::after {
	content: '';
	position: absolute;
	left: 6px;
	top: 2px;
	width: 6px;
	height: 11px;
	border: solid var(--velyon-on-accent);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}
.vel-fdn-progress-checkbox input:disabled ~ .vel-fdn-checkmark {
	opacity: .6;
	cursor: not-allowed;
}

/* Course progress — gamified dashboard widget */
.vel-fdn-progress-widget {
	margin-bottom: 20px;
	text-align: center;
}

/* Overall completion ring */
.vel-fdn-progress-overview {
	position: relative;
	width: 140px;
	height: 140px;
	margin: 0 auto;
}
.vel-fdn-progress-ring {
	width: 100%;
	height: 100%;
	transform: rotate(-90deg);
}
.vel-fdn-progress-ring-track {
	fill: none;
	stroke: color-mix(in srgb, var(--velyon-text) 8%, transparent);
	stroke-width: 10;
}
.vel-fdn-progress-ring-fill {
	fill: none;
	stroke: var(--velyon-accent);
	stroke-width: 10;
	stroke-linecap: round;
	filter: drop-shadow(0 0 6px color-mix(in srgb, var(--velyon-accent) 75%, transparent));
	transition: stroke-dashoffset .5s ease;
}
.vel-fdn-progress-ring-center {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	flex-direction: column;
	align-items: center;
}
.vel-fdn-progress-percentage {
	font-size: 26px;
	font-weight: 800;
	color: var(--velyon-accent);
	text-shadow: 0 0 10px color-mix(in srgb, var(--velyon-accent) 35%, transparent);
	line-height: 1.1;
}
.vel-fdn-progress-ring-caption {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: color-mix(in srgb, var(--velyon-text) 35%, transparent);
	margin-top: 2px;
}

.vel-fdn-progress-tagline {
	margin: 14px 0 2px;
	font-size: 16px;
	font-weight: 700;
	color: var(--velyon-text);
}
.vel-fdn-progress-text {
	margin: 0 0 20px;
	font-size: 13px;
	color: var(--velyon-text-muted);
}
.vel-fdn-progress-text .vel-fdn-progress-count,
.vel-fdn-progress-text .vel-fdn-progress-total {
	font-weight: 700;
	color: var(--velyon-text);
}

/* Per-type stat card grid */
.vel-fdn-progress-breakdown {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 12px;
	text-align: left;
}
.vel-fdn-progress-stat-card {
	background: var(--velyon-surface);
	border: 1.5px solid var(--velyon-border);
	border-radius: var(--velyon-radius-s);
	padding: 14px;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.vel-fdn-progress-stat-card.is-complete {
	border-color: color-mix(in srgb, var(--velyon-accent) 35%, transparent);
	box-shadow: 0 0 14px color-mix(in srgb, var(--velyon-accent) 15%, transparent);
}
.vel-fdn-progress-stat-top {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
}
.vel-fdn-progress-stat-icon {
	font-size: 18px;
	line-height: 1;
}
.vel-fdn-progress-stat-label {
	font-size: 13px;
	font-weight: 700;
	color: var(--velyon-text);
}
.vel-fdn-progress-stat-count {
	margin: 0 0 8px;
	font-size: 20px;
	font-weight: 800;
	color: var(--velyon-text);
}
.vel-fdn-progress-stat-count .vel-fdn-progress-stat-total {
	font-size: 14px;
	font-weight: 600;
	color: color-mix(in srgb, var(--velyon-text) 35%, transparent);
}
.vel-fdn-progress-stat-track {
	background: color-mix(in srgb, var(--velyon-text) 8%, transparent);
	border-radius: var(--velyon-radius-l);
	height: 6px;
	overflow: hidden;
	margin-bottom: 8px;
}
.vel-fdn-progress-stat-fill {
	background: var(--velyon-accent);
	height: 100%;
	border-radius: var(--velyon-radius-l);
	transition: width .4s ease;
}
.vel-fdn-progress-stat-remaining {
	font-size: 12px;
	font-weight: 600;
	color: var(--velyon-text-muted);
}
.vel-fdn-progress-stat-card.is-complete .vel-fdn-progress-stat-remaining {
	color: var(--velyon-accent);
}

/* Notes list */
.vel-fdn-notes-list .vel-fdn-item-row {
	padding: 14px 16px;
}
.vel-fdn-notes-list .vel-fdn-item-title {
	flex: 1;
}
.vel-fdn-view-slides-btn {
	background: transparent;
	color: var(--velyon-accent);
	border: 1.5px solid var(--velyon-accent);
	border-radius: var(--velyon-radius-s);
	padding: 7px 18px;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .02em;
	cursor: pointer;
	flex-shrink: 0;
	transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.vel-fdn-view-slides-btn:hover {
	background: var(--velyon-accent);
	color: var(--velyon-on-accent);
	box-shadow: 0 0 14px color-mix(in srgb, var(--velyon-accent) 35%, transparent);
}
.vel-fdn-admin-warning {
	color: var(--velyon-danger);
	font-size: 12px;
	font-weight: 600;
	flex-shrink: 0;
}

/* Inline Google Slides viewer (Learning Notes) */
.vel-fdn-notes-back-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: none;
	border: none;
	padding: 0;
	margin-bottom: 14px;
	color: var(--velyon-accent);
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .02em;
	cursor: pointer;
}
.vel-fdn-notes-back-btn:hover {
	text-decoration: underline;
}
.vel-fdn-notes-viewer-title {
	margin: 0 0 12px;
	color: var(--velyon-text);
	font-size: 16px;
	font-weight: 700;
}
.vel-fdn-slides-embed-wrap {
	position: relative;
	width: 100%;
	padding-top: 60.5%; /* Google Slides' default 4:3-ish embed ratio */
	background: #000;
	border: 1px solid var(--velyon-border);
	border-radius: var(--velyon-radius-s);
	overflow: hidden;
}
.vel-fdn-slides-embed-wrap iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* Toggle button rows shared by Lectures + Tasks */
.vel-fdn-lecture-item .vel-fdn-item-row,
.vel-fdn-task-item .vel-fdn-item-row {
	padding-left: 16px;
}
.vel-fdn-toggle-btn {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 8px;
	background: transparent;
	border: none;
	padding: 14px 16px;
	font-size: 15px;
	color: var(--velyon-text);
	text-align: left;
	cursor: pointer;
	transition: background-color .15s ease;
}
.vel-fdn-toggle-btn:hover {
	background: color-mix(in srgb, var(--velyon-text) 4%, transparent);
}
.vel-fdn-toggle-btn::after {
	content: '▾';
	margin-left: auto;
	color: var(--velyon-accent);
	transition: transform .15s ease;
}
.vel-fdn-toggle-btn.is-open::after {
	transform: rotate(180deg);
}

.vel-fdn-lecture-player {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	height: 0;
	background: var(--velyon-on-accent);
	border-top: 1px solid var(--velyon-border);
}
.vel-fdn-lecture-player iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: none;
}

.vel-fdn-task-panel {
	padding: 16px 18px;
	border-top: 1px solid var(--velyon-border);
	background: color-mix(in srgb, var(--velyon-text) 2%, transparent);
	color: var(--velyon-text-muted);
	line-height: 1.6;
}
.vel-fdn-task-panel a {
	color: var(--velyon-accent);
}

/* Prompts list */
.vel-fdn-prompt-item {
	background: var(--velyon-surface);
	border: 1px solid var(--velyon-border);
	border-radius: var(--velyon-radius-s);
	margin-bottom: 14px;
	overflow: hidden;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.vel-fdn-prompt-item:hover {
	border-color: color-mix(in srgb, var(--velyon-accent) 35%, transparent);
	box-shadow: 0 0 16px color-mix(in srgb, var(--velyon-accent) 15%, transparent);
}
.vel-fdn-prompt-header {
	display: flex;
	align-items: center;
	padding-right: 16px;
	background: color-mix(in srgb, var(--velyon-text) 3%, transparent);
	border-bottom: 1px solid var(--velyon-border);
}
.vel-fdn-prompt-header .vel-fdn-item-title {
	color: var(--velyon-text);
}
.vel-fdn-prompt-toggle {
	padding: 12px 16px;
}
.vel-fdn-copy-prompt-btn {
	background: transparent;
	color: var(--velyon-accent);
	border: 1.5px solid var(--velyon-accent);
	border-radius: var(--velyon-radius-s);
	padding: 6px 16px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .02em;
	cursor: pointer;
	flex-shrink: 0;
	margin-left: 12px;
	transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.vel-fdn-copy-prompt-btn:hover {
	background: var(--velyon-accent);
	color: var(--velyon-on-accent);
	box-shadow: 0 0 14px color-mix(in srgb, var(--velyon-accent) 35%, transparent);
}
.vel-fdn-copy-prompt-btn.is-copied {
	background: var(--velyon-accent);
	color: var(--velyon-on-accent);
}
.vel-fdn-prompt-text {
	margin: 0;
	padding: 16px;
	white-space: pre-wrap;
	word-wrap: break-word;
	font-family: inherit;
	font-size: 14px;
	color: var(--velyon-text-muted);
	background: transparent;
}

/* Mock Tests list */
.vel-fdn-quiz-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 16px;
	gap: 12px;
}
.vel-fdn-quiz-info {
	display: flex;
	flex-direction: column;
	gap: 5px;
}
.vel-fdn-start-quiz-btn {
	flex-shrink: 0;
}
.vel-fdn-start-quiz-btn:disabled {
	background: color-mix(in srgb, var(--velyon-text) 8%, transparent);
	color: color-mix(in srgb, var(--velyon-text) 35%, transparent);
	box-shadow: none;
}
.vel-fdn-quiz-best-badge {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .02em;
	padding: 3px 10px;
	border-radius: var(--velyon-radius-s);
	width: fit-content;
}
.vel-fdn-quiz-best-badge.is-passed {
	background: color-mix(in srgb, var(--velyon-accent) 15%, transparent);
	color: var(--velyon-accent);
	border: 1px solid color-mix(in srgb, var(--velyon-accent) 35%, transparent);
}
.vel-fdn-quiz-best-badge.is-failed {
	background: color-mix(in srgb, var(--velyon-text) 6%, transparent);
	color: var(--velyon-text-muted);
	border: 1px solid var(--velyon-border);
}

/* Quiz-taking view (inside the shared quiz modal) */
.vel-fdn-quiz-taking h3 {
	margin-top: 0;
	color: var(--velyon-text);
}
/* Sticky header: timer + live progress bar stay visible while scrolling */
.vel-fdn-quiz-sticky-header {
	position: sticky;
	top: 0;
	z-index: 5;
	display: flex;
	align-items: center;
	gap: 16px;
	background: var(--velyon-surface);
	margin: 0 -16px 18px;
	padding: 12px 16px;
	border-bottom: 1px solid var(--velyon-border);
	box-shadow: 0 10px 16px -10px rgba(0, 0, 0, .7);
}
.vel-fdn-quiz-timer {
	display: inline-block;
	flex-shrink: 0;
	background: var(--velyon-on-accent);
	border: 1.5px solid var(--velyon-accent);
	color: var(--velyon-accent);
	font-weight: 800;
	font-size: 16px;
	padding: 6px 18px;
	border-radius: var(--velyon-radius-l);
}
.vel-fdn-quiz-timer.is-low-time {
	border-color: var(--velyon-warning);
	color: var(--velyon-warning);
}
.vel-fdn-quiz-question {
	background: var(--velyon-surface);
	border: 1px solid var(--velyon-border);
	border-radius: var(--velyon-radius-s);
	padding: 16px;
	margin-bottom: 14px;
}
.vel-fdn-quiz-question-text {
	font-weight: 600;
	color: var(--velyon-text);
	margin-top: 0;
	margin-bottom: 12px;
}
.vel-fdn-quiz-question-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--velyon-accent) 15%, transparent);
	color: var(--velyon-accent);
	font-size: 13px;
	font-weight: 800;
	margin-right: 10px;
	flex-shrink: 0;
	vertical-align: middle;
}
/* The native radio is kept in the DOM for form semantics/keyboard
   access, but hidden visually — the letter badge is the single
   selection indicator so it doesn't crowd against a redundant dot. */
.vel-fdn-quiz-option-input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	margin: 0;
	pointer-events: none;
}
.vel-fdn-quiz-option {
	position: relative;
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 14px 18px;
	margin-bottom: 8px;
	border-radius: var(--velyon-radius-s);
	border: 1.5px solid var(--velyon-border);
	cursor: pointer;
	font-size: 15px;
	color: var(--velyon-text-muted);
	transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .1s ease;
}
.vel-fdn-quiz-option:last-child {
	margin-bottom: 0;
}
.vel-fdn-quiz-option:hover {
	background: color-mix(in srgb, var(--velyon-text) 5%, transparent);
	border-color: color-mix(in srgb, var(--velyon-accent) 35%, transparent);
	color: var(--velyon-text);
}
.vel-fdn-quiz-option:active {
	transform: scale(.99);
}
.vel-fdn-quiz-option:focus-within {
	outline: 2px solid var(--velyon-accent);
	outline-offset: 2px;
}
.vel-fdn-quiz-option-letter {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--velyon-text) 6%, transparent);
	border: 1px solid var(--velyon-border);
	color: var(--velyon-text-muted);
	font-size: 13px;
	font-weight: 800;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.vel-fdn-quiz-option-text {
	flex: 1;
	line-height: 1.5;
}
.vel-fdn-quiz-option.is-selected {
	background: color-mix(in srgb, var(--velyon-accent) 15%, transparent);
	border-color: var(--velyon-accent);
	color: var(--velyon-text);
	box-shadow: 0 0 16px color-mix(in srgb, var(--velyon-accent) 15%, transparent);
}
.vel-fdn-quiz-option.is-selected .vel-fdn-quiz-option-letter {
	background: var(--velyon-accent);
	border-color: var(--velyon-accent);
	color: var(--velyon-on-accent);
}
.vel-fdn-quiz-submit-btn {
	width: 100%;
	margin-top: 8px;
}

/* Live "answered X of N" progress bar — lives inside the sticky header */
.vel-fdn-quiz-progress-wrap {
	flex: 1;
	min-width: 0;
}
.vel-fdn-quiz-progress-track {
	background: color-mix(in srgb, var(--velyon-text) 8%, transparent);
	border-radius: var(--velyon-radius-l);
	height: 10px;
	overflow: hidden;
	border: 1px solid var(--velyon-border);
}
.vel-fdn-quiz-progress-fill {
	background: var(--velyon-accent);
	height: 100%;
	border-radius: var(--velyon-radius-l);
	width: 0;
	transition: width .3s ease;
}
.vel-fdn-quiz-progress-fill.is-complete {
	box-shadow: 0 0 12px color-mix(in srgb, var(--velyon-accent) 75%, transparent);
}
.vel-fdn-quiz-progress-text {
	display: block;
	margin-top: 4px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .03em;
	color: var(--velyon-text-muted);
}

/* Quiz results view */
.vel-fdn-quiz-results {
	text-align: center;
}
.vel-fdn-quiz-score-badge {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 140px;
	height: 140px;
	border-radius: 50%;
	margin: 10px auto 6px;
}
.vel-fdn-quiz-score-badge.is-passed {
	background: var(--velyon-accent);
	color: var(--velyon-on-accent);
	box-shadow: 0 0 40px color-mix(in srgb, var(--velyon-accent) 75%, transparent);
}
.vel-fdn-quiz-score-badge.is-failed {
	background: transparent;
	border: 3px solid color-mix(in srgb, var(--velyon-text) 30%, transparent);
	color: var(--velyon-text);
}
.vel-fdn-quiz-score-percent {
	font-size: 32px;
	font-weight: 800;
	line-height: 1;
}
.vel-fdn-quiz-score-label {
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
	margin-top: 4px;
}
.vel-fdn-quiz-score-detail {
	color: var(--velyon-text-muted);
	margin: 0 0 4px;
}
.vel-fdn-quiz-score-tally {
	color: var(--velyon-text-muted);
	font-size: 13px;
	margin: 0 0 22px;
}
.vel-fdn-quiz-review {
	text-align: left;
}
.vel-fdn-quiz-review-item {
	background: var(--velyon-surface);
	border: 1px solid var(--velyon-border);
	border-radius: var(--velyon-radius-s);
	padding: 14px 16px;
	margin-bottom: 12px;
}
.vel-fdn-quiz-review-item.is-correct {
	border-left: 4px solid var(--velyon-accent);
}
.vel-fdn-quiz-review-item.is-incorrect {
	border-left: 4px solid var(--velyon-danger);
}
.vel-fdn-quiz-review-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	font-size: 12px;
	font-weight: 800;
	margin-right: 8px;
	vertical-align: middle;
}
.vel-fdn-quiz-review-item.is-correct .vel-fdn-quiz-review-icon {
	background: color-mix(in srgb, var(--velyon-accent) 15%, transparent);
	color: var(--velyon-accent);
}
.vel-fdn-quiz-review-item.is-incorrect .vel-fdn-quiz-review-icon {
	background: color-mix(in srgb, var(--velyon-danger) 15%, transparent);
	color: var(--velyon-danger);
}
.vel-fdn-quiz-review-question {
	font-weight: 600;
	color: var(--velyon-text);
	margin-top: 0;
}
.vel-fdn-quiz-review-option {
	padding: 7px 10px;
	border-radius: var(--velyon-radius-s);
	margin: 4px 0;
	font-size: 14px;
	color: var(--velyon-text-muted);
}
.vel-fdn-quiz-review-option.is-correct-answer {
	background: color-mix(in srgb, var(--velyon-accent) 15%, transparent);
	color: var(--velyon-accent);
	font-weight: 700;
}
.vel-fdn-quiz-review-option.is-wrong-answer {
	background: color-mix(in srgb, var(--velyon-danger) 15%, transparent);
	color: var(--velyon-danger);
	font-weight: 700;
	text-decoration: line-through;
	text-decoration-color: color-mix(in srgb, var(--velyon-danger) 40%, transparent);
}
.vel-fdn-quiz-review-explanation {
	margin-top: 10px;
	padding: 10px 12px;
	background: color-mix(in srgb, var(--velyon-text) 4%, transparent);
	border-left: 3px solid color-mix(in srgb, var(--velyon-accent) 35%, transparent);
	border-radius: var(--velyon-radius-s);
	font-size: 13px;
	line-height: 1.6;
	color: var(--velyon-text-muted);
}
.vel-fdn-quiz-review-explanation strong {
	color: var(--velyon-text);
}
.vel-fdn-quiz-close-results-btn {
	width: 100%;
	margin-top: 10px;
}

/* Certificate Request widget */
.vel-fdn-certificate-widget {
	text-align: center;
	padding: 24px 20px;
	background: var(--velyon-surface);
	border: 1px solid var(--velyon-border);
	border-radius: var(--velyon-radius-s);
}
.vel-fdn-cert-status p {
	margin: 0 0 12px;
	color: var(--velyon-text);
}
.vel-fdn-cert-meta {
	color: var(--velyon-text-muted);
	font-size: 13px;
	margin-top: 8px !important;
}
.vel-fdn-cert-issued p {
	color: var(--velyon-accent);
	text-shadow: 0 0 10px color-mix(in srgb, var(--velyon-accent) 35%, transparent);
}
.vel-fdn-cert-pending p {
	color: var(--velyon-text);
}
.vel-fdn-cert-approved p {
	color: var(--velyon-accent);
}
.vel-fdn-cert-rejected p {
	color: var(--velyon-text);
}
.vel-fdn-request-cert-btn:disabled {
	background: color-mix(in srgb, var(--velyon-text) 8%, transparent);
	color: color-mix(in srgb, var(--velyon-text) 35%, transparent);
	box-shadow: none;
}

/* Large modal variant — also used by the Mock Tests quiz modal */
.vel-fdn-modal-large {
	max-width: 900px;
	width: 92vw;
	padding: 40px 16px 16px;
}

/* ---------------------------------------------------------------- */
/* [vel_fdn_workspace] — all-in-one sidebar + content shell           */
/* ---------------------------------------------------------------- */

.vel-fdn-workspace-greeting {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 18px;
	padding: 14px 20px;
	background: var(--velyon-surface);
	border: 1px solid color-mix(in srgb, var(--velyon-accent) 35%, transparent);
	border-radius: var(--velyon-radius-s);
	color: var(--velyon-text);
	font-size: 15px;
	font-weight: 500;
}
.vel-fdn-workspace-greeting-wave {
	font-size: 20px;
	line-height: 1;
	flex-shrink: 0;
	filter: drop-shadow(0 0 6px color-mix(in srgb, var(--velyon-accent) 35%, transparent));
}
.vel-fdn-workspace-shell {
	display: flex;
	align-items: flex-start;
	gap: 24px;
}
.vel-fdn-upgrade-banner {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 18px;
	padding: 12px 18px;
	background: color-mix(in srgb, var(--velyon-accent) 15%, transparent);
	border: 1px solid color-mix(in srgb, var(--velyon-accent) 35%, transparent);
	border-radius: var(--velyon-radius-s);
	color: var(--velyon-text);
	text-decoration: none;
	transition: background-color .15s ease, box-shadow .15s ease;
}
.vel-fdn-upgrade-banner:hover,
.vel-fdn-upgrade-banner:focus {
	background: color-mix(in srgb, var(--velyon-accent) 35%, transparent);
	box-shadow: 0 0 16px color-mix(in srgb, var(--velyon-accent) 35%, transparent);
	color: var(--velyon-text);
}
.vel-fdn-upgrade-banner-icon {
	flex-shrink: 0;
	font-size: 16px;
	color: var(--velyon-accent);
	filter: drop-shadow(0 0 6px color-mix(in srgb, var(--velyon-accent) 35%, transparent));
}
.vel-fdn-upgrade-banner-text {
	flex: 1;
	min-width: 0;
	font-size: 14px;
	font-weight: 500;
}
.vel-fdn-upgrade-banner-cta {
	flex-shrink: 0;
	font-size: 13px;
	font-weight: 700;
	color: var(--velyon-accent);
	text-transform: uppercase;
	letter-spacing: .02em;
	white-space: nowrap;
}

.vel-fdn-workspace-course-header {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 4px 8px 16px;
	margin-bottom: 10px;
	border-bottom: 1px solid color-mix(in srgb, var(--velyon-accent) 35%, transparent);
}
.vel-fdn-workspace-course-icon {
	font-size: 20px;
	line-height: 1.3;
	flex-shrink: 0;
	filter: drop-shadow(0 0 6px color-mix(in srgb, var(--velyon-accent) 35%, transparent));
}
.vel-fdn-workspace-course-info {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}
.vel-fdn-workspace-course-title {
	color: var(--velyon-accent);
	font-weight: 700;
	font-size: 14px;
	line-height: 1.35;
}
.vel-fdn-workspace-course-duration {
	color: color-mix(in srgb, var(--velyon-text) 35%, transparent);
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .03em;
}
.vel-fdn-workspace-sidebar {
	flex: 0 0 230px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	background: var(--velyon-surface);
	border: 1px solid color-mix(in srgb, var(--velyon-accent) 35%, transparent);
	border-radius: var(--velyon-radius-s);
	padding: 14px;
	position: sticky;
	top: 20px;
	transition: flex-basis .2s ease;
}
.vel-fdn-workspace-nav-item {
	display: flex;
	align-items: center;
	gap: 12px;
	background: none;
	border: none;
	text-align: left;
	padding: 12px 14px;
	border-radius: var(--velyon-radius-s);
	cursor: pointer;
	font-size: 15px;
	color: var(--velyon-text-muted);
	width: 100%;
	transition: background-color .15s ease, color .15s ease;
}
.vel-fdn-workspace-nav-item:hover {
	background: color-mix(in srgb, var(--velyon-text) 5%, transparent);
	color: var(--velyon-text);
}
.vel-fdn-workspace-nav-item.is-active {
	background: var(--velyon-accent);
	color: var(--velyon-on-accent);
	box-shadow: 0 0 16px color-mix(in srgb, var(--velyon-accent) 35%, transparent);
}
.vel-fdn-nav-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: var(--velyon-accent);
	filter: drop-shadow(0 0 4px color-mix(in srgb, var(--velyon-accent) 35%, transparent));
	transition: color .15s ease, filter .15s ease;
}
.vel-fdn-nav-icon svg {
	display: block;
	width: 20px;
	height: 20px;
}
.vel-fdn-workspace-nav-item.is-active .vel-fdn-nav-icon {
	color: var(--velyon-on-accent);
	filter: none;
}
.vel-fdn-nav-label {
	font-weight: 600;
	text-transform: uppercase;
	font-size: 13px;
	letter-spacing: .02em;
}
.vel-fdn-workspace-main {
	flex: 1;
	min-width: 0;
	background: var(--velyon-surface);
	border: 1px solid color-mix(in srgb, var(--velyon-accent) 35%, transparent);
	border-radius: var(--velyon-radius-s);
	padding: 22px;
}

@media (max-width: 782px) {
	.vel-fdn-workspace-shell {
		flex-direction: column;
	}
	/* On mobile the sidebar is replaced by the off-canvas drawer (below). */
	.vel-fdn-workspace-sidebar {
		display: none;
	}
	.vel-fdn-workspace-main {
		padding: 16px;
	}
	.vel-fdn-upgrade-banner {
		flex-wrap: wrap;
	}
	.vel-fdn-upgrade-banner-cta {
		width: 100%;
		margin-left: 28px;
	}
	.vel-fdn-upgrade-benefits {
		grid-template-columns: 1fr;
	}
}

.vel-fdn-refer-earn-placeholder {
	padding: 24px;
	text-align: center;
	color: var(--velyon-text-muted);
	background: var(--velyon-surface);
	border: 1px dashed var(--velyon-border);
	border-radius: var(--velyon-radius-s);
}



/* ---------------------------------------------------------------- */
/* Workspace locked/preview gate (Milestone 30)                      */
/* ---------------------------------------------------------------- */

.vel-fdn-workspace-locked .vel-fdn-skel {
	background: color-mix(in srgb, var(--velyon-text) 10%, transparent);
	border-radius: var(--velyon-radius-s);
}
.vel-fdn-workspace-locked .vel-fdn-skel-course-title {
	width: 70%;
	height: 16px;
	margin-bottom: 8px;
}
.vel-fdn-workspace-locked .vel-fdn-skel-course-meta {
	width: 40%;
	height: 11px;
	margin-bottom: 18px;
}
.vel-fdn-nav-item-locked {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	color: var(--velyon-text-muted);
	cursor: not-allowed;
}
.vel-fdn-nav-item-locked .vel-fdn-nav-icon svg {
	width: 18px;
	height: 18px;
}
.vel-fdn-nav-lock {
	margin-left: auto;
	display: flex;
	opacity: .6;
}
.vel-fdn-nav-lock svg {
	width: 14px;
	height: 14px;
}

.vel-fdn-workspace-locked .vel-fdn-workspace-main {
	position: relative;
	min-height: 480px;
	overflow: hidden;
}
.vel-fdn-locked-skeleton {
	filter: blur(5px);
	opacity: .8;
	padding: 28px;
}
.vel-fdn-skel-ring {
	width: 110px;
	height: 110px;
	margin: 0 auto 24px;
	border-radius: 50%;
	border: 10px solid color-mix(in srgb, var(--velyon-text) 10%, transparent);
	border-top-color: var(--velyon-accent);
	transform: rotate(-45deg);
}
.vel-fdn-skel-bar {
	height: 14px;
	margin: 0 auto 12px;
}
.vel-fdn-skel-w60 {
	width: 60%;
}
.vel-fdn-skel-w40 {
	width: 40%;
}
.vel-fdn-skel-cards {
	display: flex;
	gap: 16px;
	margin-top: 24px;
}
.vel-fdn-skel-card {
	flex: 1;
	height: 90px;
	border-radius: var(--velyon-radius-m);
	background: color-mix(in srgb, var(--velyon-text) 6%, transparent);
	border: 1px solid var(--velyon-border);
}

.vel-fdn-locked-gate {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}
.vel-fdn-locked-gate-card {
	width: 100%;
	max-width: 420px;
	background: var(--velyon-surface);
	border: 1px solid var(--velyon-border);
	border-radius: var(--velyon-radius-m);
	box-shadow: var(--velyon-shadow);
	padding: 32px 28px;
	text-align: center;
}
.vel-fdn-locked-gate-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin-bottom: 16px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--velyon-accent) 15%, transparent);
	color: var(--velyon-accent);
}
.vel-fdn-locked-gate-icon svg {
	width: 26px;
	height: 26px;
}
.vel-fdn-locked-gate-card h2 {
	margin: 0 0 10px;
	font-size: 22px;
}
.vel-fdn-locked-gate-card > p {
	margin: 0 0 20px;
	color: var(--velyon-text-muted);
}
.vel-fdn-locked-gate-benefits {
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px 16px;
	text-align: left;
}
.vel-fdn-locked-gate-benefits li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 13px;
	color: var(--velyon-text);
}
.vel-fdn-locked-gate-benefits svg {
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	margin-top: 2px;
	color: var(--velyon-accent);
}
.vel-fdn-locked-gate-card .vel-fdn-enroll-btn {
	display: inline-block;
	width: 100%;
}

.vel-fdn-locked-sidebar-heading {
	display: none;
}

@media (max-width: 782px) {
	/* Reflow, don't hide: the locked card shows first, then the real
	   menu items below it as a 2-column grid — same pattern as the
	   Professional workspace's own locked mobile view, so a visitor
	   can still read everything that's waiting for them.

	   Every property below is set explicitly rather than assumed —
	   the base (desktop) .vel-fdn-workspace-sidebar/-main rules carry
	   a fixed flex:0 0 230px, position:sticky, and no explicit width,
	   all of which must be cancelled here or they leak through into
	   this completely different mobile layout (column flex turns that
	   230px flex-basis into a HEIGHT cap, not a width, which crushes
	   all 10 nav items into a 230px-tall box). */
	.vel-fdn-workspace-locked.vel-fdn-workspace-shell {
		display: flex;
		flex-direction: column;
		align-items: stretch;
	}
	.vel-fdn-workspace-locked .vel-fdn-workspace-sidebar {
		display: block;
		order: 2;
		flex: none;
		width: 100%;
		position: static;
	}
	.vel-fdn-workspace-locked .vel-fdn-workspace-main {
		order: 1;
		flex: none;
		width: 100%;
		/* Taller than the desktop 480px floor on purpose: the benefits
		   list stacks to 1 column on mobile (below), so the card needs
		   more vertical room, and the card is position:absolute/inset:0
		   against this element — if this shrinks too far, overflow:
		   hidden above would clip the card's own content rather than
		   just the decorative skeleton behind it. */
		min-height: 560px;
	}
	.vel-fdn-workspace-locked .vel-fdn-skel-course-title,
	.vel-fdn-workspace-locked .vel-fdn-skel-course-meta {
		display: none;
	}
	.vel-fdn-locked-sidebar-heading {
		display: block;
		margin: 4px 0 14px;
		font-size: 15px;
		color: var(--velyon-text);
	}
	.vel-fdn-workspace-locked .vel-fdn-workspace-nav {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 4px 10px;
	}
	.vel-fdn-locked-gate-benefits {
		grid-template-columns: 1fr;
	}
}

.vel-fdn-workspace-nav {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.vel-fdn-workspace-collapse-toggle {
	align-self: flex-end;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	margin-bottom: 8px;
	padding: 0;
	background: none;
	border: 1px solid var(--velyon-border);
	border-radius: var(--velyon-radius-s);
	color: var(--velyon-text-muted);
	cursor: pointer;
	transition: color .15s ease, border-color .15s ease;
}
.vel-fdn-workspace-collapse-toggle:hover {
	color: var(--velyon-accent);
	border-color: var(--velyon-accent);
}
.vel-fdn-workspace-collapse-toggle svg {
	width: 18px;
	height: 18px;
	transition: transform .2s ease;
}
.vel-fdn-workspace-shell.is-collapsed:not(.vel-fdn-workspace-locked) .vel-fdn-workspace-sidebar {
	flex-basis: 68px;
	padding: 14px 10px;
}
.vel-fdn-workspace-shell.is-collapsed:not(.vel-fdn-workspace-locked) .vel-fdn-workspace-collapse-toggle {
	align-self: center;
}
.vel-fdn-workspace-shell.is-collapsed:not(.vel-fdn-workspace-locked) .vel-fdn-workspace-collapse-toggle svg {
	transform: rotate(180deg);
}
.vel-fdn-workspace-shell.is-collapsed:not(.vel-fdn-workspace-locked) .vel-fdn-nav-label,
.vel-fdn-workspace-shell.is-collapsed:not(.vel-fdn-workspace-locked) .vel-fdn-workspace-course-info {
	display: none;
}
.vel-fdn-workspace-shell.is-collapsed:not(.vel-fdn-workspace-locked) .vel-fdn-workspace-nav-item {
	justify-content: center;
	padding: 12px 0;
}
.vel-fdn-workspace-shell.is-collapsed:not(.vel-fdn-workspace-locked) .vel-fdn-workspace-course-header {
	justify-content: center;
	padding: 4px 0 12px;
}

/* ---------------------------------------------------------------- */
/* Workspace mobile drawer + floating button (<= 782px only)         */
/* Follows the theme's MOBILE-DRAWER-PATTERN-PROMPT.md: printed at   */
/* body level, z-index 300/301, top:0/bottom:0, transform-based.     */
/* ---------------------------------------------------------------- */

.vel-fdn-drawer-overlay {
	position: fixed;
	inset: 0;
	z-index: 300;
	background: rgba(0, 0, 0, .6);
	opacity: 0;
	pointer-events: none;
	transition: opacity .2s ease;
}
.vel-fdn-drawer-overlay.is-open {
	opacity: 1;
	pointer-events: auto;
}
.vel-fdn-drawer {
	position: fixed;
	top: 0;
	bottom: 0;
	width: 78%;
	max-width: 300px;
	z-index: 301;
	overflow-y: auto;
	padding: 52px 14px 20px;
	background: var(--velyon-surface);
	color: var(--velyon-text);
	visibility: hidden;
	transition: transform .28s ease, visibility 0s linear .28s;
}
.vel-fdn-drawer--left {
	left: 0;
	transform: translateX(-105%);
	border-right: 1px solid var(--velyon-border);
}
.vel-fdn-drawer--right {
	right: 0;
	transform: translateX(105%);
	border-left: 1px solid var(--velyon-border);
}
.vel-fdn-drawer.is-open {
	transform: translateX(0);
	visibility: visible;
	transition: transform .28s ease, visibility 0s;
}
.vel-fdn-drawer-close {
	position: absolute;
	top: 10px;
	right: 12px;
	width: 36px;
	height: 36px;
	padding: 0;
	background: none;
	border: 1px solid var(--velyon-border);
	border-radius: var(--velyon-radius-s);
	color: var(--velyon-text);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}
.vel-fdn-drawer-fab {
	position: fixed;
	z-index: 250; /* above header (100), dropdowns (150), bottom nav (200); below the drawer overlay (300) */
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: var(--velyon-accent);
	color: var(--velyon-on-accent);
	box-shadow: var(--velyon-shadow);
	cursor: pointer;
}
.vel-fdn-drawer-fab svg {
	width: 24px;
	height: 24px;
}
.vel-fdn-drawer-fab--bottom {
	bottom: calc(var(--vel-fdn-fab-y, 90px) + env(safe-area-inset-bottom, 0px));
}
.vel-fdn-drawer-fab--top {
	top: calc(var(--vel-fdn-fab-y, 90px) + env(safe-area-inset-top, 0px));
}
.vel-fdn-drawer-fab--left {
	left: var(--vel-fdn-fab-x, 16px);
}
.vel-fdn-drawer-fab--right {
	right: var(--vel-fdn-fab-x, 16px);
}
body.has-drawer-open {
	overflow: hidden;
}
@media (min-width: 783px) {
	.vel-fdn-drawer,
	.vel-fdn-drawer-overlay,
	.vel-fdn-drawer-fab {
		display: none;
	}
}
@media (max-width: 782px) {
	.vel-fdn-workspace-collapse-toggle {
		display: none;
	}
}

/* ---------------------------------------------------------------- */
/* [vel_fdn_upgrade] — auto-generated "go Professional" pitch page  */
/* ---------------------------------------------------------------- */

.vel-fdn-upgrade-page {
	display: flex;
	flex-direction: column;
	gap: 26px;
}
.vel-fdn-upgrade-hero {
	display: flex;
	flex-direction: column;
	gap: 10px;
	text-align: center;
	max-width: 560px;
	margin: 0 auto;
}
.vel-fdn-upgrade-kicker {
	color: var(--velyon-accent);
	font-weight: 700;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: .08em;
}
.vel-fdn-upgrade-heading {
	margin: 0;
	color: var(--velyon-text);
	font-size: 24px;
	font-weight: 800;
}
.vel-fdn-upgrade-lead {
	margin: 0;
	color: var(--velyon-text-muted);
	font-size: 15px;
	line-height: 1.6;
}
.vel-fdn-upgrade-blurb {
	margin: 4px 0 0;
	color: var(--velyon-accent);
	font-style: italic;
	font-size: 14px;
}
.vel-fdn-upgrade-benefits {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
}
.vel-fdn-upgrade-benefit-card {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 16px;
	background: var(--velyon-surface-alt);
	border: 1px solid var(--velyon-border);
	border-radius: var(--velyon-radius-s);
	transition: border-color .15s ease, box-shadow .15s ease;
}
.vel-fdn-upgrade-benefit-card:hover {
	border-color: color-mix(in srgb, var(--velyon-accent) 35%, transparent);
	box-shadow: 0 0 14px color-mix(in srgb, var(--velyon-accent) 15%, transparent);
}
.vel-fdn-upgrade-benefit-icon {
	display: flex;
	color: var(--velyon-accent);
	filter: drop-shadow(0 0 4px color-mix(in srgb, var(--velyon-accent) 35%, transparent));
}
.vel-fdn-upgrade-benefit-icon svg {
	width: 24px;
	height: 24px;
}
.vel-fdn-upgrade-benefit-title {
	color: var(--velyon-text);
	font-weight: 700;
	font-size: 14px;
}
.vel-fdn-upgrade-benefit-text {
	color: var(--velyon-text-muted);
	font-size: 13px;
	line-height: 1.5;
}
.vel-fdn-upgrade-cta-row {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding-top: 6px;
}
.vel-fdn-upgrade-cta-btn {
	display: inline-block;
	background: var(--velyon-accent);
	color: var(--velyon-on-accent);
	border-radius: var(--velyon-radius-s);
	padding: 14px 32px;
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .03em;
	text-decoration: none;
	box-shadow: 0 0 18px color-mix(in srgb, var(--velyon-accent) 35%, transparent);
	transition: box-shadow .2s ease, transform .15s ease;
}
.vel-fdn-upgrade-cta-btn:hover,
.vel-fdn-upgrade-cta-btn:focus {
	color: var(--velyon-on-accent);
	box-shadow: 0 0 28px color-mix(in srgb, var(--velyon-accent) 75%, transparent);
	transform: translateY(-1px);
}
.vel-fdn-upgrade-cta-price {
	color: color-mix(in srgb, var(--velyon-text) 35%, transparent);
	font-size: 13px;
	font-weight: 600;
}

/* ---------------------------------------------------------------- */
/* [vel_fdn_gift_card] — ₹99 Gift Card program tab                  */
/* ---------------------------------------------------------------- */

.vel-fdn-giftcard-page {
	display: flex;
	flex-direction: column;
	gap: 24px;
}
.vel-fdn-giftcard-hero {
	display: flex;
	flex-direction: column;
	gap: 10px;
	text-align: center;
	max-width: 560px;
	margin: 0 auto;
}
.vel-fdn-giftcard-kicker {
	color: var(--velyon-accent);
	font-weight: 700;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: .08em;
}
.vel-fdn-giftcard-heading {
	margin: 0;
	color: var(--velyon-text);
	font-size: 22px;
	font-weight: 800;
}
.vel-fdn-giftcard-lead {
	margin: 0;
	color: var(--velyon-text-muted);
	font-size: 15px;
	line-height: 1.6;
}
.vel-fdn-giftcard-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.vel-fdn-giftcard-step {
	padding: 18px;
	background: var(--velyon-surface-alt);
	border: 1px solid var(--velyon-border);
	border-radius: var(--velyon-radius-s);
}
.vel-fdn-giftcard-step h4 {
	margin: 0 0 8px;
	color: var(--velyon-text);
	font-size: 15px;
	font-weight: 700;
}
.vel-fdn-giftcard-step p {
	margin: 0 0 8px;
	color: var(--velyon-text-muted);
	font-size: 14px;
	line-height: 1.6;
}
.vel-fdn-giftcard-step p:last-child {
	margin-bottom: 0;
}
.vel-fdn-giftcard-hook {
	color: var(--velyon-accent) !important;
	font-style: italic;
	font-size: 13px !important;
}
.vel-fdn-giftcard-disclaimer,
.vel-fdn-giftcard-admin-note {
	color: color-mix(in srgb, var(--velyon-text) 35%, transparent) !important;
	font-size: 12px !important;
}
.vel-fdn-giftcard-review-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 10px;
}
.vel-fdn-giftcard-review-buttons .vel-fdn-enroll-btn {
	padding: 10px 18px;
	font-size: 13px;
}

#vel-fdn-giftcard-form {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 20px;
	background: var(--velyon-surface);
	border: 1px solid var(--velyon-border);
	border-radius: var(--velyon-radius-s);
}
.vel-fdn-giftcard-error {
	display: none;
	margin: 0;
	padding: 10px 14px;
	background: color-mix(in srgb, var(--velyon-danger) 12%, transparent);
	border: 1px solid color-mix(in srgb, var(--velyon-danger) 40%, transparent);
	border-radius: var(--velyon-radius-s);
	color: var(--velyon-danger);
	font-size: 13px;
}
.vel-fdn-giftcard-error.is-visible {
	display: block;
}
.vel-fdn-giftcard-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
}
.vel-fdn-giftcard-field label {
	font-size: 13px;
	font-weight: 600;
	color: var(--velyon-text-muted);
}
.vel-fdn-giftcard-field input[type="url"],
.vel-fdn-giftcard-field input[type="file"] {
	width: 100%;
	padding: 10px 12px;
	background: color-mix(in srgb, var(--velyon-text) 5%, transparent);
	border: 1px solid var(--velyon-border);
	border-radius: var(--velyon-radius-s);
	font-size: 14px;
	color: var(--velyon-text);
	box-sizing: border-box;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.vel-fdn-giftcard-field input[type="url"]:focus {
	outline: none;
	border-color: var(--velyon-accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--velyon-accent) 15%, transparent);
}
#vel-fdn-giftcard-form .description {
	margin: -6px 0 0;
	color: color-mix(in srgb, var(--velyon-text) 35%, transparent);
	font-size: 12px;
}
.vel-fdn-giftcard-consent {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 13px;
	color: var(--velyon-text-muted);
	line-height: 1.5;
	cursor: pointer;
}
.vel-fdn-giftcard-consent input[type="checkbox"] {
	margin-top: 3px;
	flex-shrink: 0;
}
.vel-fdn-giftcard-submit-btn {
	align-self: flex-start;
}

.vel-fdn-giftcard-status {
	text-align: center;
	padding: 28px 20px;
	background: var(--velyon-surface);
	border: 1px solid var(--velyon-border);
	border-radius: var(--velyon-radius-s);
}
.vel-fdn-giftcard-status p {
	margin: 8px 0 0;
	color: var(--velyon-text-muted);
	font-size: 14px;
}
.vel-fdn-giftcard-status-badge {
	display: inline-block;
	padding: 6px 16px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .03em;
}
.vel-fdn-giftcard-status-review .vel-fdn-giftcard-status-badge {
	background: color-mix(in srgb, var(--velyon-warning) 12%, transparent);
	border: 1px solid color-mix(in srgb, var(--velyon-warning) 40%, transparent);
	color: var(--velyon-warning);
}
.vel-fdn-giftcard-status-issued .vel-fdn-giftcard-status-badge {
	background: color-mix(in srgb, var(--velyon-accent) 15%, transparent);
	border: 1px solid color-mix(in srgb, var(--velyon-accent) 35%, transparent);
	color: var(--velyon-accent);
	text-shadow: 0 0 10px color-mix(in srgb, var(--velyon-accent) 35%, transparent);
}
.vel-fdn-giftcard-status-meta {
	color: color-mix(in srgb, var(--velyon-text) 35%, transparent) !important;
	font-size: 13px !important;
}

/* ---------------------------------------------------------------- */
/* Certificate tab: "complete your Profile first" reminder (1.45.0)  */
/* ---------------------------------------------------------------- */

.vel-fdn-cert-profile-note {
	margin: 0 0 14px;
	padding: 10px 12px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--velyon-text);
	background: color-mix(in srgb, var(--velyon-accent) 8%, transparent);
	border: 1px solid color-mix(in srgb, var(--velyon-accent) 35%, transparent);
	border-radius: var(--velyon-radius-s);
}
