.project-detail {
  padding: 50px 0 50px !important;
}

h2.course-title {
  font-size: 28px !important;
}

.breadcrumb-title .course-description {
  color: #fff;
  text-align: justify;
}

.project-detail .project-info li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0px !important;
  padding-bottom: 0px !important;
}

.project-detail .project-info li .icon {
  font-size: 12px !important;
  color: #ff7350;
}

.project-detail .project-info li strong,
.project-detail .project-info li span {
  font-size: 12px;
}

.project-detail .project-info li .btn {
  font-size: 12px;
  padding: 4px 10px;
}

.project-detail .project-info li.course-detail-button {
  border-bottom: none !important;
  margin-top: 10px;
}

.project-detail .info-column .inner-column3 {
  padding-bottom: 0px !important;
}

.course-lead-meta {
  margin-top: 15px;
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
}

.course-lead-rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
  color: #fff;
}

.course-lead-rating strong {
  font-size: 18px;
  font-weight: 700;
  margin-right: 8px;
}

.course-lead-rating .stars {
  color: #ffc107;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.course-lead-rating .dot {
  margin: 0 6px;
  color: rgba(255, 255, 255, 0.75);
}

.course-lead-info {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.88);
}

.course-lead-info ol {
  gap: 14px;
  padding-left: 0;
  margin: 0;
  list-style: none;
}

.course-lead-info ol li {
  gap: 10px;
  padding: 3px 0px;
}

.course-lead-info ol li.course-type {
  font-size: 14px;
  color: #fff;
}

.course-lead-rating .stars i {
  color: #ff7350;
}

.course-lead-info a {
  color: #ff7350;
  text-decoration: none;
}

.course-lead-info a:hover {
  color: #ff4f24;
  text-decoration: underline;
}

/* Price Info Centering */
.price-info {
  text-align: center;
}

/* Course Preview Video Section */
.course-preview-section {
  margin-bottom: 0px;
}

.price-info strong {
  font-size: 18px;
  font-weight: 600;
  color: #ff7350;
}

.price-info sub {
  text-decoration: line-through;
}

.preview-video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  overflow: hidden;
  border-radius: 8px 0px 0px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  cursor: pointer;
}

.preview-video-container a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

.preview-video-container:hover .video-overlay {
  background: rgba(0, 0, 0, 0.6);
}

.play-button {
  position: relative;
  z-index: 2;
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.preview-video-container:hover .play-button {
  background: #fff;
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.play-button i {
  color: #ff7350;
  font-size: 32px;
  margin-left: 4px;
}

.preview-text {
  text-align: center;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin-top: 12px;
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .course-lead-meta {
    font-size: 13px;
  }

  .course-lead-rating strong {
    font-size: 16px;
  }

  .course-lead-info {
    gap: 10px;
  }
}

.course-tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  padding: 6px;
  background: #fff;
}

.course-tab {
  background: #fff;
  color: #222;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 24px;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.course-tab:hover {
  background: #ff7350;
  color: #fff;
}

.course-tab.active {
  background: #ff7350;
  color: #fff;
}

.course-tab.active strong,
.course-tab.active {
  font-weight: 900;
}

/* course tag badges */
.course-tags {
  margin-top: 20px;
}

.about-course-tags {
  margin-top: 0px !important;
}

.course-tags .badge {
  background-color: #ff7350;
  color: #fff;
  border: 1px solid #ff7350;
  padding: 0.35rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 999px;
  display: inline-block;
  margin-right: 0.35rem;
  margin-bottom: 0.25rem;
}

.course-tags .badge:hover {
  background-color: #ff7a5d;
  border-color: #ff7a5d;
}

.course-tags .badge-tag-icon {
  font-size: 0.8rem;
  padding: 0.35rem 0.5rem;
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}

/* About Course Section Styles */
.course-header-section {
  margin-bottom: 40px;
}

.course-header-section h1.course-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a3a52;
  margin-bottom: 20px;
}

.course-header-section .course-short-description {
  font-size: 1.1rem;
  color: #666;
  font-weight: 500;
  margin-bottom: 30px;
}

