/**
 * LearnDash Multi-Vendor — Instructor dashboard styles
 *
 * @package LearnDash_Multi_Vendor
 */

.ldmv-dashboard {
	--ldmv-sidebar-width: 280px;
	--ldmv-primary: #2ea3f2;
	--ldmv-primary-light: #1f96e8;
	--ldmv-accent: #2ea3f2;
	--ldmv-success: #16a34a;
	--ldmv-border: #e2e8f0;
	--ldmv-bg: #f1f5f9;
	--ldmv-sidebar-bg: #0f2744;
	--ldmv-text: #1e293b;
	--ldmv-muted: #64748b;
	--ldmv-radius: 12px;
	--ldmv-shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 8px 24px rgba(15, 23, 42, 0.06);

	display: flex;
	min-height: 560px;
	background: #fff;
	border: 1px solid var(--ldmv-border);
	border-radius: var(--ldmv-radius);
	box-shadow: var(--ldmv-shadow);
	overflow: hidden;
	font-family: inherit;
}

/* Full-width dashboard page (no theme header/footer) */
body.ldmv-instructor-dashboard-page {
	margin: 0;
	padding: 0;
	background: var(--ldmv-bg);
}

body.ldmv-instructor-dashboard-page.ldmv-hide-admin-bar {
	margin-top: 0 !important;
}

body.ldmv-instructor-dashboard-page.ldmv-hide-admin-bar #wpadminbar {
	display: none !important;
}

body.ldmv-instructor-dashboard-page .ldmv-dashboard-page-content {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

body.ldmv-instructor-dashboard-page .ldmv-dashboard-page-content > * {
	max-width: none;
}

body.ldmv-instructor-dashboard-page .ldmv-dashboard {
	width: 100%;
	max-width: none;
	min-height: 100vh;
	border: none;
	border-radius: 0;
	box-shadow: none;
	overflow: visible;
}

body.ldmv-instructor-dashboard-page .ldmv-dashboard--fullpage .ldmv-dashboard-sidebar {
	position: fixed;
	top: 0;
	left: 0;
	height: 100vh;
	min-height: 100vh;
	max-height: none;
}

body.admin-bar.ldmv-instructor-dashboard-page:not(.ldmv-hide-admin-bar) .ldmv-dashboard--fullpage .ldmv-dashboard-sidebar {
	top: 32px;
	height: calc(100vh - 32px);
	min-height: calc(100vh - 32px);
}

body.ldmv-instructor-dashboard-page .ldmv-dashboard--fullpage .ldmv-dashboard-main {
	margin-left: var(--ldmv-sidebar-width);
	width: calc(100% - var(--ldmv-sidebar-width));
	min-height: 100vh;
}

body.ldmv-instructor-dashboard-page .ldmv-dashboard-main {
	flex: 1;
	min-width: 0;
}

body.ldmv-instructor-dashboard-page .ldmv-dashboard-access-denied {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	box-sizing: border-box;
}

@media (max-width: 782px) {
	body.admin-bar.ldmv-instructor-dashboard-page:not(.ldmv-hide-admin-bar) .ldmv-dashboard--fullpage .ldmv-dashboard-sidebar {
		top: 46px;
		height: calc(100vh - 46px);
		min-height: calc(100vh - 46px);
	}
}

/* Sidebar */
.ldmv-dashboard-sidebar {
	position: sticky;
	top: 0;
	align-self: flex-start;
	width: var(--ldmv-sidebar-width);
	height: 100vh;
	max-height: 100vh;
	flex-shrink: 0;
	background: linear-gradient(180deg, #0f2744 0%, #0a1c33 100%);
	color: #fff;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-right: 1px solid rgba(255, 255, 255, 0.06);
	z-index: 20;
}

.ldmv-sidebar-brand {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 22px 20px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	flex-shrink: 0;
}

.ldmv-sidebar-brand__mark {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: rgba(46, 163, 242, 0.2);
	color: #b9e0fc;
	flex-shrink: 0;
}

.ldmv-sidebar-brand__text {
	min-width: 0;
}

.ldmv-sidebar-brand h2 {
	font-size: 16px;
	font-weight: 700;
	margin: 0 0 3px;
	color: #fff;
	line-height: 1.3;
	letter-spacing: -0.01em;
}

.ldmv-sidebar-brand span {
	display: block;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.5);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ldmv-sidebar-scroll {
	flex: 1;
	min-height: 0;
	overflow-y: auto;
	overflow-x: hidden;
	scrollbar-width: thin;
	scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
}

.ldmv-sidebar-scroll::-webkit-scrollbar {
	width: 6px;
}

.ldmv-sidebar-scroll::-webkit-scrollbar-track {
	background: transparent;
}

.ldmv-sidebar-scroll::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.2);
	border-radius: 999px;
}

