/*
 * Gurucharanam Video Course Player - scoped under .gvc-wrap / .gvc-player-overlay.
 * Customize via the variables below (e.g. in Additional CSS):
 *   .gvc-wrap { --gvc-primary: #123456; }
 */
.gvc-wrap {
	--gvc-primary: #2b1a7a;
	--gvc-accent: #e9513b;
	--gvc-text: #1f2433;
	--gvc-muted: #6b7280;
	--gvc-border: #e6e8ef;
	--gvc-row-bg: #eef7ef;
	--gvc-radius: 12px;
	--gvc-font: 'Reddit Sans', -apple-system, 'Segoe UI', Roboto, 'Noto Sans Devanagari', Arial, sans-serif;
	display: grid;
	grid-template-columns: 300px minmax(0, 1fr);
	gap: 28px;
	align-items: start;
	color: var(--gvc-text);
	font-family: var(--gvc-font);
}
.gvc-wrap *,
.gvc-wrap *::before,
.gvc-wrap *::after { box-sizing: border-box; font-family: var(--gvc-font); }

/* Sidebar */
.gvc-sidebar { min-width: 0; }
.gvc-banner { border-radius: var(--gvc-radius); overflow: hidden; margin-bottom: 18px; }
.gvc-banner img { width: 100%; height: auto; display: block; }
.gvc-title { margin: 0 0 12px; font-size: 22px; font-weight: 700; line-height: 1.3; }
.gvc-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px;
	border-radius: 20px;
	background: #fdeec2;
	color: #7a5b06;
	font-size: 14px;
	font-weight: 600;
}
.gvc-highlights, .gvc-description { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--gvc-border); }
.gvc-highlights h3, .gvc-description h3 { margin: 0 0 10px; font-size: 16px; font-weight: 700; }
.gvc-highlights ul { list-style: none; margin: 0; padding: 0; }
.gvc-highlights li { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 8px; font-size: 14px; color: #92722a; }
.gvc-star { color: #e0a814; flex: none; line-height: 1.4; }
.gvc-description p { margin: 0; font-size: 14px; color: var(--gvc-muted); line-height: 1.6; }

/* Main column */
.gvc-main { min-width: 0; }
.gvc-search {
	position: relative;
	margin-bottom: 18px;
}
.gvc-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--gvc-accent); pointer-events: none; }
.gvc-search-input {
	width: 100%;
	height: 50px;
	margin: 0;
	padding: 0 18px 0 46px;
	border: 1px solid var(--gvc-border);
	border-radius: 25px;
	background: #fff;
	font-size: 15px;
	color: var(--gvc-text);
	box-shadow: 0 1px 4px rgba(0, 0, 0, .06);
}
.gvc-search-input:focus { outline: 2px solid var(--gvc-accent); outline-offset: 0; }

.gvc-list { display: flex; flex-direction: column; gap: 10px; max-height: 640px; overflow-y: auto; padding-right: 4px; }
.gvc-empty, .gvc-no-match { padding: 24px 0; text-align: center; color: var(--gvc-muted); }