.course-tags .tag-badge {
  display: inline-block;
  background-color: #ffccbf;
  color: #1a3a52;
  padding: 8px 16px;
  border-radius: 20px;
  margin-right: 10px;
  margin-bottom: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.about-course-tags .tag-badge {
  padding: 0px 10px;
  border-radius: 15px;
  font-size: 10px;
}

.course-tags .tag-badge:hover {
  background-color: #ffb3a0;
  transform: translateY(-2px);
}

.breadcrumb-nav {
  color: #999;
  font-size: 0.95rem;
  margin-bottom: 30px;
}

.about-course-breadcrumb-nav {
  margin-bottom: 0px !important;
}

.breadcrumb-nav span {
  margin: 0 5px;
}

.course-details-box {
  position: relative;
  background-color: #ff7350;
  padding: 20px 30px;
  border-radius: 8px;
  margin-bottom: 0;
}

.course-details-box h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.course-reqirment-box {
  position: relative;
  background: #ffd76a;
  border-radius: 28px;
  padding: 20px 28px;
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.course-reqirment-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.12);
}

.course-reqirment-box::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 55%;
  height: 100%;
  background: #ff681f;
  border-top-right-radius: 80px;
  border-bottom-right-radius: 80px;
  transition:
    width 0.25s ease,
    transform 0.25s ease;
}

.course-reqirment-box:hover::before {
  width: 60%;
  transform: translateX(-4px);
}

.project-detail .lower-content h3 {
  margin-bottom: 0px !important;
  font-size: 22px !important;
}

.course-reqirment-box h3 {
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.course-details-content {
  background-color: #f8f9fb;
  padding: 30px;
  border-radius: 8px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.course-details-content .course-detail-text {
  color: #333;
  line-height: 1.8;
  font-size: 1rem;
}

/* Curriculum / Course content */
.curriculum-section {
  padding-top: 16px;
}

.curriculum-summary {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
  padding: 22px 24px;
  margin-bottom: 24px;
}

.curriculum-summary-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.curriculum-summary h3 {
  margin: 0 0 8px;
  font-size: 1.4rem;
  font-weight: 700;
  color: #1f2a44;
}

.curriculum-summary-meta {
  margin: 0;
  color: #6b7280;
  font-size: 0.95rem;
}

.curriculum-collapse {
  color: #7c3aed;
  background: transparent;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  padding: 8px 18px;
  font-weight: 700;
  cursor: pointer;
}

.curriculum-summary-note {
  margin-top: 16px;
  color: #4b5563;
  font-size: 0.95rem;
  line-height: 1.6;
}

.curriculum-chapters {
  display: grid;
  gap: 16px;
}

.curriculum-chapter-card {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.chapter-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: #f9fafb;
  cursor: pointer;
}

.chapter-card-header:hover {
  background: #f3f4f6;
}

.chapter-label {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: #6b7280;
}

.chapter-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
}

.chapter-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  color: #6b7280;
  font-size: 0.95rem;
}

.chapter-classes {
  padding: 18px 24px 24px;
}

#features-content .objective-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

#features-content .objective-card {
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 24px;
  padding: 26px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

#features-content .objective-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  border-color: rgba(79, 70, 229, 0.25);
}

#features-content .objective-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

#features-content .objective-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: rgba(59, 130, 246, 0.08);
  color: #2563eb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
}

#features-content .objective-content {
  text-align: center;
}

#features-content .objective-content h4 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

#features-content .objective-content p {
  margin: 0;
  color: #475569;
  line-height: 1.8;
  font-size: 0.95rem;
}

#features-content .objective-empty-message {
  grid-column: 1 / -1;
  padding: 24px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #64748b;
  text-align: center;
}

.curriculum-chapter-card.collapsed .chapter-classes {
  display: none;
}

.chapter-class-item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 14px 0;
  border-bottom: 1px solid #edf2f7;
}

.class-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.class-description {
  width: 100%;
  padding-top: 12px;
  color: #4b5563;
  font-size: 0.95rem;
  line-height: 1.6;
  display: none;
}

.class-desc-toggle {
  background: transparent;
  border: 1px solid transparent;
  color: #4f46e5;
  cursor: pointer;
  padding: 6px 12px;
  margin-left: 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 0.85rem;
  font-weight: 600;
}

.class-desc-toggle:hover {
  background: #eef2ff;
  color: #4338ca;
}

.class-desc-toggle:focus {
  outline: none;
}

.class-desc-toggle .toggle-icon {
  display: inline-block;
  transition: transform 0.3s ease;
}

.class-desc-toggle.open .toggle-icon {
  transform: rotate(180deg);
}

.chapter-class-item:last-child {
  border-bottom: none;
}

.class-left {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
}

.class-center {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.class-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #eef2ff;
  color: #4338ca;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.class-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.class-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
}

.class-subtitle {
  margin: 0;
  font-size: 0.92rem;
  color: #6b7280;
}

.class-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  color: #4b5563;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
}