.ldmv-sidebar-scroll::-webkit-scrollbar-thumb:hover {
	background: rgba(255, 255, 255, 0.35);
}

.ldmv-sidebar-nav {
	padding: 16px 12px 24px;
}

.ldmv-nav-group + .ldmv-nav-group {
	margin-top: 20px;
}

.ldmv-nav-group__label {
	margin: 0 0 8px;
	padding: 0 12px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.38);
}

.ldmv-nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 4px;
}

.ldmv-nav-item a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 11px 12px;
	color: rgba(255, 255, 255, 0.72);
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	transition: background 0.15s, color 0.15s, box-shadow 0.15s;
	border-radius: 10px;
}

.ldmv-nav-item__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.06);
	flex-shrink: 0;
	transition: background 0.15s, color 0.15s;
}

.ldmv-nav-item__label {
	line-height: 1.3;
}

.ldmv-nav-item a:hover {
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
}

.ldmv-nav-item a:hover .ldmv-nav-item__icon {
	background: rgba(255, 255, 255, 0.1);
}

.ldmv-nav-item.is-active a {
	background: rgba(46, 163, 242, 0.18);
	color: #fff;
	box-shadow: inset 0 0 0 1px rgba(46, 163, 242, 0.35);
}

.ldmv-nav-item.is-active .ldmv-nav-item__icon {
	background: var(--ldmv-accent);
	color: #fff;
}

.ldmv-nav-icon {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

/* Main content */
.ldmv-dashboard-main {
	flex: 1;
	display: flex;
	flex-direction: column;
	min-width: 0;
	background: var(--ldmv-bg);
}

.ldmv-dashboard-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 20px 28px;
	background: #fff;
	border-bottom: 1px solid var(--ldmv-border);
}

.ldmv-topbar-left {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	flex: 1;
}

.ldmv-topbar-title h1 {
	font-size: 22px;
	font-weight: 600;
	color: var(--ldmv-text);
	margin: 0;
	line-height: 1.3;
}

.ldmv-topbar-title p {
	font-size: 13px;
	color: var(--ldmv-muted);
	margin: 4px 0 0;
}

/* Top bar user menu */
.ldmv-topbar-user {
	position: relative;
	flex-shrink: 0;
}

