/* ===================================================================
   VELYON Members — Frontend styles

   Reads the VELYON theme's design tokens (--velyon-bg/surface/text/
   accent/etc., defined by the theme on :root and redefined under
   html[data-theme="light"]) — every fallback below is the plugin's
   original standalone palette (#00ce2d green / #0a0a0a black /
   #ffffff white), so the plugin still looks correct if the theme
   isn't active. No plugin-local tokens are declared here anymore;
   see HANDOFF-PROMPT.md for the theme-integration decisions.
   =================================================================== */

/* Tier badge — background color is admin-configured per tier (Settings),
   so it's deliberately not tied to the theme's accent token; white text
   is the one constant against whatever color the admin picks. */
.velyon-badge {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 999px;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

/* ===================================================================
   Login / Register Modal — SaaS style
   =================================================================== */

.velyon-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: none;
	font-family: var(--velyon-font-body, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif);
}

.velyon-modal.velyon-modal-open {
	display: block;
}

.velyon-modal-overlay {
	position: absolute;
	inset: 0;
	background: rgba(10, 10, 10, 0.65);
	backdrop-filter: blur(2px);
}

.velyon-modal-panel {
	position: relative;
	max-width: 420px;
	width: calc(100% - 32px);
	margin: 4vh auto;
	max-height: 92vh;
	overflow-y: auto;
	background: var(--velyon-surface, #fff);
	border-radius: 20px;
	padding: 36px 30px 30px;
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
	border-top: 4px solid var(--velyon-accent, #00ce2d);
}

/* Page-mode login screen (Phase 3 theme takeover — see
   templates/login-page.php and class-velyon-login-screen.php).
   Deliberately NOT .velyon-modal: no fixed position, no overlay, no
   max-width cap, no close button — it sits directly inside the
   theme's .velyon-login-form-area, which supplies its own width
   (~54% desktop / full-width stacked under 860px per the theme's Ask
   3.4 answer) and background. Shares #velyon-auth-modal as its id
   (not this class) purely so the existing $modal-scoped JS bindings
   in frontend.js keep working — see login-page.php's own comment for
   why that's safe. */
.velyon-login-page {
	width: 100%;
	box-sizing: border-box;
}

/* The visible card — bounded and centered inside the (fluid, uncapped)
   .velyon-login-page above, so the form reads as one coherent piece
   rather than loose fields floating over the theme's background. */
.velyon-login-page-card {
	width: 100%;
	max-width: var(--velyon-login-card-desktop-width, 420px);
	margin: 0 auto;
	box-sizing: border-box;
	background: var(--velyon-surface, #fff);
	border-radius: 20px;
	padding: 36px 30px 30px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	border-top: 4px solid var(--velyon-accent, #00ce2d);
}

/* Mobile gets its own width, admin-configurable separately from
   desktop (VELYON Members → Settings → General → "Login Screen
   Appearance") — desktop was already correct as a max-width cap;
   mobile needed an actual width, since "vw" units read from the
   viewport rather than this card's own (possibly padded) parent, so
   a mobile value can widen the card past whatever room the theme's
   own container leaves it, not just cap it. 860px matches the
   theme's own stacked-layout breakpoint for this page (its Ask 3.4
   answer). */
@media (max-width: 860px) {
	.velyon-login-page-card {
		width: var(--velyon-login-card-mobile-width, 94vw);
		max-width: var(--velyon-login-card-mobile-width, 94vw);
	}
}

.velyon-login-page-title {
	margin: 0 0 4px;
	font-size: 24px;
	font-weight: 800;
	color: var(--velyon-text, #0a0a0a);
	letter-spacing: -0.02em;
}

.velyon-modal-close {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--velyon-surface-alt, #f4f4f5);
	border: none;
	border-radius: 50%;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	color: var(--velyon-text, #0a0a0a);
	transition: background 0.15s ease;
}

.velyon-modal-close:hover {
	background: var(--velyon-border, #e4e4e7);
}

.velyon-modal-panel h2 {
	margin: 0 0 4px;
	font-size: 24px;
	font-weight: 800;
	color: var(--velyon-text, #0a0a0a);
	letter-spacing: -0.02em;
}

.velyon-modal-subtitle {
	margin: 0 0 22px;
	font-size: 14px;
	color: var(--velyon-text-muted, #52525b);
}

.velyon-modal-notice {
	margin-bottom: 16px;
	padding: 11px 14px;
	border-radius: 10px;
	font-size: 13px;
	font-weight: 500;
}

.velyon-modal-notice.velyon-notice-error {
	background: rgba(185, 28, 28, 0.08);
	background: color-mix(in srgb, var(--velyon-danger, #b91c1c) 8%, transparent);
	color: var(--velyon-danger, #b91c1c);
	border: 1px solid rgba(185, 28, 28, 0.3);
	border: 1px solid color-mix(in srgb, var(--velyon-danger, #b91c1c) 30%, transparent);
}

.velyon-modal-notice.velyon-notice-success {
	background: rgba(0, 206, 45, 0.08);
	background: color-mix(in srgb, var(--velyon-success, #15803d) 8%, transparent);
	color: var(--velyon-success, #15803d);
	border: 1px solid rgba(0, 206, 45, 0.3);
	border: 1px solid color-mix(in srgb, var(--velyon-success, #15803d) 30%, transparent);
}

.velyon-social-buttons {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 20px;
}

.velyon-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	text-align: center;
	padding: 12px 16px;
	border-radius: 10px;
	font-size: 14px;
	font-family: inherit;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	border: 1.5px solid transparent;
	box-sizing: border-box;
	appearance: none;
	-webkit-appearance: none;
	transition: all 0.15s ease;
}

.velyon-btn svg {
	flex-shrink: 0;
}

.velyon-btn-google,
.velyon-btn-linkedin {
	background: var(--velyon-surface, #fff);
	color: var(--velyon-text, #0a0a0a);
	border-color: var(--velyon-border, #e4e4e7);
}

.velyon-btn-google:hover,
.velyon-btn-linkedin:hover {
	border-color: var(--velyon-text, #0a0a0a);
}

.velyon-btn-primary {
	background: var(--velyon-accent, #00ce2d);
	color: var(--velyon-text, #0a0a0a);
	margin-top: 8px;
}

.velyon-btn-primary:hover {
	background: var(--velyon-accent-deep, #00a824);
	color: var(--velyon-surface, #fff);
}

.velyon-btn:disabled {
	opacity: 0.6;
	cursor: default;
}

.velyon-modal-divider {
	display: flex;
	align-items: center;
	text-align: center;
	color: var(--velyon-text-muted, #a1a1aa);
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin: 4px 0 20px;
}

.velyon-modal-divider::before,
.velyon-modal-divider::after {
	content: '';
	flex: 1;
	height: 1px;
	background: var(--velyon-border, #e4e4e7);
}

.velyon-modal-divider span {
	padding: 0 12px;
}

.velyon-tabs {
	display: flex;
	gap: 4px;
	margin-bottom: 20px;
	background: var(--velyon-surface-alt, #f4f4f5);
	border-radius: 10px;
	padding: 4px;
}

.velyon-tab-btn {
	flex: 1;
	background: none;
	border: none;
	padding: 9px 4px;
	font-size: 13px;
	font-weight: 700;
	color: var(--velyon-text-muted, #52525b);
	cursor: pointer;
	border-radius: 7px;
	transition: all 0.15s ease;
}

.velyon-tab-btn.active {
	color: var(--velyon-text, #0a0a0a);
	background: var(--velyon-surface, #fff);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.velyon-tab-panel {
	display: none;
}

.velyon-tab-panel.active {
	display: block;
}

.velyon-form label {
	display: block;
	font-size: 13px;
	font-weight: 700;
	margin-bottom: 6px;
	color: var(--velyon-text, #0a0a0a);
}

.velyon-form input[type="text"],
.velyon-form input[type="email"],
.velyon-form input[type="password"],
.velyon-form input[type="url"],
.velyon-form input[type="tel"] {
	width: 100%;
	padding: 11px 14px;
	margin-bottom: 16px;
	border: 1.5px solid var(--velyon-border, #e4e4e7);
	border-radius: 10px;
	font-size: 14px;
	box-sizing: border-box;
	transition: border-color 0.15s ease;
}

.velyon-form input:focus {
	outline: none;
	border-color: var(--velyon-accent, #00ce2d);
	box-shadow: 0 0 0 3px rgba(0, 206, 45, 0.15);
}

.velyon-field-hint {
	font-size: 12px;
	color: var(--velyon-text-muted, #52525b);
	margin: -10px 0 14px;
}

/* Variant for hints that follow a button (upload buttons, etc.) rather
   than an input — the negative top margin above is meant to snug a hint
   up under a text field, and looks like a spacing bug when it's actually
   sitting right under a button instead. */
.velyon-field-hint-spaced {
	margin-top: 12px;
}

.velyon-form-switch {
	text-align: center;
	font-size: 13px;
	color: var(--velyon-text-muted, #52525b);
	margin-top: 14px;
}

.velyon-form-switch a {
	color: var(--velyon-accent-deep, #00a824);
	font-weight: 700;
	text-decoration: none;
}

.velyon-form-switch a:hover {
	text-decoration: underline;
}

/* ===================================================================
   Member Directory
   =================================================================== */

.velyon-directory {
	font-family: var(--velyon-font-body, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif);
}

.velyon-directory-controls {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 24px;
}

.velyon-directory-search {
	position: relative;
	flex: 1 1 260px;
	max-width: 340px;
}

.velyon-directory-search input {
	width: 100%;
	padding: 10px 14px;
	border: 1.5px solid var(--velyon-border, #e4e4e7);
	border-radius: 10px;
	font-size: 14px;
	box-sizing: border-box;
	background-color: var(--velyon-surface, #fff);
	color: var(--velyon-text, #0a0a0a);
	transition: border-color 0.15s ease;
}

.velyon-directory-search input::placeholder {
	color: var(--velyon-text-muted, #9ca3af);
	opacity: 1;
}

.velyon-directory-search input:focus {
	outline: none;
	border-color: var(--velyon-accent, #00ce2d);
	box-shadow: 0 0 0 3px rgba(0, 206, 45, 0.15);
}

.velyon-directory-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.velyon-filter-btn {
	background-color: var(--velyon-surface, #fff);
	border: 1.5px solid var(--velyon-border, #e4e4e7);
	color: var(--velyon-text, #0a0a0a);
	font-size: 13px;
	font-weight: 700;
	padding: 8px 16px;
	border-radius: 999px;
	cursor: pointer;
	transition: all 0.15s ease;
}

.velyon-filter-btn:hover {
	border-color: var(--velyon-text, #0a0a0a);
}

.velyon-filter-btn.active {
	background-color: var(--velyon-text, #0a0a0a);
	border-color: var(--velyon-text, #0a0a0a);
	color: var(--velyon-bg, #fff);
}

.velyon-directory-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 22px;
	margin-bottom: 24px;
}

.velyon-directory-grid.velyon-loading {
	opacity: 0.5;
	pointer-events: none;
}

.velyon-member-card {
	position: relative;
	background: var(--velyon-surface, #fff);
	border: 1px solid var(--velyon-border, #e4e4e7);
	border-radius: 16px;
	padding: 24px 14px 20px;
	text-align: center;
	transition: box-shadow 0.15s ease, transform 0.15s ease;
	overflow: hidden;
}

.velyon-member-card:hover {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	transform: translateY(-2px);
}

.velyon-member-card .velyon-badge {
	position: absolute;
	top: 10px;
	right: -28px;
	transform: rotate(45deg);
	width: 110px;
	padding: 3px 0;
	font-size: 9px;
	text-align: center;
	border-radius: 0;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.velyon-member-photo {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	object-fit: cover;
	margin: 0 auto 12px;
	display: block;
	border: 2px solid var(--velyon-surface-alt, #f4f4f5);
}

.velyon-member-name {
	font-weight: 700;
	font-size: 13px;
	color: var(--velyon-text, #0a0a0a);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.velyon-member-card-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.velyon-member-card-link:hover .velyon-member-name {
	text-decoration: underline;
}

.velyon-member-meta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin-top: 10px;
	font-size: 11px;
	color: var(--velyon-text-muted, #52525b);
}

.velyon-member-city {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.velyon-member-linkedin {
	flex-shrink: 0;
	display: inline-flex;
	line-height: 0;
}

.velyon-directory-empty {
	text-align: center;
	color: var(--velyon-text-muted, #52525b);
	font-size: 14px;
	padding: 40px 0;
}

.velyon-directory-load-more-wrap {
	text-align: center;
}

.velyon-btn-outline {
	display: inline-flex;
	width: auto;
	background: var(--velyon-surface, #fff);
	color: var(--velyon-text, #0a0a0a);
	border: 1.5px solid var(--velyon-text, #0a0a0a);
	padding: 10px 28px;
}

.velyon-btn-outline:hover {
	background: var(--velyon-text, #0a0a0a);
	color: var(--velyon-surface, #fff);
}

@media (max-width: 480px) {
	.velyon-directory-grid {
		grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
		gap: 12px;
	}

	.velyon-member-card {
		padding: 16px 10px;
	}

	.velyon-member-photo {
		width: 60px;
		height: 60px;
	}
}

/* ===================================================================
   Profile Dashboard
   =================================================================== */

.velyon-dashboard,
.velyon-profile-logged-out {
	font-family: var(--velyon-font-body, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif);
	background: var(--velyon-surface, #fff);
	color: var(--velyon-text, #0a0a0a);
	border: 1px solid var(--velyon-border, #e4e4e7);
	border-radius: 20px;
	padding: 28px;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.velyon-profile-logged-out {
	text-align: center;
	padding: 48px 28px;
}

.velyon-profile-logged-out p {
	margin-bottom: 18px;
	color: var(--velyon-text-muted, #52525b);
}

.velyon-dashboard-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 22px;
	padding-bottom: 22px;
	border-bottom: 1px solid var(--velyon-border, #e4e4e7);
}

.velyon-dashboard-header-left {
	display: flex;
	align-items: center;
	gap: 18px;
}

.velyon-dashboard-header-right {
	width: auto !important;
	display: inline-flex !important;
	flex-shrink: 0;
	white-space: nowrap;
}

.velyon-dashboard-photo-wrap {
	flex-shrink: 0;
}

.velyon-dashboard-photo {
	width: 100px !important;
	height: 100px !important;
	max-width: 100px !important;
	border-radius: 50% !important;
	object-fit: cover !important;
	border: 2px solid var(--velyon-surface-alt, #f4f4f5);
	display: block;
}

.velyon-dashboard-photo-lg {
	width: 120px !important;
	height: 120px !important;
	max-width: 120px !important;
	margin: 0 auto 18px;
}

.velyon-dashboard-name {
	margin: 0 0 4px;
	font-size: 22px;
	font-weight: 800;
	color: var(--velyon-text, #0a0a0a);
}

.velyon-dashboard-email {
	margin: 0 0 10px;
	font-size: 14px;
	color: var(--velyon-text-muted, #52525b);
}

.velyon-dashboard-tabs {
	margin-bottom: 22px;
}

.velyon-dtab-panel {
	display: none;
}

.velyon-dtab-panel.active {
	display: block;
}

.velyon-dashboard textarea {
	width: 100%;
	padding: 11px 14px;
	margin-bottom: 16px;
	border: 1.5px solid var(--velyon-border, #e4e4e7);
	border-radius: 10px;
	font-size: 14px;
	font-family: inherit;
	box-sizing: border-box;
	resize: vertical;
}

.velyon-dashboard textarea:focus {
	outline: none;
	border-color: var(--velyon-accent, #00ce2d);
	box-shadow: 0 0 0 3px rgba(0, 206, 45, 0.15);
}

.velyon-phone-row {
	display: flex;
	gap: 8px;
	margin-bottom: 16px;
}

.velyon-phone-row select {
	flex: 0 0 150px;
	padding: 11px 10px;
	border: 1.5px solid var(--velyon-border, #e4e4e7);
	border-radius: 10px;
	font-size: 13px;
	background: var(--velyon-surface, #fff);
	color: var(--velyon-text, #0a0a0a);
	box-sizing: border-box;
}

.velyon-phone-row select:focus {
	outline: none;
	border-color: var(--velyon-accent, #00ce2d);
}

.velyon-phone-row input[type="tel"] {
	flex: 1;
	margin-bottom: 0 !important;
}

@media (max-width: 480px) {
	.velyon-phone-row {
		flex-direction: column;
	}

	.velyon-phone-row select {
		flex: 1;
	}
}

.velyon-photo-upload-area {
	text-align: center;
}

.velyon-photo-upload-actions {
	display: flex;
	gap: 10px;
	justify-content: center;
	flex-wrap: wrap;
	margin-bottom: 10px;
}

.velyon-file-label {
	cursor: pointer;
}

.velyon-resume-filename {
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 14px;
}

/* ===================================================================
   Portfolio Page (Member Detail Page)
   =================================================================== */

.velyon-portfolio {
	font-family: var(--velyon-font-body, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif);
	width: 100%;
	box-sizing: border-box;
	background: var(--velyon-surface, #fff);
	border: 1px solid var(--velyon-border, #e4e4e7);
	border-radius: 20px;
	overflow: hidden;
}

.velyon-member-profile-not-found {
	text-align: center;
	color: var(--velyon-text-muted, #52525b);
	padding: 56px 28px;
	max-width: 480px;
	margin: 0 auto;
	background: var(--velyon-surface, #fff);
	border: 1px solid var(--velyon-border, #e4e4e7);
	border-radius: 20px;
}

.velyon-member-profile-not-found p {
	font-size: 14px;
	line-height: 1.65;
	margin: 0 0 22px;
}

.velyon-member-profile-not-found h3 {
	font-size: 20px;
	font-weight: 800;
	color: var(--velyon-text, #0a0a0a);
	margin: 0 0 12px;
}

/* ---- Hero banner + overlapping avatar ---- */

.velyon-portfolio-hero {
	position: relative;
	height: 140px;
	background: linear-gradient(135deg, #0a0a0a 0%, #00a824 120%);
}

.velyon-portfolio-share {
	position: absolute;
	top: 14px;
	right: 14px;
	display: flex;
	gap: 8px;
}

.velyon-share-btn {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.18);
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.15s ease;
	backdrop-filter: blur(4px);
}

.velyon-share-btn:hover {
	background: rgba(255, 255, 255, 0.32);
}

@media (max-width: 480px) {
	.velyon-portfolio-share {
		top: 10px;
		right: 10px;
		gap: 6px;
	}

	.velyon-share-btn {
		width: 26px;
		height: 26px;
	}
}

.velyon-portfolio-avatar {
	position: absolute;
	left: 50%;
	bottom: -60px;
	transform: translateX(-50%);
	width: 120px !important;
	height: 120px !important;
	max-width: 120px !important;
	border-radius: 50% !important;
	object-fit: cover !important;
	border: 5px solid #ffffff;
	box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
	display: block;
}

.velyon-portfolio-body {
	padding: 72px 32px 32px;
}

.velyon-portfolio-identity {
	text-align: center;
	margin-bottom: 28px;
	padding-bottom: 28px;
	border-bottom: 1px solid var(--velyon-border, #e4e4e7);
}

.velyon-portfolio-name {
	margin: 0 0 6px;
	font-size: 26px;
	font-weight: 800;
	color: var(--velyon-text, #0a0a0a);
}

.velyon-portfolio-tagline {
	margin: 0 0 14px;
	font-size: 15px;
	color: var(--velyon-text-muted, #52525b);
	font-weight: 500;
}

.velyon-portfolio-badge-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 16px;
}

.velyon-portfolio-city {
	font-size: 13px;
	color: var(--velyon-text-muted, #52525b);
}

.velyon-portfolio-social-row {
	display: flex;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
}

.velyon-portfolio-social-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 16px;
	border: 1.5px solid var(--velyon-border, #e4e4e7);
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	color: var(--velyon-text, #0a0a0a);
	text-decoration: none;
	transition: border-color 0.15s ease;
}

.velyon-portfolio-social-btn:hover {
	border-color: var(--velyon-text, #0a0a0a);
}

/* ---- Sections: Skills / About / Resume ---- */

.velyon-portfolio-section {
	margin-bottom: 28px;
}

.velyon-portfolio-section:last-child {
	margin-bottom: 0;
}

.velyon-portfolio-section h3 {
	font-size: 15px;
	font-weight: 800;
	margin: 0 0 12px;
	color: var(--velyon-text, #0a0a0a);
}

.velyon-skill-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.velyon-skill-tag {
	display: inline-block;
	padding: 6px 14px;
	background: var(--velyon-surface-alt, #f4f4f5);
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	color: var(--velyon-text, #0a0a0a);
}

.velyon-portfolio-bio {
	font-size: 14px;
	line-height: 1.65;
	color: var(--velyon-text-muted, #52525b);
	margin: 0;
}

.velyon-resume-viewer {
	border: 1.5px solid var(--velyon-border, #e4e4e7);
	border-radius: 12px;
	overflow: hidden;
	height: 70vh;
	min-height: 400px;
}

.velyon-resume-viewer iframe {
	width: 100%;
	height: 100%;
	border: none;
	display: block;
}

@media (max-width: 480px) {
	.velyon-portfolio-body {
		padding: 68px 20px 24px;
	}

	.velyon-portfolio-name {
		font-size: 22px;
	}

	.velyon-resume-viewer {
		height: 50vh;
	}
}

/* ===================================================================
   Tier Gate Popup
   =================================================================== */

.velyon-gate-panel {
	max-width: 400px;
	text-align: center;
	padding-top: 40px;
}

.velyon-gate-icon {
	font-size: 40px;
	margin-bottom: 12px;
}

.velyon-gate-panel #velyon-gate-headline,
.velyon-member-profile-not-found h3 {
	font-size: 20px;
	font-weight: 800;
	color: var(--velyon-text, #0a0a0a);
	margin: 0 0 12px;
}

.velyon-gate-panel #velyon-gate-message {
	font-size: 14px;
	line-height: 1.65;
	color: var(--velyon-text-muted, #52525b);
	margin: 0 0 22px;
}

.velyon-gate-cta {
	width: auto !important;
	display: inline-flex !important;
	padding: 13px 30px !important;
	font-size: 15px !important;
	box-shadow: 0 6px 18px rgba(0, 206, 45, 0.35);
}

.velyon-gate-dismiss {
	display: block;
	margin-top: 14px;
	font-size: 13px;
	color: var(--velyon-text-muted, #a1a1aa);
	text-decoration: none;
}

.velyon-gate-dismiss:hover {
	text-decoration: underline;
}

/* ===================================================================
   Projects — Dashboard Editor
   =================================================================== */

.velyon-project-row {
	position: relative;
	background: var(--velyon-surface-alt, #fafafa);
	border: 1.5px solid var(--velyon-border, #e4e4e7);
	border-radius: 14px;
	padding: 20px 20px 4px;
	margin-bottom: 16px;
}

.velyon-project-remove-btn {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	border: none;
	background: var(--velyon-surface, #fff);
	color: var(--velyon-text-muted, #52525b);
	font-size: 16px;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.velyon-project-remove-btn:hover {
	background: rgba(185, 28, 28, 0.08);
	background: color-mix(in srgb, var(--velyon-danger, #b91c1c) 8%, transparent);
	color: var(--velyon-danger, #b91c1c);
}

.velyon-project-links-row {
	display: flex;
	gap: 12px;
}

.velyon-project-links-row > div {
	flex: 1;
}

/* ===================================================================
   Projects — Public Showcase
   =================================================================== */

.velyon-project-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 16px;
}

.velyon-project-card {
	background: var(--velyon-surface-alt, #fafafa);
	border: 1.5px solid var(--velyon-border, #e4e4e7);
	border-radius: 14px;
	padding: 18px;
}

.velyon-project-card h4 {
	margin: 0 0 8px;
	font-size: 15px;
	font-weight: 800;
	color: var(--velyon-text, #0a0a0a);
}

.velyon-project-tech-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 10px;
}

.velyon-project-tech-tag {
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	padding: 3px 9px;
	border-radius: 999px;
	background: rgba(0, 206, 45, 0.12);
	color: var(--velyon-accent-deep, #00a824);
}

.velyon-project-card p {
	font-size: 13px;
	line-height: 1.6;
	color: var(--velyon-text-muted, #52525b);
	margin: 0 0 12px;
}

.velyon-project-card-links {
	display: flex;
	gap: 16px;
}

.velyon-project-card-links a {
	font-size: 12px;
	font-weight: 700;
	color: var(--velyon-accent-deep, #00a824);
	text-decoration: none;
}

.velyon-project-card-links a:hover {
	text-decoration: underline;
}

/* ===================================================================
   Verified Learner Seal
   =================================================================== */

.velyon-verified-seal {
	display: inline-flex;
	align-items: flex-start;
	gap: 8px;
	background: rgba(0, 206, 45, 0.08);
	border: 1px solid rgba(0, 206, 45, 0.35);
	border-radius: 12px;
	padding: 10px 16px;
	margin-bottom: 16px;
	text-align: left;
	max-width: 100%;
}

.velyon-verified-seal-check {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--velyon-accent, #00ce2d);
	color: var(--velyon-on-accent, #05170A);
	font-size: 12px;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 1px;
}

.velyon-verified-seal-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.velyon-verified-seal-text strong {
	font-size: 13px;
	color: var(--velyon-text, #0a0a0a);
}

.velyon-verified-seal-detail {
	font-size: 12px;
	color: var(--velyon-text-muted, #52525b);
}

@media (max-width: 480px) {
	.velyon-verified-seal {
		text-align: left;
	}
}

/* ===================================================================
   Two-Factor Authentication (My Profile)
   =================================================================== */

.velyon-2fa-heading {
	font-size: 15px;
	font-weight: 800;
	color: var(--velyon-text, #0a0a0a);
	margin: 0 0 12px;
}

.velyon-2fa-qr {
	display: block;
	width: 180px;
	height: 180px;
	border: 1.5px solid var(--velyon-border, #e4e4e7);
	border-radius: 12px;
	padding: 8px;
	margin-bottom: 12px;
	background: var(--velyon-surface, #fff);
}

.velyon-2fa-manual-key {
	display: inline-block;
	background: var(--velyon-surface-alt, #f4f4f5);
	padding: 8px 14px;
	border-radius: 8px;
	font-size: 14px;
	letter-spacing: 0.05em;
	font-weight: 700;
	color: var(--velyon-text, #0a0a0a);
	margin-bottom: 4px;
}

.velyon-backup-codes-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
	gap: 8px;
}

.velyon-backup-code {
	background: var(--velyon-surface-alt, #f4f4f5);
	border-radius: 8px;
	padding: 8px 10px;
	text-align: center;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.03em;
	color: var(--velyon-text, #0a0a0a);
	font-family: monospace;
}

/* ===================================================================
   Account Type Toggle (Candidate / Employer) — login modal
   =================================================================== */

.velyon-account-type-toggle {
	display: flex;
	background: var(--velyon-surface-alt, #f4f4f5);
	border-radius: 10px;
	padding: 4px;
	gap: 4px;
	margin-bottom: 18px;
}

.velyon-account-type-btn {
	flex: 1;
	background: none;
	border: none;
	padding: 10px 6px;
	font-size: 13px;
	font-weight: 700;
	color: var(--velyon-text-muted, #52525b);
	cursor: pointer;
	border-radius: 7px;
	transition: all 0.15s ease;
}

.velyon-account-type-btn.active {
	background: var(--velyon-surface, #fff);
	color: var(--velyon-text, #0a0a0a);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

/* ===================================================================
   Portfolio Page — Employer-only Contact/Resume Lock
   =================================================================== */

.velyon-portfolio-contact-row {
	font-size: 14px;
	color: var(--velyon-text-muted, #52525b);
	margin: 0 0 8px;
}

.velyon-portfolio-contact-row a {
	color: var(--velyon-accent-deep, #00a824);
	font-weight: 700;
	text-decoration: none;
}

.velyon-portfolio-contact-row a:hover {
	text-decoration: underline;
}

.velyon-portfolio-lock {
	background: var(--velyon-surface-alt, #fafafa);
	border: 1.5px dashed var(--velyon-border, #e4e4e7);
	border-radius: 14px;
	padding: 24px 20px;
	text-align: center;
}

.velyon-portfolio-lock .velyon-gate-icon {
	font-size: 28px;
	margin-bottom: 8px;
}

.velyon-portfolio-lock p {
	font-size: 13px;
	line-height: 1.6;
	color: var(--velyon-text-muted, #52525b);
	margin: 0 0 6px;
	max-width: 420px;
	margin-left: auto;
	margin-right: auto;
}

.velyon-portfolio-lock p strong {
	font-size: 15px;
	color: var(--velyon-text, #0a0a0a);
}

.velyon-portfolio-lock .velyon-btn {
	margin-top: 12px;
}

/* ===================================================================
   Profile Completeness Bar
   =================================================================== */

.velyon-completeness-bar-wrap {
	margin-bottom: 20px;
}

.velyon-completeness-bar-label {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 12px;
	font-weight: 700;
	color: var(--velyon-text-muted, #52525b);
	margin-bottom: 6px;
}

.velyon-completeness-pct {
	color: var(--velyon-text, #0a0a0a);
}

.velyon-completeness-bar-track {
	width: 100%;
	height: 8px;
	background: var(--velyon-surface-alt, #f4f4f5);
	border-radius: 999px;
	overflow: hidden;
}

.velyon-completeness-bar-fill {
	height: 100%;
	border-radius: 999px;
	transition: width 0.3s ease;
}

.velyon-completeness-low {
	background: var(--velyon-danger, #ef4444);
}

/* Amber — deliberately not tokenized. The theme has no warning/caution
   token (confirmed in the theme's Ask 1 reply); --velyon-danger reads as
   "error", not "getting there", so it's the wrong fit here. Flagged to
   ask the theme for a --velyon-warning token if this needs to match. */
.velyon-completeness-mid {
	background: #f59e0b;
}

.velyon-completeness-good {
	background: var(--velyon-accent, #00ce2d);
}

/* ===================================================================
   Bank Details Disclaimer (Employer Profile)
   =================================================================== */

.velyon-bank-disclaimer {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	background: linear-gradient(135deg, rgba(0, 206, 45, 0.08), rgba(37, 99, 235, 0.06));
	border: 1px solid rgba(0, 206, 45, 0.25);
	border-radius: 14px;
	padding: 16px 18px;
	margin-bottom: 20px;
}

.velyon-bank-disclaimer-icon {
	font-size: 24px;
	flex-shrink: 0;
	line-height: 1;
	margin-top: 2px;
}

.velyon-bank-disclaimer p {
	font-size: 13px;
	line-height: 1.6;
	color: var(--velyon-text-muted, #52525b);
	margin: 0 0 6px;
}

.velyon-bank-disclaimer p:last-child {
	margin-bottom: 0;
}

.velyon-bank-disclaimer p strong {
	color: var(--velyon-text, #0a0a0a);
}
