/* Course Progress Styles */
.course-progress-container {
  position: fixed;
  top: 50%;
  right: 2rem;
  transform: translateY(-50%);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  padding: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.course-progress-container:hover {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.15);
}

.circular-progress {
  position: relative;
  width: 60px;
  height: 60px;
}

.circular-progress svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.circular-progress .progress-bg {
  fill: none;
  stroke: #e5e7eb;
  stroke-width: 4;
}

.circular-progress .progress-fill {
  fill: none;
  stroke: #3b82f6;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 188.5;
  stroke-dashoffset: 188.5;
  transition: stroke-dashoffset 0.3s ease;
}

.circular-progress .progress-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 12px;
  font-weight: 600;
  color: #374151;
}

.home-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #3b82f6;
  color: white;
  border-radius: 50%;
  text-decoration: none;
  margin-top: 0.5rem;
  transition: all 0.3s ease;
}

.home-button:hover {
  background: #2563eb;
  transform: scale(1.1);
}

.home-button svg {
  width: 20px;
  height: 20px;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .course-progress-container {
    background: rgba(31, 41, 55, 0.9);
  }
  
  .course-progress-container:hover {
    background: rgba(31, 41, 55, 0.95);
  }
  
  .circular-progress .progress-bg {
    stroke: #4b5563;
  }
  
  .circular-progress .progress-text {
    color: #f3f4f6;
  }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .course-progress-container {
    right: 1rem;
    padding: 0.75rem;
  }
  
  .circular-progress {
    width: 50px;
    height: 50px;
  }
  
  .circular-progress .progress-text {
    font-size: 10px;
  }
  
  .home-button {
    width: 35px;
    height: 35px;
  }
  
  .home-button svg {
    width: 18px;
    height: 18px;
  }
} 