.ldmv-topbar-user__trigger {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 12px;
	border: 1px solid var(--ldmv-border);
	border-radius: 999px;
	background: #fff;
	cursor: pointer;
	font-family: inherit;
	transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.ldmv-topbar-user__trigger:hover,
.ldmv-topbar-user:focus-within .ldmv-topbar-user__trigger {
	border-color: #cbd5e1;
	background: #f8fafc;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.ldmv-topbar-user__avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--ldmv-accent);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	flex-shrink: 0;
}

.ldmv-topbar-user__name {
	font-size: 14px;
	font-weight: 600;
	color: var(--ldmv-text);
	max-width: 180px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ldmv-topbar-user__chevron {
	color: var(--ldmv-muted);
	flex-shrink: 0;
	transition: transform 0.15s;
}

.ldmv-topbar-user:hover .ldmv-topbar-user__chevron,
.ldmv-topbar-user:focus-within .ldmv-topbar-user__chevron {
	transform: rotate(180deg);
}

.ldmv-topbar-user__menu {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	min-width: 220px;
	padding: 8px;
	background: #fff;
	border: 1px solid var(--ldmv-border);
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity 0.15s, visibility 0.15s, transform 0.15s;
	z-index: 100;
}

.ldmv-topbar-user:hover .ldmv-topbar-user__menu,
.ldmv-topbar-user:focus-within .ldmv-topbar-user__menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.ldmv-topbar-user__menu-meta {
	padding: 10px 12px 12px;
	border-bottom: 1px solid var(--ldmv-border);
	margin-bottom: 6px;
}

.ldmv-topbar-user__menu-meta strong {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: var(--ldmv-text);
	margin-bottom: 2px;
}

.ldmv-topbar-user__menu-meta span {
	display: block;
	font-size: 12px;
	color: var(--ldmv-muted);
}

.ldmv-topbar-user__logout {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	color: #dc2626;
	text-decoration: none;
	transition: background 0.15s;
}

.ldmv-topbar-user__logout:hover {
	background: #fef2f2;
	color: #b91c1c;
}

.ldmv-dashboard-content {
	flex: 1;
	padding: 28px;
	overflow-y: auto;
}

/* Mobile toggle */
.ldmv-mobile-toggle {
	display: none;
	background: none;
	border: none;
	padding: 8px;
	cursor: pointer;
	color: var(--ldmv-text);
}

.ldmv-sidebar-overlay {
	display: none;
}

@media (max-width: 900px) {
	.ldmv-dashboard {
		flex-direction: column;
	}

	body.ldmv-instructor-dashboard-page .ldmv-dashboard--fullpage .ldmv-dashboard-main {
		margin-left: 0;
		width: 100%;
	}

	.ldmv-sidebar-overlay {
		position: fixed;
		inset: 0;
		background: rgba(15, 23, 42, 0.45);
		z-index: 15;
	}

	.ldmv-sidebar-overlay.is-visible {
		display: block;
	}

	.ldmv-dashboard-sidebar {
		position: fixed;
		top: 0;
		left: 0;
		width: min(100%, 300px);
		height: 100vh;
		max-height: 100vh;
		transform: translateX(-100%);
		transition: transform 0.25s ease;
		box-shadow: 8px 0 32px rgba(0, 0, 0, 0.2);
		z-index: 30;
	}

	.ldmv-dashboard-sidebar.is-open {
		transform: translateX(0);
	}

	.ldmv-mobile-toggle {
		display: block;
	}
}

/* Section cards */
.ldmv-dash-card {
	background: #fff;
	border: 1px solid var(--ldmv-border);
	border-radius: var(--ldmv-radius);
	padding: 24px;
	margin-bottom: 20px;
}

.ldmv-dash-card:last-child {
	margin-bottom: 0;
}

.ldmv-dash-card h3 {
	font-size: 16px;
	font-weight: 600;
	color: var(--ldmv-text);
	margin: 0 0 16px;
}

.ldmv-stat-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 16px;
	margin-bottom: 24px;
}

.ldmv-stat-card {
	background: #fff;
	border: 1px solid var(--ldmv-border);
	border-radius: var(--ldmv-radius);
	padding: 20px;
}

.ldmv-stat-card .ldmv-stat-label {
	font-size: 12px;
	font-weight: 600;
	color: var(--ldmv-muted);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 8px;
}

.ldmv-stat-card .ldmv-stat-value {
	font-size: 28px;
	font-weight: 700;
	color: var(--ldmv-primary);
	line-height: 1;
}

.ldmv-stat-card .ldmv-stat-hint {
	font-size: 12px;
	color: var(--ldmv-muted);
	margin-top: 6px;
}

.ldmv-placeholder-panel {
	text-align: center;
	padding: 48px 24px;
}

.ldmv-placeholder-icon {
	font-size: 48px;
	margin-bottom: 16px;
	opacity: 0.4;
}

.ldmv-placeholder-panel h3 {
	font-size: 18px;
	color: var(--ldmv-text);
	margin: 0 0 8px;
}

.ldmv-placeholder-panel p {
	font-size: 14px;
	color: var(--ldmv-muted);
	margin: 0;
	max-width: 400px;
	margin-left: auto;
	margin-right: auto;
	line-height: 1.6;
}

.ldmv-coming-soon-badge {
	display: inline-block;
	margin-top: 16px;
	padding: 6px 14px;
	background: #e0f2fe;
	color: #075985;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
}

/* Access denied */
.ldmv-dashboard-access-denied {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 360px;
	padding: 40px 20px;
}

.ldmv-access-card {
	text-align: center;
	max-width: 420px;
	background: #fff;
	border: 1px solid var(--ldmv-border);
	border-radius: var(--ldmv-radius);
	padding: 48px 36px;
	box-shadow: var(--ldmv-shadow);
}

.ldmv-access-icon {
	font-size: 48px;
	margin-bottom: 16px;
}

.ldmv-access-card h2 {
	font-size: 22px;
	color: var(--ldmv-primary);
	margin: 0 0 12px;
}

.ldmv-access-card p {
	font-size: 15px;
	color: var(--ldmv-muted);
	line-height: 1.6;
	margin: 0 0 24px;
}

.ldmv-btn {
	display: inline-block;
	padding: 12px 28px;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	border-radius: 8px;
	transition: background 0.15s;
}

.ldmv-btn-primary {
	background: var(--ldmv-primary);
	color: #fff;
	border: none;
}

.ldmv-btn-primary:hover {
	background: var(--ldmv-primary-light);
	color: #fff;
}

/* Dashboard action buttons */
.ldmv-dashboard .ldmv-btn-primary,
.ldmv-dashboard .ldmv-quick-action {
	background: #2ea3f2;
}

.ldmv-dashboard .ldmv-btn-primary:hover,
.ldmv-dashboard .ldmv-quick-action:hover {
	background: var(--ldmv-primary-light);
	color: #fff;
}

/* Quick actions */
.ldmv-quick-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.ldmv-quick-action {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	background: var(--ldmv-primary);
	color: #fff;
	text-decoration: none;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	transition: background 0.15s;
}

.ldmv-quick-action:hover {
	background: var(--ldmv-primary-light);
	color: #fff;
}

.ldmv-quick-action.is-secondary {
	background: #fff;
	color: var(--ldmv-primary);
	border: 1px solid var(--ldmv-border);
}

.ldmv-quick-action.is-secondary:hover {
	background: var(--ldmv-bg);
}

.ldmv-welcome-text {
	color: var(--ldmv-muted);
	font-size: 14px;
	line-height: 1.6;
	margin: 0 0 20px;
}

.ldmv-muted-text {
	color: var(--ldmv-muted);
	font-size: 14px;
	margin: 0;
}

.ldmv-placeholder-compact {
	padding: 32px 24px;
}

.ldmv-profile-dl {
	display: grid;
	gap: 12px;
	margin: 0;
}

.ldmv-profile-row {
	display: grid;
	grid-template-columns: 140px 1fr;
	gap: 8px;
}

.ldmv-profile-row dt {
	color: var(--ldmv-muted);
	font-size: 14px;
	margin: 0;
}

.ldmv-profile-row dd {
	margin: 0;
	font-size: 14px;
}

.ldmv-profile-bio {
	margin: 0 0 12px;
	font-size: 14px;
	line-height: 1.6;
	color: #475569;
}

.ldmv-profile-links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.ldmv-profile-link {
	font-size: 13px;
	padding: 8px 14px;
}

/* -------------------------------------------------------------------------
   My Courses section
   ------------------------------------------------------------------------- */

.ldmv-section-my-courses {
	display: grid;
	gap: 20px;
}

.ldmv-section-my-courses .ldmv-notice {
	padding: 12px 16px;
	border-radius: 10px;
	font-size: 14px;
	line-height: 1.5;
}

.ldmv-section-my-courses .ldmv-notice-success {
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	color: #047857;
}

.ldmv-section-my-courses .ldmv-notice-error {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #b91c1c;
}

.ldmv-my-courses-top {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 20px;
	flex-wrap: wrap;
}

.ldmv-my-courses-create {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 11px 20px;
	font-size: 14px;
	white-space: nowrap;
	box-shadow: 0 4px 14px rgba(46, 163, 242, 0.28);
}

.ldmv-my-courses-card {
	padding: 0;
	overflow: hidden;
}

.ldmv-my-courses-toolbar {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	padding: 18px 20px;
	border-bottom: 1px solid var(--ldmv-border);
	background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
}

.ldmv-my-courses-filters-form {
	display: flex;
	align-items: flex-end;
	gap: 14px;
	flex-wrap: wrap;
}

.ldmv-my-courses-toolbar__group {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 180px;
}

.ldmv-my-courses-toolbar__label {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--ldmv-muted);
}