.class-preview-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #7c3aed;
  background: #f5f3ff;
  color: #7c3aed;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}

.class-preview-button:hover {
  background: #ede9fe;
}

.no-class-message,
.curriculum-empty-message {
  padding: 20px 0;
  color: #6b7280;
  font-size: 0.95rem;
}

@media (max-width: 768px) {

  .chapter-card-header,
  .chapter-classes,
  .curriculum-summary {
    padding-left: 16px;
    padding-right: 16px;
  }

  .chapter-card-header {
    flex-direction: column;
    align-items: stretch;
  }

  .chapter-meta {
    justify-content: flex-start;
  }
}

/* FAQ Section Styles */
#faq-tab {
  font-size: 1.75rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 32px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  transition: all 0.25s ease;
}

.faq-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.faq-button {
  width: 100%;
  padding: 20px 24px;
  background: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
  transition: all 0.25s ease;
}

.faq-button:hover {
  background: #f8fafc;
}

.faq-button:not(.collapsed) {
  background: #f0f9ff;
  color: #0369a1;
}

.faq-title {
  flex: 1;
  text-align: left;
  line-height: 1.4;
}

.faq-icon {
  width: 24px;
  height: 24px;
  background: #e0e7ff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  transition: all 0.25s ease;
}

.faq-icon::before {
  content: "+";
  font-weight: 700;
  color: #4f46e5;
  font-size: 1.2rem;
  line-height: 1;
}

.faq-button:not(.collapsed) .faq-icon {
  background: #c7d2fe;
}

.faq-button:not(.collapsed) .faq-icon::before {
  content: "−";
}

.faq-collapse {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-collapse.show {
  max-height: 1000px;
}

.faq-content {
  padding: 0 24px 20px;
  color: #475569;
  line-height: 1.8;
  font-size: 0.95rem;
}

/* Review & Ratings */
.review-summary-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.review-score-card,
.review-breakdown-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 28px;
}

.review-score-value {
  font-size: 3rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
}

.review-score-label {
  margin-top: 10px;
  color: #475569;
  font-size: 0.95rem;
}

.review-score-stars {
  display: flex;
  gap: 6px;
  margin: 18px 0 10px;
}

.review-score-stars i,
.review-card-stars i {
  color: #94a3b8;
  font-size: 1rem;
}

.review-score-stars i.active,
.review-card-stars i.active {
  color: #f59e0b;
}

.review-score-count {
  color: #64748b;
  font-size: 0.95rem;
}

.review-breakdown-row {
  display: grid;
  grid-template-columns: 28px 1fr 40px;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.breakdown-star {
  color: #0f172a;
  font-weight: 700;
}

.breakdown-bar {
  background: #e2e8f0;
  border-radius: 999px;
  height: 10px;
  overflow: hidden;
}

.breakdown-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #34d399, #22c55e);
}

.breakdown-count {
  color: #475569;
  font-weight: 600;
}

/* Feature Ratings - Circular Progress */
.feature-ratings-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 28px 24px;
  margin-bottom: 26px;
  text-align: center;
}

.feature-ratings-title {
  margin: 0 0 24px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
}

.feature-ratings-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.feature-rating-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.feature-rating-circle {
  position: relative;
  width: 110px;
  height: 110px;
}

.feature-rating-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.feature-ring-bg {
  fill: none;
  stroke: #e8ece8;
  stroke-width: 6;
}

.feature-ring-fill {
  fill: none;
  stroke: #4caf50;
  stroke-width: 6;
  stroke-linecap: round;
  transition: stroke-dashoffset 1s ease;
}

.feature-rating-value {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 3px;
}

.feature-rating-value span {
  font-size: 1.35rem;
  font-weight: 700;
  color: #333;
}

.feature-rating-value i {
  font-size: 0.85rem;
  color: #555;
}

.feature-rating-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #555;
}

.review-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.review-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 24px;
}

.featured-review-card {
  border-color: #34d399;
  box-shadow: 0 18px 40px rgba(56, 189, 248, 0.08);
}

.review-card-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.review-card-user {
  display: flex;
  gap: 16px;
  align-items: center;
}

.review-card-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #2563eb;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  overflow: hidden;
}

.review-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-card-user-info h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}

.review-card-user-info {
  min-width: 0;
}

.review-card-date {
  color: #64748b;
  font-size: 0.95rem;
  white-space: nowrap;
  align-self: flex-start;
}

