/* Тёмная тема с использованием указанных цветов */
:root {
	--primary: #0059ff;
	--primary-dark: #041a53;
	--primary-light: #4d88ff;
	--background: #0a0f25;
	--background-light: #1a1f35;
	--background-dark: #050815;
	--text-light: #ffffff;
	--text-muted: #a0a8c5;
	--text-dark: #e0e8ff;
	--gradient: linear-gradient(135deg, #0059ff 0%, #041a53 100%);
	--gradient-dark: linear-gradient(135deg, #0044cc 0%, #030a2b 100%);
	--shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	--radius: 12px;
	--glass-bg: rgba(255, 255, 255, 0.05);
	--glass-border: rgba(255, 255, 255, 0.1);
	--glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
	--accent-glow: 0 0 20px rgba(0, 89, 255, 0.3);
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
	background: var(--background);
	background: linear-gradient(
		135deg,
		var(--background-dark) 0%,
		var(--background) 50%,
		var(--background-light) 100%
	);
	color: var(--text-light);
	line-height: 1.6;
	position: relative;
	min-height: 100vh;
	overflow-x: hidden;
}

/* Эффект жидкого стекла для фона */
.glass-bg {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
	overflow: hidden;
	background: radial-gradient(
			ellipse at top,
			var(--primary-dark) 0%,
			transparent 50%
		),
		radial-gradient(ellipse at bottom, var(--primary) 0%, transparent 50%);
	opacity: 0.1;
}

.glass-bubble {
	position: absolute;
	border-radius: 50%;
	background: linear-gradient(
		135deg,
		rgba(0, 89, 255, 0.15) 0%,
		rgba(4, 26, 83, 0.1) 100%
	);
	filter: blur(60px);
	animation: float 25s infinite ease-in-out;
}

.glass-bubble:nth-child(1) {
	width: 400px;
	height: 400px;
	top: 10%;
	left: 5%;
	animation-delay: 0s;
	background: linear-gradient(
		135deg,
		rgba(0, 89, 255, 0.2) 0%,
		rgba(4, 26, 83, 0.15) 100%
	);
}

.glass-bubble:nth-child(2) {
	width: 300px;
	height: 300px;
	top: 60%;
	left: 85%;
	animation-delay: -8s;
	background: linear-gradient(
		135deg,
		rgba(77, 136, 255, 0.15) 0%,
		rgba(3, 10, 43, 0.1) 100%
	);
}

.glass-bubble:nth-child(3) {
	width: 350px;
	height: 350px;
	top: 30%;
	left: 70%;
	animation-delay: -15s;
	background: linear-gradient(
		135deg,
		rgba(0, 89, 255, 0.1) 0%,
		rgba(26, 31, 53, 0.15) 100%
	);
}

.glass-bubble:nth-child(4) {
	width: 250px;
	height: 250px;
	top: 80%;
	left: 15%;
	animation-delay: -20s;
	background: linear-gradient(
		135deg,
		rgba(4, 26, 83, 0.2) 0%,
		rgba(0, 89, 255, 0.1) 100%
	);
}

@keyframes float {
	0%,
	100% {
		transform: translate(0, 0) scale(1) rotate(0deg);
	}
	25% {
		transform: translate(30px, 20px) scale(1.05) rotate(90deg);
	}
	50% {
		transform: translate(10px, 40px) scale(1.1) rotate(180deg);
	}
	75% {
		transform: translate(-20px, 25px) scale(1.05) rotate(270deg);
	}
}

/* Навигация с эффектом стекла */
.navbar {
	background: var(--glass-bg);
	backdrop-filter: blur(25px) saturate(180%);
	-webkit-backdrop-filter: blur(25px) saturate(180%);
	border-bottom: 1px solid var(--glass-border);
	padding: 1rem 0;
	box-shadow: var(--glass-shadow);
	position: sticky;
	top: 0;
	z-index: 1000;
}

.nav-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 2rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.nav-logo {
	display: flex;
	align-items: center;
	text-align: center;
}

.nav-logo a {
	text-decoration: none;
}

.logo-img {
	height: 40px;
	width: auto;
	filter: drop-shadow(0 2px 8px rgba(0, 89, 255, 0.4));
}

.logo-text {
	font-size: 1.5rem;
	font-weight: 700;
	background: linear-gradient(
		135deg,
		var(--text-light) 0%,
		var(--primary-light) 100%
	);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-shadow: 0 2px 8px rgba(0, 89, 255, 0.3);
}

.nav-menu {
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.nav-link {
	color: var(--text-muted);
	text-decoration: none;
	font-weight: 500;
	transition: all 0.3s ease;
	padding: 0.75rem 1.25rem;
	border-radius: var(--radius);
	position: relative;
	overflow: hidden;
}

.nav-link::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(255, 255, 255, 0.1),
		transparent
	);
	transition: left 0.5s;
}

.nav-link:hover::before {
	left: 100%;
}

.nav-link:hover,
.nav-link.active {
	color: var(--text-light);
	background: var(--glass-bg);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid var(--glass-border);
	box-shadow: var(--accent-glow);
}

.user-section {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-left: 1rem;
}

.user-name {
	color: var(--text-light);
	font-weight: 500;
}

.btn-logout {
	background: var(--glass-bg);
	backdrop-filter: blur(15px);
	-webkit-backdrop-filter: blur(15px);
	color: var(--text-light);
	border: 1px solid var(--glass-border);
	padding: 0.75rem 1.25rem;
	border-radius: var(--radius);
	cursor: pointer;
	transition: all 0.3s ease;
	font-weight: 500;
}

.btn-logout:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: var(--primary);
	box-shadow: var(--accent-glow);
	transform: translateY(-1px);
}