.ldmv-select-wrap {
	position: relative;
}

.ldmv-select-wrap::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 14px;
	width: 8px;
	height: 8px;
	border-right: 2px solid var(--ldmv-muted);
	border-bottom: 2px solid var(--ldmv-muted);
	transform: translateY(-65%) rotate(45deg);
	pointer-events: none;
}

.ldmv-select {
	appearance: none;
	min-width: 200px;
	padding: 10px 38px 10px 14px;
	font-size: 14px;
	font-weight: 500;
	color: var(--ldmv-text);
	background: #fff;
	border: 1px solid var(--ldmv-border);
	border-radius: 10px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
	cursor: pointer;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.ldmv-select:hover,
.ldmv-select:focus {
	border-color: var(--ldmv-primary);
	box-shadow: 0 0 0 3px rgba(46, 163, 242, 0.15);
	outline: none;
}

.ldmv-my-courses-toolbar__summary {
	margin: 0 0 2px;
	font-size: 13px;
	color: var(--ldmv-muted);
	white-space: nowrap;
}

.ldmv-my-courses-bulk-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 20px;
	background: #f8fafc;
	border-bottom: 1px solid var(--ldmv-border);
}

.ldmv-my-courses-check-all {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	font-weight: 600;
	color: var(--ldmv-muted);
	cursor: pointer;
	user-select: none;
}