.review-card-stars {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.review-card p {
  margin: 0;
  color: #475569;
  line-height: 1.8;
}

.review-empty-message {
  padding: 24px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 18px;
  color: #64748b;
  text-align: center;
}

@media (max-width: 991px) {
  .review-summary-grid {
    grid-template-columns: 1fr;
  }

  .review-cards {
    grid-template-columns: 1fr;
  }
}

/* Instructor Social Links */
.instructor-social-links {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  justify-content: center;
}

.instructor-social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #f1f5f9;
  color: #64748b;
  border-radius: 50%;
  transition: all 0.25s ease;
  text-decoration: none;
}

.instructor-social-links a:hover {
  background: #0f172a;
  color: #ffffff;
  transform: translateY(-2px);
}

.instructor-social-links a i {
  font-size: 1rem;
}

.about-instructor .instructor-block {
  text-align: justify;
}

.faq-empty-message {
  padding: 32px 24px;
  text-align: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  color: #64748b;
  font-size: 0.95rem;
}

.project-detail .lower-content h4 {
  margin-bottom: 0px !important;
}

/* =========================================
   Study Plan Table
   ========================================= */
.course-study-template {
  margin-top: 20px;
  margin-bottom: 10px;
}

.study-plan-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  overflow: hidden;
  font-family: 'Georgia', serif;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
}

