/* Campus Progress - Dashboard Styles */

.campus-progress-dashboard {
  padding: 30px 0;
}

.dashboard-header {
  margin-bottom: 30px;
}

.dashboard-header h1 {
  margin-bottom: 5px;
}

.dashboard-subtitle {
  color: #666;
  font-size: 16px;
}

/* Course Progress Card */
.dashboard-course-item {
  margin-bottom: 30px;
}

.course-progress-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.course-progress-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.course-card-image {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.course-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-card-progress-overlay {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
}

.course-card-body {
  padding: 16px;
}

.course-card-title {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.3;
}

.course-card-title a {
  color: #333;
  text-decoration: none;
}

.course-card-title a:hover {
  color: #0073e6;
}

.course-card-stats {
  margin-bottom: 12px;
  font-size: 13px;
  color: #777;
}

.course-card-stats i {
  margin-right: 5px;
}

/* Progress Bar */
.course-progress-bar {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.progress-bar-track {
  flex: 1;
  height: 8px;
  background: #e9ecef;
  border-radius: 4px;
  overflow: hidden;
  margin-right: 10px;
}

.progress-bar-fill {
  height: 100%;
  background: #0073e6;
  border-radius: 4px;
  transition: width 0.3s;
}

.progress-bar-fill.progress-complete {
  background: #28a745;
}

.progress-label {
  font-size: 13px;
  font-weight: 600;
  color: #555;
  min-width: 35px;
  text-align: right;
}

/* Actions */
.course-card-actions {
  text-align: right;
}

.course-card-actions .btn-theme {
  padding: 6px 16px;
  font-size: 13px;
}

/* Empty State */
.dashboard-empty {
  padding: 60px 20px;
  text-align: center;
}

.empty-state i {
  color: #ccc;
  margin-bottom: 20px;
}

.empty-state h3 {
  color: #555;
  margin-bottom: 10px;
}

.empty-state p {
  color: #888;
  margin-bottom: 20px;
}

/* Mini Progress Bar for Views (inline in lesson lists) */
.lesson-progress {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  margin-left: 10px;
}

.lesson-completed {
  color: #28a745;
}

.lesson-completed i {
  margin-right: 4px;
}

.lesson-in-progress {
  color: #555;
}

.progress-bar-mini {
  display: inline-block;
  width: 60px;
  height: 4px;
  background: #e9ecef;
  border-radius: 2px;
  overflow: hidden;
  margin-right: 6px;
  vertical-align: middle;
}

.progress-bar-mini .progress-fill {
  display: block;
  height: 100%;
  background: #0073e6;
  border-radius: 2px;
}