.nav-toggle {
	display: none;
	flex-direction: column;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0.5rem;
}

.nav-toggle span {
	width: 25px;
	height: 2px;
	background: var(--text-light);
	margin: 3px 0;
	transition: 0.3s;
	border-radius: 2px;
}

/* Основной контент */
.main-content {
	min-height: calc(100vh - 80px);
	position: relative;
	z-index: 1;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 2rem;
}

.page-title {
	font-size: 2.5rem;
	margin-bottom: 2rem;
	color: var(--text-light);
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
	font-weight: 700;
	background: linear-gradient(
		135deg,
		var(--text-light) 0%,
		var(--primary-light) 100%
	);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

/* Карточки с эффектом стекла */
.card {
	background: var(--glass-bg);
	backdrop-filter: blur(25px) saturate(180%);
	-webkit-backdrop-filter: blur(25px) saturate(180%);
	border: 1px solid var(--glass-border);
	border-radius: var(--radius);
	box-shadow: var(--glass-shadow);
	padding: 2rem;
	margin-bottom: 2rem;
	transition: all 0.4s ease;
	position: relative;
	overflow: hidden;
}

.card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.card:hover {
	transform: translateY(-5px);
	box-shadow: var(--glass-shadow), var(--accent-glow);
	border-color: rgba(0, 89, 255, 0.3);
}

.card-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1.5rem;
}

.card-title {
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--text-light);
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.btn-link {
	color: var(--primary-light);
	text-decoration: none;
	font-weight: 500;
	transition: all 0.3s;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0.5rem 1rem;
	border-radius: 6px;
}

.btn-link:hover {
	color: var(--text-light);
	background: var(--glass-bg);
	box-shadow: var(--accent-glow);
}

/* Прогресс-бар */
.progress-container {
	margin: 2rem 0;
}

.progress-label {
	display: flex;
	justify-content: space-between;
	margin-bottom: 1rem;
	font-weight: 500;
	color: var(--text-light);
}