.gvc-item {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 10px 18px 10px 10px;
	border-radius: 10px;
	background: var(--gvc-row-bg);
}
.gvc-thumb {
	position: relative;
	flex: none;
	width: 90px;
	height: 56px;
	border-radius: 6px;
	overflow: hidden;
	background: var(--gvc-primary);
}
.gvc-thumb-tag {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	padding: 3px 5px;
	background: rgba(20, 14, 60, .72);
	color: #fff;
	font-size: 8px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: .02em;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.gvc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gvc-thumb-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--gvc-primary), #4a2fb8);
}
.gvc-info { flex: 1; min-width: 0; }
.gvc-item-title { font-weight: 600; font-size: 15px; line-height: 1.35; }
.gvc-duration {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 4px;
	color: var(--gvc-accent);
	font-size: 13px;
	font-weight: 500;
}
.gvc-play {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 0;
	border-radius: 50%;
	background: #e02020;
	color: #fff;
	cursor: pointer;
}
.gvc-play:hover:not(:disabled) { opacity: .9; }
.gvc-play:disabled, .gvc-play.is-empty { background: #b9bcc2; cursor: not-allowed; }

.gvc-notice { padding: 12px 16px; border: 1px solid var(--gvc-accent); border-radius: 8px; }

/* "View Videos" popup: shows one course's chapter-wise video list without leaving the page */
.gvc-course-overlay {
	position: fixed;
	inset: 0;
	z-index: 999998;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(17, 12, 46, .6);
	font-family: var(--gvc-font, 'Reddit Sans', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif);
}
.gvc-course-overlay[hidden] { display: none !important; }
.gvc-course-box {
	position: relative;
	width: 100%;
	max-width: 1100px;
	max-height: 92vh;
	display: flex;
	flex-direction: column;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 24px 60px rgba(0, 0, 0, .3);
	overflow: hidden;
}
.gvc-course-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 20px;
	border-bottom: 1px solid var(--gvc-border, #e6e8ef);
	flex: none;
}
.gvc-course-title { margin: 0; font-size: 18px; font-weight: 700; color: var(--gvc-text, #1f2433); }
.gvc-course-close {
	flex: none;
	width: 36px;
	height: 36px;
	border: 0;
	background: var(--gvc-row-bg, #eef7ef);
	border-radius: 50%;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	color: var(--gvc-text, #1f2433);
}
.gvc-course-body { padding: 20px; overflow-y: auto; }
.gvc-course-body .gvc-wrap { grid-template-columns: 260px minmax(0, 1fr); }
.gvc-course-body .gvc-list { max-height: 60vh; }
.gvc-course-login-msg { padding: 60px 20px; text-align: center; color: var(--gvc-muted, #6b7280); font-size: 15px; }
.gvc-course-login-link { color: var(--gvc-primary, #2b1a7a); font-weight: 700; text-decoration: underline; }

@media (max-width: 900px) {
	.gvc-course-body .gvc-wrap { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
	.gvc-course-overlay { padding: 0; align-items: flex-end; }
	.gvc-course-box { max-height: 94vh; border-radius: 16px 16px 0 0; }
}

/* Player modal */
.gvc-player-overlay {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(10, 8, 30, .75);
	font-family: var(--gvc-font);
}
.gvc-player-overlay[hidden] { display: none !important; }
.gvc-player-box {
	position: relative;
	width: 100%;
	max-width: 900px;
	border-radius: 14px;
	background: #000;
	padding: 46px 0 0;
	overflow: hidden;
}
.gvc-player-title {
	position: absolute;
	top: 0;
	left: 0;
	right: 46px;
	margin: 0;
	padding: 12px 16px;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.gvc-player-close {
	position: absolute;
	top: 0;
	right: 0;
	width: 46px;
	height: 46px;
	border: 0;
	background: none;
	color: #fff;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
}
.gvc-player-body { position: relative; width: 100%; min-height: 200px; background: #000; display: flex; align-items: center; justify-content: center; }
.gvc-player-stage { position: relative; width: 100%; }
.gvc-player-stage .plyr { --plyr-color-main: var(--gvc-accent, #e9513b); border-radius: 0 0 14px 14px; }
.gvc-player-stage video,
.gvc-player-stage .plyr__video-embed { aspect-ratio: 16 / 9; }
.gvc-watermark {
	position: absolute;
	top: 14px;
	left: 16px;
	z-index: 6;
	color: rgba(255, 255, 255, .85);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	text-shadow: 0 1px 3px rgba(0, 0, 0, .6);
	pointer-events: none;
}
.gvc-player-msg { padding: 20px; color: #fff; text-align: center; font-size: 15px; }
.gvc-player-msg a { color: #ffd166; font-weight: 600; }
.gvc-player-loading { color: #fff; font-size: 14px; padding: 60px 0; }
body.gvc-lock { overflow: hidden; }

/* Video courses listing page ([gcf_video_courses_list]) */
.gvc-list-wrap {
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr);
	gap: 28px;
	align-items: start;
	font-family: var(--gvc-font, 'Reddit Sans', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif);
}
.gvc-list-sidebar { min-width: 0; }
.gvc-list-fgroup { border: 0; margin: 0 0 26px; padding: 0 0 22px; border-bottom: 1px solid var(--gvc-border, #e6e8ef); }
.gvc-list-fgroup legend { padding: 0; margin-bottom: 12px; font-size: 17px; font-weight: 700; color: var(--gvc-text, #1f2433); }
.gvc-list-fopt { display: flex; align-items: center; gap: 10px; padding: 5px 0; cursor: pointer; font-size: 14px; }
.gvc-list-fopt input { width: 17px; height: 17px; margin: 0; accent-color: var(--gvc-primary, #2b1a7a); }
.gvc-list-clear {
	padding: 9px 16px;
	border: 1px solid var(--gvc-border, #e6e8ef);
	border-radius: 8px;
	background: #fff;
	font-size: 13px;
	cursor: pointer;
	color: var(--gvc-text, #1f2433);
}
.gvc-list-main { min-width: 0; }
.gvc-list-no-match { padding: 40px 0; text-align: center; color: var(--gvc-muted, #6b7280); }
.gvc-list-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 24px;
}
.gvc-list-empty { padding: 40px 0; text-align: center; color: var(--gvc-muted, #6b7280); }
.gvc-list-more-wrap { margin-top: 28px; text-align: center; }
.gvc-list-more {
	padding: 11px 34px;
	border: 1px solid var(--gvc-primary, #2b1a7a);
	border-radius: 8px;
	background: var(--gvc-primary, #2b1a7a);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}
.gvc-list-more:hover { opacity: .9; }

@media (max-width: 800px) {
	.gvc-list-wrap { grid-template-columns: minmax(0, 1fr); }
	.gvc-list-fgroup { padding-bottom: 16px; }
}
.gvc-list-card { display: flex; flex-direction: column; background: #fff; border-radius: 12px; overflow: hidden; }
.gvc-list-thumb { display: block; aspect-ratio: 16 / 10; background: var(--gvc-primary, #2b1a7a); }
.gvc-list-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gvc-list-thumb-empty { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--gvc-primary, #2b1a7a), #4a2fb8); }
.gvc-list-body { padding: 14px 4px 4px; }
.gvc-list-title { margin: 0 0 6px; font-size: 17px; line-height: 1.35; }
.gvc-list-title a { color: inherit; text-decoration: none; }
.gvc-list-meta { color: var(--gvc-accent, #e9513b); font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.gvc-list-owned { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; color: #12805c; font-size: 13px; font-weight: 600; }
.gvc-list-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid var(--gvc-border, #e6e8ef); }
.gvc-list-price { font-size: 16px; }
.gvc-list-price del { margin-right: 6px; color: var(--gvc-muted, #6b7280); font-size: 13px; }
.gvc-list-btn { padding: 9px 16px; border-radius: 8px; background: var(--gvc-primary, #2b1a7a); color: #fff; font-size: 13px; font-weight: 600; text-decoration: none; }
.gvc-list-btn:hover { opacity: .9; color: #fff; }

/* Tablet / mobile */
@media (max-width: 900px) {
	.gvc-wrap { grid-template-columns: minmax(0, 1fr); }
	.gvc-list { max-height: none; overflow: visible; }
}
@media (max-width: 480px) {
	.gvc-item { padding: 8px; gap: 10px; }
	.gvc-thumb { width: 70px; height: 44px; }
	.gvc-item-title { font-size: 14px; }
}