.ldmv-my-courses-check-all input {
	width: 16px;
	height: 16px;
	accent-color: var(--ldmv-primary);
}

.ldmv-btn-small {
	padding: 8px 14px;
	font-size: 13px;
}

.ldmv-btn-danger {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #fff;
	color: #dc2626;
	border: 1px solid #fecaca;
}

.ldmv-btn-danger:hover:not(:disabled) {
	background: #fef2f2;
	border-color: #f87171;
	color: #b91c1c;
}

.ldmv-btn-danger:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.ldmv-my-courses-table-wrap {
	overflow-x: auto;
	display: flex;
	flex-direction: column;
}

.ldmv-my-courses-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.ldmv-my-courses-table thead th {
	padding: 14px 20px;
	background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
	border-bottom: 1px solid var(--ldmv-border);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--ldmv-muted);
	text-align: left;
	white-space: nowrap;
}

.ldmv-my-courses-table__check-col,
.ldmv-my-courses-table__check {
	width: 48px;
	text-align: center;
}

.ldmv-my-courses-table__check input {
	width: 16px;
	height: 16px;
	accent-color: var(--ldmv-primary);
}

.ldmv-my-courses-table tbody td {
	padding: 16px 20px;
	border-bottom: 1px solid var(--ldmv-border);
	vertical-align: middle;
	color: var(--ldmv-text);
}

