.course-shell {
  max-width: 940px;
  width: min(100%, 940px);
  margin: 0 auto;
  padding: 0 20px 32px;
}

.course-hero {
  background: linear-gradient(135deg, #073b4c, #1f6f8b);
  color: #ffffff;
  border-radius: 10px;
  padding: 20px;
  margin: 10px 0 20px;
}

.course-hero h1,
.course-hero p {
  color: #ffffff;
}

.course-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.course-actions a,
.course-actions button {
  background: #f6bd60;
  color: #1f2933;
  border: none;
  text-decoration: none;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 7px;
  cursor: pointer;
}

.course-progress-track {
  width: 100%;
  height: 10px;
  background: #d0d7de;
  border-radius: 999px;
  overflow: hidden;
  margin: 10px 0;
}

.course-progress-bar {
  height: 100%;
  width: 0;
  background: #06d6a0;
  transition: width 0.2s ease-in-out;
}

.course-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 16px 0;
}

.course-card {
  border: 1px solid #d0d7de;
  border-radius: 10px;
  padding: 14px;
  background: #fbfdff;
}

.lesson-list {
  list-style: none;
  padding: 0;
}

.lesson-item {
  border: 1px solid #d8dee4;
  border-radius: 8px;
  margin: 8px 0;
  padding: 10px;
  background: #ffffff;
}

.lesson-item.is-complete {
  border-color: #2a9d8f;
  background: #f1fffb;
}

.lesson-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.lesson-meta {
  margin: 5px 0 0;
  font-size: 0.95rem;
}

.copy-block {
  position: relative;
}

.copy-code-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  padding: 5px 8px;
  background: #1f6f8b;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.reveal-box {
  background: #f1f7ff;
  border: 1px solid #bcd4f6;
  border-radius: 8px;
  padding: 10px;
  margin: 10px 0;
}

.mcq-box {
  border: 1px solid #e3e8ef;
  border-radius: 8px;
  padding: 12px;
  margin-top: 12px;
}

.mcq-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mcq-feedback {
  margin-top: 8px;
  font-weight: 700;
}

.mcq-feedback-correct {
  color: #0f766e;
}

.mcq-feedback-wrong {
  color: #9f1239;
}
