/* CE Manager Public Styles */
.ce-courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.ce-course-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ce-course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.ce-course-image {
    height: 200px;
    overflow: hidden;
}

.ce-course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ce-course-card:hover .ce-course-image img {
    transform: scale(1.05);
}

.ce-course-content {
    padding: 20px;
}

.ce-course-title {
    font-size: 18px;
    margin: 0 0 10px;
}

.ce-course-title a {
    color: #2c3e50;
    text-decoration: none;
}

.ce-course-title a:hover {
    color: #3498db;
}

.ce-course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #666;
}

.ce-course-meta i {
    margin-left: 5px;
    width: 14px;
}

.ce-status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.ce-status-upcoming { background: #ffc107; color: #856404; }
.ce-status-ongoing { background: #28a745; color: #fff; }
.ce-status-completed { background: #17a2b8; color: #fff; }
.ce-status-cancelled { background: #dc3545; color: #fff; }

.ce-course-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.ce-btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.ce-btn-primary {
    background: #3498db;
    color: #fff;
}

.ce-btn-primary:hover {
    background: #2980b9;
    color: #fff;
}

.ce-btn-success {
    background: #28a745;
    color: #fff;
}

.ce-btn-success:hover {
    background: #218838;
    color: #fff;
}

.ce-btn-outline {
    background: transparent;
    border: 1px solid #3498db;
    color: #3498db;
}

.ce-btn-outline:hover {
    background: #3498db;
    color: #fff;
}

.ce-free {
    color: #28a745;
}

.ce-fee {
    color: #dc3545;
}

.ce-no-courses {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    margin: 30px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .ce-courses-grid {
        grid-template-columns: 1fr;
    }
}