body {
	margin: 0;
	font-family: Arial, sans-serif;
	background-color: #f9f9f9;
}

.yvs-single-video {
	background: #fff;
}

.yvs-youtube-layout .yvs-content {
	display: flex;
	gap: 2rem;
	padding: 1rem;
}

.yvs-main-video {
	flex: 3;
}

.yvs-sidebar {
	flex: 1;
}

.yvs-video-container iframe {
	width: 100%;
	aspect-ratio: 16 / 9;
}

.yvs-title {
	font-size: 1.5rem;
	margin: 0.75rem 0;
}

.yvs-subinfo {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1rem;
}

.yvs-stats {
	color: #606060;
	font-size: 0.9rem;
}

.yvs-actions {
	display: flex;
	gap: 1rem;
}

.yvs-action,
.yvs-like-button {
	border: none;
	background: #eee;
	padding: 6px 12px;
	border-radius: 4px;
	cursor: pointer;
	font-size: 0.9rem;
}

.yvs-like-button:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.yvs-channel-box {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1rem;
}

.yvs-channel-meta {
	line-height: 1.2;
}

.yvs-subscribe {
	background: #cc0000;
	color: #fff;
	border: none;
	padding: 6px 16px;
	border-radius: 20px;
	cursor: pointer;
	font-weight: bold;
}

.yvs-description-wrapper {
	background: #f1f1f1;
	border-radius: 8px;
	padding: 0.75rem;
	position: relative;
	margin-bottom: 2rem;
}

.yvs-description {
	max-height: 6em;
	overflow: hidden;
	transition: max-height 0.3s ease;
	white-space: pre-wrap;
}

.yvs-description.expanded {
	max-height: none;
}

#yvs-show-more {
	background: none;
	border: none;
	color: #065fd4;
	cursor: pointer;
	font-weight: bold;
	margin-top: 0.5rem;
}

.yvs-comments {
	margin-top: 2rem;
}

/* Related videos */
.yvs-related-video {
	display: flex;
	gap: 0.75rem;
	margin-bottom: 1rem;
}

.yvs-related-video img {
	width: 160px;
	height: 90px;
	object-fit: cover;
	transition: transform 0.2s ease;
}

.yvs-related-video:hover img {
	transform: scale(1.05);
}

.yvs-related-info {
	flex: 1;
}

.yvs-related-title-text {
	font-size: 0.95rem;
	font-weight: 500;
	color: #030303;
	margin: 0;
}

.yvs-related-meta {
	font-size: 0.8rem;
	color: #606060;
}



.yvs-archive-container {
	padding: 20px;
}
.yvs-category-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 20px;
}
.yvs-tab {
	background: #eee;
	border: none;
	padding: 10px 16px;
	cursor: pointer;
	border-radius: 20px;
}
.yvs-tab.active {
	background: #000;
	color: #fff;
}
.yvs-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
}
.yvs-video-card {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 6px;
	overflow: hidden;
	transition: transform 0.2s ease;
}
.yvs-video-card:hover {
	transform: scale(1.03);
}
.yvs-video-card img {
	width: 100%;
	display: block;
}
.yvs-video-card h3 {
	margin: 10px;
	font-size: 16px;
}
.yvs-meta {
	margin: 0 10px 10px;
	display: block;
	color: #666;
	font-size: 13px;
}



/* YouTube-style filter bar */
.yvs-category-tabs-wrapper {
	overflow-x: auto;
	white-space: nowrap;
	margin: 20px 0;
	padding: 10px 0;
	border-bottom: 1px solid #ddd;
}

.yvs-category-tabs {
	display: inline-flex;
	gap: 10px;
}

.yvs-tab {
	display: inline-block;
	padding: 8px 16px;
	border-radius: 18px;
	background-color: #f1f1f1;
	color: #111;
	text-decoration: none;
	font-size: 14px;
	white-space: nowrap;
	transition: background-color 0.3s, color 0.3s;
}

.yvs-tab:hover {
	background-color: #e2e2e2;
}

.yvs-tab.active {
	background-color: #000;
	color: #fff;
	font-weight: 600;
}

/* Modal styles */
.yvs-submit-button {
	background-color: #cc0000;
	color: #fff;
	padding: 10px 20px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 16px;
	margin: 10px 0;
}

.yvs-submit-button:hover {
	background-color: #e60000;
}

.yvs-modal-overlay {
	display: none;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.6);
	align-items: center;
	justify-content: center;
}

.yvs-modal-content {
	background-color: #fff;
	padding: 20px;
	border-radius: 6px;
	width: 90%;
	max-width: 600px;
	position: relative;
}

.yvs-close {
	position: absolute;
	top: 10px;
	right: 15px;
	font-size: 24px;
	cursor: pointer;
	color: #333;
}

.yvs-submit-wrapper {
	display: flex;
	justify-content: flex-end;
	margin: 10px 0;
}

.yvs-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-top: 20px;
}
@media (max-width: 1024px) {
	.yvs-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 600px) {
	.yvs-grid {
		grid-template-columns: 1fr;
	}
}

/* BuddyPress profile video tab */
.yvs-profile-videos {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 20px;
	margin-top: 20px;
	padding: 10px;
}

.yvs-profile-videos .yvs-video-card {
	background-color: #fff;
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 10px;
	text-align: center;
	box-shadow: 0 2px 4px rgba(0,0,0,0.05);
	transition: transform 0.2s;
}

.yvs-profile-videos .yvs-video-card:hover {
	transform: translateY(-2px);
}

.yvs-profile-videos .yvs-video-card img {
	width: 100%;
	height: auto;
	border-radius: 4px;
}

.yvs-profile-videos .yvs-video-card h4 {
	margin-top: 10px;
	font-size: 16px;
	color: #333;
}