.progress-bar {
	height: 12px;
	background: var(--glass-bg);
	backdrop-filter: blur(10px);
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid var(--glass-border);
	box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.progress-fill {
	height: 100%;
	background: var(--gradient);
	border-radius: 10px;
	transition: width 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
	position: relative;
	overflow: hidden;
}

.progress-fill::after {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(255, 255, 255, 0.6),
		transparent
	);
	animation: shimmer 2s infinite;
}

@keyframes shimmer {
	0% {
		left: -100%;
	}
	100% {
		left: 100%;
	}
}

/* Карточки курсов */
.courses-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 2rem;
}

.course-card {
	border-left: 4px solid var(--primary);
	transition: all 0.4s ease;
	cursor: pointer;
	position: relative;
	overflow: hidden;
}

.course-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(255, 255, 255, 0.1),
		transparent
	);
	transition: left 0.6s;
}

.course-card:hover::before {
	left: 100%;
}

.course-card:hover {
	transform: translateY(-8px) scale(1.02);
	box-shadow: var(--glass-shadow), var(--accent-glow);
	border-left-color: var(--primary-light);
}

.course-title {
	font-size: 1.3rem;
	font-weight: 600;
	margin-bottom: 1rem;
	color: var(--text-light);
}

.course-status {
	display: inline-block;
	padding: 0.5rem 1rem;
	border-radius: 20px;
	font-size: 0.85rem;
	font-weight: 600;
	margin-top: 0.5rem;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid var(--glass-border);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.status-completed {
	background: rgba(46, 125, 50, 0.2);
	color: #4caf50;
	border-color: rgba(76, 175, 80, 0.3);
}

.status-in-progress {
	background: rgba(21, 101, 192, 0.2);
	color: #64b5f6;
	border-color: rgba(100, 181, 246, 0.3);
}

.status-upcoming {
	background: rgba(239, 108, 0, 0.2);
	color: #ffb74d;
	border-color: rgba(255, 183, 77, 0.3);
}

.status-expired {
	background: rgba(198, 40, 40, 0.2);
	color: #ef5350;
	border-color: rgba(239, 83, 80, 0.3);
}

.course-meta {
	margin-top: 1.5rem;
	font-size: 0.95rem;
	color: var(--text-muted);
}

.course-meta p {
	margin: 0.5rem 0;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.course-meta strong {
	color: var(--text-light);
	font-weight: 600;
}

/* Уведомления */
.notifications-container {
	margin-bottom: 2rem;
}

.notification {
	display: flex;
	align-items: flex-start;
	padding: 1.5rem;
	background: var(--glass-bg);
	backdrop-filter: blur(25px);
	-webkit-backdrop-filter: blur(25px);
	border: 1px solid var(--glass-border);
	border-left: 4px solid #ff9800;
	margin-bottom: 1rem;
	border-radius: var(--radius);
	animation: slideIn 0.4s ease-out;
	transition: all 0.3s ease;
	cursor: pointer;
}

.notification:hover {
	transform: translateX(8px);
	box-shadow: var(--glass-shadow), var(--accent-glow);
}

.notification.warning {
	border-left-color: #ff9800;
	background: rgba(255, 152, 0, 0.05);
}

.notification.error {
	border-left-color: #f44336;
	background: rgba(244, 67, 54, 0.05);
}

.notification.info {
	border-left-color: #2196f3;
	background: rgba(33, 150, 243, 0.05);
}

.notification-icon {
	margin-right: 1rem;
	font-size: 1.5rem;
	flex-shrink: 0;
}

.notification-content h4 {
	margin-bottom: 0.5rem;
	color: var(--text-light);
	font-weight: 600;
}

.notification-content p {
	margin: 0;
	color: var(--text-muted);
	line-height: 1.5;
}

/* Формы */
.form-container {
	max-width: 440px;
	margin: 3rem auto;
	padding: 3rem;
	background: var(--glass-bg);
	backdrop-filter: blur(35px) saturate(200%);
	-webkit-backdrop-filter: blur(35px) saturate(200%);
	border: 1px solid var(--glass-border);
	border-radius: var(--radius);
	box-shadow: var(--glass-shadow), var(--accent-glow);
	position: relative;
	overflow: hidden;
}

.form-container::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: var(--gradient);
}

.logo-section {
	text-align: center;
	margin-bottom: 2.5rem;
}

.logo-section img {
	height: 80px;
	margin-bottom: 1.5rem;
	filter: drop-shadow(0 4px 12px rgba(0, 89, 255, 0.5));
}

.form-title {
	text-align: center;
	margin-bottom: 2.5rem;
	color: var(--text-light);
	font-size: 1.8rem;
	font-weight: 700;
	background: linear-gradient(
		135deg,
		var(--text-light) 0%,
		var(--primary-light) 100%
	);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.form-group {
	margin-bottom: 2rem;
}

.form-label {
	display: block;
	margin-bottom: 0.75rem;
	font-weight: 600;
	color: var(--text-light);
	font-size: 1rem;
}

.form-input {
	width: 100%;
	padding: 1rem 1.25rem;
	background: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(10px);
	border: 1px solid var(--glass-border);
	border-radius: 8px;
	font-size: 1rem;
	transition: all 0.3s ease;
	color: var(--text-light);
	box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.form-input:focus {
	outline: none;
	border-color: var(--primary);
	box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3),
		0 0 0 3px rgba(0, 89, 255, 0.2);
	background: rgba(255, 255, 255, 0.08);
}

.form-input::placeholder {
	color: var(--text-muted);
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 1rem 2rem;
	background: var(--gradient);
	color: white;
	border: none;
	border-radius: 8px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
	text-align: center;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	position: relative;
	overflow: hidden;
}

.btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(255, 255, 255, 0.2),
		transparent
	);
	transition: left 0.5s;
}

