/**
 * Frontend Styles
 * Coach Lectures & Certificates Plugin
 */

/* Course Page Styles */
.clc-course {
	margin-bottom: 40px;
}

.clc-course .course-thumbnail {
	margin-bottom: 30px;
}

.clc-course .clc-course-instructors {
	margin: 10px 0 0;
	font-size: 0.95em;
	color: #555;
}

.clc-course-lectures {
	margin: 40px 0;
	padding: 20px;
	background: #f9f9f9;
	border-radius: 5px;
}

.clc-course-lectures h2 {
	margin-top: 0;
}

.clc-lectures-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.clc-lectures-list li {
	padding: 15px;
	margin-bottom: 10px;
	background: white;
	border-left: 4px solid #0073aa;
	border-radius: 3px;
}

.clc-lectures-list li a {
	text-decoration: none;
	font-size: 18px;
	color: #0073aa;
	font-weight: 500;
}

.clc-lectures-list li a:hover {
	color: #005177;
}

/* Certificate Section */
.clc-certificate-section {
	margin: 40px 0;
	padding: 30px;
	background: #f0f8f0;
	border: 2px solid #46b450;
	border-radius: 5px;
	text-align: center;
}

.clc-certificate-section h2 {
	margin-top: 0;
	color: #46b450;
}

.clc-download-certificate {
	display: inline-block;
	padding: 12px 24px;
	background: #0073aa;
	color: white;
	text-decoration: none;
	border-radius: 3px;
	font-weight: 500;
	margin-top: 15px;
}

.clc-download-certificate:hover {
	background: #005177;
	color: white;
}

/* Access Messages */
.clc-access-message {
	padding: 20px;
	margin: 30px 0;
	border-radius: 5px;
}

.clc-access-message.clc-login-required {
	background: #fff3cd;
	border: 2px solid #ffc107;
}

.clc-access-message.clc-no-access {
	background: #f8d7da;
	border: 2px solid #dc3545;
}

.clc-access-message .button {
	margin-top: 15px;
}

/* Lecture Page Styles */
.clc-lecture {
	margin-bottom: 40px;
}

.clc-lecture .lecture-course-link {
	margin-bottom: 20px;
}

.clc-lecture .lecture-course-link a {
	color: #0073aa;
	text-decoration: none;
}

.clc-lecture .lecture-course-link a:hover {
	text-decoration: underline;
}

/* Video Player Styles */
.clc-video-player {
	position: relative;
	width: 100%;
	padding-bottom: 56.25%; /* 16:9 aspect ratio */
	height: 0;
	margin: 30px 0;
	background: #000;
	border-radius: 5px;
	overflow: hidden;
}

.clc-video-player video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.clc-video-player.clc-video-bunny {
	position: relative;
	width: 100%;
	padding-bottom: 56.25%;
	height: 0;
}

.clc-video-player.clc-video-bunny iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* User Certificates Shortcode */
.clc-user-certificates {
	margin: 30px 0;
}

.clc-user-certificates h2 {
	margin-bottom: 20px;
}

.clc-certificates-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.clc-certificate-item {
	padding: 20px;
	margin-bottom: 20px;
	background: #f9f9f9;
	border-left: 4px solid #0073aa;
	border-radius: 3px;
}

.clc-certificate-item h3 {
	margin-top: 0;
}

.clc-cert-date,
.clc-cert-id {
	margin: 10px 0;
	color: #666;
}

/* Certificate Verification Page */
.clc-certificate-verify-page {
	max-width: 800px;
	margin: 40px auto;
	padding: 20px;
}

.clc-certificate-verify-page h1 {
	margin-bottom: 30px;
}

.clc-verification-result {
	margin-top: 40px;
	padding: 20px;
	border-radius: 5px;
}

.clc-certificate-details p {
	margin: 15px 0;
	font-size: 16px;
}
