/*
  File: student.css
  Purpose: Student-specific styles for MathTuro LMS
  Used by: All student pages
*/

/* ============================================
   STUDENT SIDEBAR
   ============================================ */
.sidebar-link:hover, 
.sidebar-link.active {
  background: linear-gradient(135deg, #005801 0%, #16a34a 100%);
  color: white;
}

.sidebar-link.active {
  box-shadow: 0 4px 15px rgba(0, 88, 1, 0.3);
}

/* ============================================
   STUDENT CARDS
   ============================================ */
.module-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.module-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -12px rgba(0, 88, 1, 0.15);
}

.stat-card:hover {
  box-shadow: 0 20px 40px -12px rgba(0, 88, 1, 0.15);
}

/* ============================================
   STUDENT PROGRESS
   ============================================ */
.progress-bar {
  background: linear-gradient(90deg, #005801 0%, #22c55e 100%);
  border-radius: 9999px;
  height: 100%;
  transition: width 0.5s ease;
}

.lesson-item {
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.lesson-item:hover {
  background: rgba(0, 88, 1, 0.05);
  border-left-color: #005801;
}

.lesson-item.completed {
  border-left-color: #22c55e;
}

/* ============================================
   ACTIVITY ITEMS
   ============================================ */
.activity-item {
  transition: all 0.2s ease;
}

.activity-item:hover {
  background: rgba(0, 88, 1, 0.05);
}

/* ============================================
   QUIZ SUBMISSION
   ============================================ */
.quiz-status-pending {
  background: #fef3c7;
  color: #92400e;
}

.quiz-status-approved {
  background: #dcfce7;
  color: #166534;
}

.quiz-status-rejected {
  background: #fee2e2;
  color: #991b1b;
}

/* ============================================
   STUDENT BADGES
   ============================================ */
.badge-student {
  background: linear-gradient(135deg, #005801 0%, #22c55e 100%);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* ============================================
   STUDENT CUSTOM SCROLLBAR
   ============================================ */
::-webkit-scrollbar-thumb { 
  background: #005801; 
}
::-webkit-scrollbar-thumb:hover { 
  background: #004601; 
}