.btn:hover::before {
	left: 100%;
}

.btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(0, 89, 255, 0.4);
	background: var(--gradient-dark);
}

.btn-block {
	width: 100%;
}

.btn-secondary {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
	background: rgba(255, 255, 255, 0.15);
	box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* Фильтры */
.filters {
	display: flex;
	gap: 1.5rem;
	margin-bottom: 2rem;
	flex-wrap: wrap;
	align-items: end;
}

.filter-group {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.filter-label {
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--text-light);
}

.filter-select,
.search-input {
	padding: 0.75rem 1rem;
	background: var(--glass-bg);
	backdrop-filter: blur(15px);
	border: 1px solid var(--glass-border);
	border-radius: 8px;
	font-size: 0.95rem;
	min-width: 160px;
	color: var(--text-light);
	transition: all 0.3s ease;
}

.filter-select option {
	background: var(--primary-dark);
}

.search-input {
	min-width: 240px;
}

.filter-select:focus,
.search-input:focus {
	outline: none;
	border-color: var(--primary);
	box-shadow: 0 0 0 3px rgba(0, 89, 255, 0.2);
	background: rgba(255, 255, 255, 0.08);
}
.filters .btn {
	height: 48px;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 1.5rem;
	white-space: nowrap;
	min-width: 140px;
}

/* Анимации */
@keyframes slideIn {
	from {
		opacity: 0;
		transform: translateY(-20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.fade-in {
	animation: slideIn 0.4s ease-out;
}

/* Адаптивность */
@media (max-width: 768px) {
	.nav-menu {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--background-light);
		backdrop-filter: blur(30px) saturate(180%);
		-webkit-backdrop-filter: blur(30px) saturate(180%);
		border: 1px solid var(--glass-border);
		border-top: none;
		flex-direction: column;
		padding: 1.5rem;
		gap: 1rem;
		box-shadow: var(--glass-shadow);
	}

	.nav-menu.active {
		display: flex;
	}

	.nav-toggle {
		display: flex;
	}

	.nav-toggle.active span:nth-child(1) {
		transform: rotate(45deg) translate(5px, 5px);
	}

	.nav-toggle.active span:nth-child(2) {
		opacity: 0;
	}

	.nav-toggle.active span:nth-child(3) {
		transform: rotate(-45deg) translate(7px, -6px);
	}

	.user-section {
		margin-left: 0;
		flex-direction: column;
		gap: 1rem;
		width: 100%;
	}

	.btn-logout {
		width: 100%;
		justify-content: center;
	}

	.container {
		padding: 1.5rem;
	}

	.page-title {
		font-size: 2rem;
		text-align: center;
	}

	.courses-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.card {
		padding: 1.5rem;
	}

	.card-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 1rem;
	}

	.filters {
		flex-direction: column;
		align-items: stretch;
		gap: 1rem;
	}

	.filter-select,
	.search-input {
		min-width: auto;
		width: 100%;
	}

	.form-container {
		margin: 2rem 1rem;
		padding: 2rem 1.5rem;
	}

	.glass-bubble {
		display: none;
	}
}

/* Утилиты */
.text-center {
	text-align: center;
}

.mb-3 {
	margin-bottom: 1.5rem;
}

.mt-3 {
	margin-top: 1.5rem;
}

.hidden {
	display: none !important;
}

.loading {
	opacity: 0.7;
	pointer-events: none;
	position: relative;
}

.loading::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 20px;
	height: 20px;
	border: 2px solid transparent;
	border-top: 2px solid var(--primary);
	border-radius: 50%;
	animation: spin 1s linear infinite;
	margin-left: -10px;
	margin-top: -10px;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

/* Скроллбар */
::-webkit-scrollbar {
	width: 8px;
}

::-webkit-scrollbar-track {
	background: var(--background-dark);
}

::-webkit-scrollbar-thumb {
	background: var(--glass-bg);
	border-radius: 4px;
	border: 1px solid var(--glass-border);
}

::-webkit-scrollbar-thumb:hover {
	background: var(--primary);
}

/* Selection */
::selection {
	background: rgba(0, 89, 255, 0.3);
	color: var(--text-light);
}

::-moz-selection {
	background: rgba(0, 89, 255, 0.3);
	color: var(--text-light);
}

/* Стили для плеера курсов */
.course-player-layout {
	display: grid;
	grid-template-columns: 300px 1fr;
	gap: 2rem;
	min-height: 600px;
}

.course-sidebar {
	background: var(--glass-bg);
	backdrop-filter: blur(25px);
	border: 1px solid var(--glass-border);
	border-radius: var(--radius);
	padding: 1.5rem;
	height: fit-content;
	position: sticky;
	top: 2rem;
}

.sidebar-title {
	color: var(--text-light);
	font-size: 1.3rem;
	font-weight: 600;
	margin-bottom: 1.5rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--glass-border);
}

.modules-list {
	margin-bottom: 2rem;
}

.module-item {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	padding: 1rem;
	border-radius: 8px;
	margin-bottom: 0.5rem;
	cursor: pointer;
	transition: all 0.3s ease;
	border: 1px solid transparent;
}

.module-item:hover {
	background: rgba(255, 255, 255, 0.05);
	border-color: var(--glass-border);
}

.module-item.active {
	background: rgba(0, 89, 255, 0.1);
	border-color: var(--primary);
}

.module-item.completed {
	opacity: 0.8;
}

.module-item.completed .module-title {
	text-decoration: line-through;
}

.module-icon {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--glass-bg);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.8rem;
	flex-shrink: 0;
}

