/* Public CSS for SmartLearn LMS */
.slms-course-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 20px;
}
.slms-course-card {
	border: 1px solid #eee;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.slms-course-thumb img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	display: block;
}
.slms-course-info {
	padding: 20px;
}
.slms-course-info h3 {
	margin-top: 0;
}
.slms-btn {
	display: inline-block;
	padding: 10px 20px;
	background: #2271b1;
	color: #fff;
	text-decoration: none;
	border-radius: 4px;
	border: none;
	cursor: pointer;
}
.slms-btn:hover {
	background: #135e96;
}
.slms-btn-success {
	background: #46b450;
}
.slms-progress-bar {
	background: #eee;
	border-radius: 10px;
	height: 10px;
	margin: 15px 0 5px;
	overflow: hidden;
}
.slms-progress-fill {
	background: #46b450;
	height: 100%;
}
.slms-badge {
	display: inline-block;
	padding: 3px 8px;
	border-radius: 12px;
	font-size: 12px;
	font-weight: bold;
}
.slms-badge-success {
	background: #d4edda;
	color: #155724;
}
.slms-badge-error {
	background: #f8d7da;
	color: #721c24;
}
.slms-alert {
	padding: 15px;
	border-radius: 4px;
	margin-bottom: 20px;
}
.slms-alert-warning {
	background: #fff3cd;
	color: #856404;
	border: 1px solid #ffeeba;
}
.slms-alert-error {
	background: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}
.slms-alert-success {
	background: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}
.slms-video-wrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	height: 0;
	margin-bottom: 20px;
}
.slms-video-wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.slms-table {
	width: 100%;
	border-collapse: collapse;
}
.slms-table th, .slms-table td {
	border: 1px solid #ddd;
	padding: 8px;
	text-align: left;
}