.study-plan-table .study-plan-header {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  padding: 18px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(200, 200, 200, 0.4);
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.study-plan-table thead tr:nth-child(2) th {
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
  padding: 14px 12px;
  text-align: center;
  border: 1px solid rgba(200, 200, 200, 0.35);
  background: rgba(255, 255, 255, 0.25);
}

.study-plan-table tbody td {
  font-size: 0.95rem;
  color: #1a1a1a;
  padding: 16px 12px;
  text-align: center;
  vertical-align: middle;
  border: 1px solid rgba(200, 200, 200, 0.35);
  background: rgba(255, 255, 255, 0.2);
}

.study-plan-table tbody td strong {
  font-weight: 700;
}

@media (max-width: 768px) {
  .study-plan-table .study-plan-header {
    font-size: 1.2rem;
    padding: 14px 12px;
  }

  .study-plan-table thead tr:nth-child(2) th {
    font-size: 0.78rem;
    padding: 10px 6px;
  }

  .study-plan-table tbody td {
    font-size: 0.82rem;
    padding: 10px 6px;
  }
}

/* ── Review & Rating Feedback ── */
.review-feedback-wrap { max-width: 100%; margin: 0 auto; padding: 32px 0; }
.review-feedback-header { text-align: center; padding-bottom: 24px; }
.rfh-icon { margin-bottom: 12px; }
.review-feedback-header h4 { font-size: 1.5rem; font-weight: 800; color: #1a2a4a; margin: 0 0 8px; }
.review-feedback-header p { color: #6b7280; font-size: 0.95rem; margin: 0; }

.review-feedback-summary { display: grid; grid-template-columns: 200px 1fr; gap: 16px; border: 1px solid #e5e7eb; border-radius: 16px; padding: 24px; margin-bottom: 28px; }
.rfs-score { text-align: center; border-right: 1px solid #e5e7eb; padding-right: 20px; }
.rfs-big { font-size: 2.8rem; font-weight: 800; color: #0f172a; line-height: 1; display: block; }
.rfs-label { font-size: 0.85rem; color: #6b7280; display: block; margin: 4px 0; }
.rfs-stars { display: flex; justify-content: center; gap: 4px; margin: 8px 0 4px; }
.rfs-stars i { color: #d1d5db; font-size: 0.9rem; }
.rfs-stars i.active { color: #fbbf24; }
.rfs-count { font-size: 0.82rem; color: #9ca3af; }
.rfs-features { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.rfs-features-title { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #6b7280; margin-bottom: 14px; }
.rfs-features-row { display: flex; gap: 32px; justify-content: center; }
.rfs-feature-item { text-align: center; }
.rfs-feature-circle { position: relative; width: 70px; height: 70px; margin: 0 auto 6px; }
.rfs-feature-circle svg { display: block; }
.rfs-feature-val { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 0.85rem; font-weight: 700; color: #333; }
.rfs-feature-label { font-size: 0.82rem; font-weight: 600; color: #555; }

.review-feedback-form-block { border-top: 1px solid #e5e7eb; padding-top: 28px; }
.review-feedback-form-block h5 { font-size: 1.15rem; font-weight: 700; color: #0f172a; margin: 0 0 4px; }
.rfb-sub { color: #6b7280; font-size: 0.92rem; margin: 0 0 20px; }

.rfb-category { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid #f3f4f6; gap: 16px; }
.rfb-cat-info { display: flex; align-items: center; gap: 14px; flex: 1; }
.rfb-cat-icon { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.rfb-cat-info strong { font-size: 0.95rem; color: #0f172a; }
.rfb-cat-info small { color: #6b7280; font-size: 0.82rem; }

.rfb-rating-controls { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; min-width: 280px; }
.rfb-star-picker { display: flex; align-items: center; gap: 8px; cursor: pointer; user-select: none; }
.rfb-star { font-size: 2.6rem; color: #d1d5db; transition: color 0.15s; line-height: 1; }
.rfb-star-value { font-size: 0.9rem; font-weight: 700; color: #6b7280; min-width: 28px; text-align: center; }

.rfb-slider-wrap { width: 100%; }
.rfb-slider { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 4px; background: linear-gradient(90deg, #ef4444 0%, #f97316 25%, #eab308 50%, #22c55e 75%, #10b981 100%); outline: none; cursor: pointer; }
.rfb-slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid #4338ca; cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,0.15); transition: transform 0.15s; }
.rfb-slider::-webkit-slider-thumb:hover { transform: scale(1.2); }
.rfb-slider::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid #4338ca; cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,0.15); }
.rfb-slider-ticks { display: flex; justify-content: space-between; margin-top: 4px; padding: 0 2px; }
.rfb-tick { font-size: 0.78rem; font-weight: 600; color: #9ca3af; transition: all 0.2s; cursor: default; }
.rfb-tick[data-n="0"] { color: #ef4444; font-size: 0.85rem; font-weight: 800; }
.rfb-tick[data-n="1"] { color: #f97316; font-size: 0.88rem; font-weight: 700; }
.rfb-tick[data-n="2"] { color: #eab308; font-size: 0.90rem; font-weight: 700; }
.rfb-tick[data-n="3"] { color: #84cc16; font-size: 0.92rem; font-weight: 700; }
.rfb-tick[data-n="4"] { color: #22c55e; font-size: 0.95rem; font-weight: 800; }
.rfb-tick[data-n="5"] { color: #10b981; font-size: 1rem; font-weight: 800; }
.rfb-tick.active { transform: scale(1.25); }

.rfb-comment-block { padding-top: 20px; margin-bottom: 20px; }
.rfb-comment-block textarea { border-radius: 12px; border: 1px solid #e5e7eb; resize: vertical; }
.rfb-comment-block textarea:focus { border-color: #818cf8; box-shadow: 0 0 0 3px rgba(129,140,248,0.15); outline: none; }

.rfb-submit-btn { width: 100%; padding: 14px; border: none; border-radius: 12px; background: #4338ca; color: #fff; font-size: 1rem; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.rfb-submit-btn:hover { background: #3730a3; }
.rfb-privacy { text-align: center; color: #9ca3af; font-size: 0.82rem; margin-top: 12px; }

.review-feedback-done { text-align: center; padding: 48px 0; }
.rfd-icon { font-size: 2.5rem; margin-bottom: 12px; }
.review-feedback-done h5 { font-size: 1.2rem; font-weight: 700; color: #0f172a; }
.review-feedback-done p { color: #6b7280; }

@media (max-width: 768px) {
  .review-feedback-summary { grid-template-columns: 1fr; }
  .rfs-score { border-right: none; border-bottom: 1px solid #e5e7eb; padding: 0 0 16px; }
  .rfb-category { flex-direction: column; align-items: flex-start; }
  .rfb-rating-controls { min-width: 100%; align-items: stretch; }
}

.rfb-edit-btn { background: #eef2ff; color: #4338ca; border: none; border-radius: 8px; padding: 7px 16px; font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: all 0.2s; display: inline-flex; align-items: center; }
.rfb-edit-btn:hover { background: #e0e7ff; }


/* ── Enrollment Status Bar (Live Courses) ── */
.course-enrollment {
  margin-top: 12px;
  margin-bottom: 4px;
}

.enrollment-status-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #dee2e6;
  border-radius: 10px;
  padding: 12px 8px;
}

.enrollment-stat {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  white-space: nowrap;
}

.enrollment-stat i {
  font-size: 18px;
}

.enrollment-stat strong {
  font-weight: 700;
}

.enrollment-divider {
  width: 1px;
  height: 28px;
  background: #ced4da;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .enrollment-status-bar {
    flex-direction: column;
    gap: 8px;
    padding: 14px 12px;
  }
  .enrollment-divider {
    width: 80%;
    height: 1px;
  }
  .enrollment-stat {
    padding: 4px 0;
    font-size: 13px;
  }
}