.module-item.completed .module-icon {
	background: rgba(76, 175, 80, 0.2);
	color: #4caf50;
}

.module-content {
	flex: 1;
	min-width: 0;
}

.module-title {
	color: var(--text-light);
	font-weight: 500;
	font-size: 0.95rem;
	margin-bottom: 0.25rem;
	line-height: 1.3;
}

.module-meta {
	color: var(--text-muted);
	font-size: 0.8rem;
}

.progress-section {
	padding-top: 1rem;
	border-top: 1px solid var(--glass-border);
}

.progress-text {
	color: var(--text-light);
	font-weight: 500;
	margin-bottom: 0.5rem;
}

.continue-btn,
.test-btn {
	width: 100%;
	margin-top: 1rem;
}

.course-content {
	background: var(--glass-bg);
	backdrop-filter: blur(25px);
	border: 1px solid var(--glass-border);
	border-radius: var(--radius);
	padding: 2rem;
}

.content-header {
	margin-bottom: 2rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--glass-border);
}

.module-navigation {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.module-header {
	margin-bottom: 2rem;
}

.module-content-title {
	color: var(--text-light);
	font-size: 1.8rem;
	font-weight: 600;
	margin-bottom: 0.5rem;
}

.module-content-meta {
	color: var(--text-muted);
	font-size: 1rem;
}

.module-main-content {
	line-height: 1.7;
}

.video-placeholder {
	margin-bottom: 2rem;
}

.video-player {
	background: rgba(0, 0, 0, 0.3);
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid var(--glass-border);
}

.video-thumbnail {
	position: relative;
	height: 300px;
	background: linear-gradient(
		135deg,
		var(--primary-dark) 0%,
		var(--primary) 100%
	);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.play-button {
	width: 80px;
	height: 80px;
	background: rgba(255, 255, 255, 0.9);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2rem;
	color: var(--primary);
	transition: all 0.3s ease;
}

.video-thumbnail:hover .play-button {
	transform: scale(1.1);
	background: white;
}

.video-info {
	padding: 1rem;
	color: var(--text-light);
}

.module-text-content {
	background: rgba(255, 255, 255, 0.05);
	padding: 2rem;
	border-radius: 8px;
	border: 1px solid var(--glass-border);
	margin-bottom: 2rem;
	color: var(--text-light);
	line-height: 1.7;
	white-space: pre-line;
}

.complete-btn {
	margin-top: 1rem;
}

/* Адаптивность */
@media (max-width: 968px) {
	.course-player-layout {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.course-sidebar {
		position: static;
		order: 2;
	}

	.course-content {
		order: 1;
	}
}

/* Стили для страницы плана обучения */

/* Таймлайн курсов */
.timeline {
	margin-top: 1rem;
}

.timeline-month {
	margin-bottom: 2.5rem;
}

.month-title {
	color: var(--text-light);
	font-size: 1.3rem;
	font-weight: 600;
	margin-bottom: 1.5rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid var(--primary);
}

.month-courses {
	display: grid;
	gap: 1rem;
}

.course-plan-card {
	display: flex;
	justify-content: between;
	align-items: center;
	gap: 1.5rem;
	padding: 1.5rem;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--glass-border);
	border-radius: var(--radius);
	transition: all 0.3s ease;
	cursor: pointer;
}

.course-plan-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--glass-shadow);
	border-color: var(--primary);
}