.ldmv-my-courses-table tbody tr {
	transition: background 0.12s;
}

.ldmv-my-courses-table tbody tr:hover td {
	background: #f8fafc;
}

.ldmv-my-courses-table tbody tr:last-child td {
	border-bottom: none;
}

.ldmv-my-courses-table__actions-col,
.ldmv-my-courses-table__actions {
	text-align: right;
}

.ldmv-course-cell {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 220px;
}

.ldmv-course-cell__thumb {
	width: 52px;
	height: 52px;
	border-radius: 10px;
	object-fit: cover;
	flex-shrink: 0;
	border: 1px solid var(--ldmv-border);
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.ldmv-course-cell__thumb--placeholder {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #e8f6fe 0%, #f1f5f9 100%);
	color: var(--ldmv-primary);
}

.ldmv-course-cell__meta {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.ldmv-course-cell__title {
	font-size: 15px;
	font-weight: 600;
	color: var(--ldmv-text);
	line-height: 1.35;
}

.ldmv-course-cell__excerpt {
	font-size: 12px;
	line-height: 1.45;
	color: var(--ldmv-muted);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.ldmv-course-price {
	font-weight: 600;
	color: var(--ldmv-text);
	white-space: nowrap;
}

.ldmv-course-date {
	font-size: 13px;
	color: var(--ldmv-muted);
	white-space: nowrap;
}

.ldmv-section-my-courses .ldmv-badge {
	display: inline-flex;
	align-items: center;
	padding: 5px 12px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	white-space: nowrap;
}

.ldmv-section-my-courses .ldmv-badge-draft {
	background: #f1f5f9;
	color: #475569;
}

.ldmv-section-my-courses .ldmv-badge-pending_review {
	background: #fffbeb;
	color: #b45309;
}

.ldmv-section-my-courses .ldmv-badge-approved {
	background: #dcfce7;
	color: #166534;
}

.ldmv-section-my-courses .ldmv-badge-rejected {
	background: #fee2e2;
	color: #991b1b;
}

.ldmv-course-actions {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	flex-wrap: wrap;
}

.ldmv-course-action {
	display: inline-flex;
	align-items: center;
	padding: 7px 14px;
	font-size: 13px;
	font-weight: 600;
	color: var(--ldmv-primary);
	background: #e8f6fe;
	border-radius: 999px;
	text-decoration: none;
	transition: background 0.15s, color 0.15s;
}

.ldmv-course-action:hover {
	background: var(--ldmv-primary);
	color: #fff;
}

.ldmv-course-action--primary {
	background: var(--ldmv-primary);
	color: #fff;
	box-shadow: 0 2px 8px rgba(46, 163, 242, 0.28);
}

.ldmv-course-action--primary:hover {
	background: var(--ldmv-primary-light);
	color: #fff;
}

.ldmv-course-action--muted {
	background: #f1f5f9;
	color: var(--ldmv-muted);
	cursor: default;
}

.ldmv-my-courses-empty {
	text-align: center;
	padding: 56px 28px;
}

.ldmv-my-courses-empty__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	margin-bottom: 18px;
	border-radius: 50%;
	background: #f1f5f9;
	color: var(--ldmv-muted);
}

.ldmv-my-courses-empty h3 {
	font-size: 20px;
	font-weight: 700;
	color: var(--ldmv-text);
	margin: 0 0 8px;
}

.ldmv-my-courses-empty p {
	font-size: 14px;
	color: var(--ldmv-muted);
	margin: 0 0 20px;
	line-height: 1.6;
	max-width: 420px;
	margin-left: auto;
	margin-right: auto;
}

.ldmv-my-courses-pagination {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	width: 100%;
	padding: 14px 20px;
	border-top: 1px solid var(--ldmv-border);
	background: #fafbfc;
}

.ldmv-my-courses-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	padding: 14px 20px;
	border-top: 1px solid var(--ldmv-border);
	background: #fafbfc;
}

.ldmv-my-courses-footer__summary {
	margin: 0;
	font-size: 13px;
	color: var(--ldmv-muted);
}

.ldmv-my-courses-footer__controls {
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
	gap: 16px;
	flex-wrap: wrap;
	margin-left: auto;
}

.ldmv-my-courses-footer__per-page {
	display: flex;
	align-items: flex-end;
}

.ldmv-my-courses-footer__per-page .ldmv-my-courses-toolbar__group {
	min-width: 100px;
}

.ldmv-select--compact {
	min-width: 72px;
	padding-right: 32px;
}

.ldmv-my-courses-footer__pagination ul {
	justify-content: flex-end;
}

.ldmv-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	color: var(--ldmv-muted);
	text-decoration: none;
	border: 1px solid transparent;
	border-radius: 8px;
	transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.ldmv-pagination a.page-numbers:hover {
	background: #e8f6fe;
	color: var(--ldmv-primary);
	border-color: #bae6fd;
}

.ldmv-pagination .page-numbers.current {
	background: var(--ldmv-primary);
	border-color: var(--ldmv-primary);
	color: #fff;
	box-shadow: 0 2px 8px rgba(46, 163, 242, 0.3);
}

.ldmv-pagination .page-numbers.prev,
.ldmv-pagination .page-numbers.next {
	min-width: auto;
	padding: 0 14px;
	background: #fff;
	border: 1px solid var(--ldmv-border);
}

.ldmv-pagination a.page-numbers.prev:hover,
.ldmv-pagination a.page-numbers.next:hover {
	background: #fff;
	border-color: var(--ldmv-primary);
	color: var(--ldmv-primary);
}

.ldmv-pagination .page-numbers.is-disabled {
	opacity: 0.45;
	cursor: not-allowed;
	background: #f1f5f9;
	border: 1px solid var(--ldmv-border);
}

.ldmv-pagination ul {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
	justify-content: flex-end;
}

.ldmv-pagination li {
	margin: 0;
}

@media (max-width: 768px) {
	.ldmv-my-courses-toolbar {
		flex-direction: column;
		align-items: stretch;
	}

	.ldmv-my-courses-toolbar__summary {
		white-space: normal;
	}

	.ldmv-my-courses-toolbar__group,
	.ldmv-select {
		width: 100%;
		min-width: 0;
	}

	.ldmv-my-courses-footer {
		flex-direction: column;
		align-items: stretch;
	}

	.ldmv-my-courses-footer__controls {
		width: 100%;
		justify-content: space-between;
		margin-left: 0;
	}

	.ldmv-my-courses-footer__pagination ul {
		justify-content: flex-end;
	}

	.ldmv-my-courses-pagination {
		justify-content: flex-end;
	}

	.ldmv-my-courses-table thead {
		display: none;
	}

	.ldmv-my-courses-table,
	.ldmv-my-courses-table tbody,
	.ldmv-my-courses-table tr,
	.ldmv-my-courses-table td {
		display: block;
		width: 100%;
	}

	.ldmv-my-courses-table tr {
		padding: 16px 18px;
		border-bottom: 1px solid var(--ldmv-border);
	}

	.ldmv-my-courses-table tr:last-child {
		border-bottom: none;
	}

	.ldmv-my-courses-table td {
		padding: 8px 0;
		border: none;
		text-align: left;
	}

	.ldmv-my-courses-table td::before {
		content: attr(data-label);
		display: block;
		font-size: 11px;
		font-weight: 700;
		text-transform: uppercase;
		letter-spacing: 0.05em;
		color: var(--ldmv-muted);
		margin-bottom: 6px;
	}

	.ldmv-my-courses-table__check::before {
		display: none;
	}

	.ldmv-my-courses-table__actions {
		text-align: left;
	}

	.ldmv-course-actions {
		justify-content: flex-start;
	}

	.ldmv-course-cell {
		min-width: 0;
	}
}