.course-plan-main {
	flex: 1;
}

.course-plan-header {
	display: flex;
	justify-content: between;
	align-items: flex-start;
	gap: 1rem;
	margin-bottom: 0.75rem;
}

.course-plan-title {
	color: var(--text-light);
	font-size: 1.1rem;
	font-weight: 600;
	margin: 0;
	flex: 1;
}

.course-badges {
	display: flex;
	gap: 0.5rem;
	flex-shrink: 0;
}

.course-badge {
	padding: 0.25rem 0.75rem;
	border-radius: 20px;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.course-badge.type-обязательный {
	background: rgba(244, 67, 54, 0.2);
	color: #f44336;
	border: 1px solid rgba(244, 67, 54, 0.3);
}

.course-badge.type-рекомендованный {
	background: rgba(33, 150, 243, 0.2);
	color: #2196f3;
	border: 1px solid rgba(33, 150, 243, 0.3);
}

.course-badge.priority-высокий {
	background: rgba(244, 67, 54, 0.2);
	color: #f44336;
	border: 1px solid rgba(244, 67, 54, 0.3);
}

.course-badge.priority-средний {
	background: rgba(255, 152, 0, 0.2);
	color: #ff9800;
	border: 1px solid rgba(255, 152, 0, 0.3);
}

.course-badge.priority-низкий {
	background: rgba(76, 175, 80, 0.2);
	color: #4caf50;
	border: 1px solid rgba(76, 175, 80, 0.3);
}

.course-plan-description {
	color: var(--text-muted);
	margin-bottom: 1rem;
	line-height: 1.5;
}

.course-plan-meta {
	display: flex;
	gap: 1.5rem;
	flex-wrap: wrap;
}

.meta-item {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--text-muted);
	font-size: 0.9rem;
}

/* Приоритеты обучения */
.priority-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.5rem;
	margin-top: 1rem;
}

.priority-item {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	padding: 1.5rem;
	border-radius: var(--radius);
	border-left: 4px solid;
	transition: all 0.3s ease;
}

.priority-item:hover {
	transform: translateY(-2px);
	box-shadow: var(--glass-shadow);
}

.priority-item.high {
	border-left-color: #f44336;
	background: rgba(244, 67, 54, 0.1);
}

.priority-item.medium {
	border-left-color: #ff9800;
	background: rgba(255, 152, 0, 0.1);
}

.priority-item.low {
	border-left-color: #4caf50;
	background: rgba(76, 175, 80, 0.1);
}

.priority-icon {
	font-size: 1.5rem;
	flex-shrink: 0;
}

.priority-content h3 {
	color: var(--text-light);
	margin-bottom: 0.5rem;
	font-size: 1.1rem;
}

.priority-content p {
	color: var(--text-muted);
	margin: 0;
	line-height: 1.5;
}

/* Рекомендации */
.recommendations {
	margin-top: 1rem;
}

.recommendation-item {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	padding: 1.25rem;
	background: rgba(255, 255, 255, 0.05);
	border-radius: var(--radius);
	margin-bottom: 1rem;
	border-left: 4px solid var(--primary);
}

.recommendation-item:last-child {
	margin-bottom: 0;
}

.recommendation-icon {
	font-size: 1.25rem;
	flex-shrink: 0;
	margin-top: 0.125rem;
}

.recommendation-text {
	color: var(--text-light);
	line-height: 1.5;
	flex: 1;
}

/* Статистика */
.stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 1.5rem;
	margin-top: 1rem;
}

.stat-item {
	text-align: center;
	padding: 1.5rem;
	background: rgba(255, 255, 255, 0.05);
	border-radius: var(--radius);
	border: 1px solid var(--glass-border);
}

.stat-value {
	font-size: 2rem;
	font-weight: 700;
	color: var(--primary-light);
	margin-bottom: 0.5rem;
}

.stat-label {
	color: var(--text-muted);
	font-size: 0.9rem;
}

/* Кнопки */
.btn-outline {
	background: transparent;
	border: 1px solid var(--glass-border);
	color: var(--text-light);
	padding: 0.75rem 1.25rem;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.3s ease;
	flex-shrink: 0;
	white-space: nowrap;
}

.btn-outline:hover {
	background: var(--glass-bg);
	border-color: var(--primary);
	transform: translateY(-1px);
}

/* Адаптивность */
@media (max-width: 768px) {
	.course-plan-card {
		flex-direction: column;
		align-items: stretch;
		gap: 1rem;
	}

	.course-plan-header {
		flex-direction: column;
		align-items: flex-start;
	}

	.course-badges {
		align-self: flex-start;
	}

	.course-plan-meta {
		flex-direction: column;
		gap: 0.5rem;
	}

	.priority-grid {
		grid-template-columns: 1fr;
	}

	.stats-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.priority-item {
		flex-direction: column;
		text-align: center;
	}
}
