.modern-dashboard-page {
  margin: 0;
  background: #f6faf8 !important;
  font-family: "Inter", sans-serif;
  color: #101828;
}

.modern-dashboard-header {
  height: 104px;
  background: #ffffff;
  border-bottom: 1px solid #edf2ef;
  display: grid;
  grid-template-columns: 300px 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 0 44px;
  box-shadow: 0 10px 35px rgba(16, 24, 40, 0.04);
  position: sticky;
  top: 0;
  z-index: 50;
}

.dashboard-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.dashboard-brand img {
  width: 58px;
}

.dashboard-brand strong {
  display: block;
  color: #006c3e;
  font-size: 32px;
  line-height: 1;
  font-weight: 950;
}

.dashboard-brand span {
  color: #344054;
  font-size: 13px;
  font-weight: 600;
}

.dashboard-top-nav {
  display: flex;
  justify-content: center;
  gap: 42px;
}

.dashboard-top-nav a {
  color: #101828;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  padding: 38px 0;
  position: relative;
}

.dashboard-top-nav a.active,
.dashboard-top-nav a:hover {
  color: #006c3e;
}

.dashboard-top-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  height: 3px;
  border-radius: 999px;
  background: #006c3e;
}

.dashboard-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-round-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid #edf2ef;
  background: #ffffff;
  color: #101828;
  font-size: 20px;
  position: relative;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.06);
}

.header-round-btn span {
  position: absolute;
  right: 13px;
  top: 12px;
  width: 10px;
  height: 10px;
  background: #006c3e;
  border-radius: 50%;
}

.dashboard-user-menu {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 8px;
}

.dashboard-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #eaf7f0;
  color: #006c3e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.dashboard-user-menu strong {
  display: block;
  font-size: 16px;
  color: #101828;
  font-weight: 900;
}

.dashboard-user-menu span {
  display: block;
  color: #667085;
  font-size: 13px;
  font-weight: 600;
}

/* Layout */
.modern-dashboard-shell {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 34px;
  padding: 34px;
}

.modern-dashboard-sidebar {
  background: #ffffff;
  border: 1px solid #edf2ef;
  border-radius: 24px;
  min-height: calc(100vh - 172px);
  padding: 24px;
  box-shadow: 0 18px 55px rgba(16, 24, 40, 0.06);
}

.modern-dashboard-sidebar > a {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 58px;
  border-radius: 14px;
  padding: 0 18px;
  color: #344054;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  margin-bottom: 12px;
}

.modern-dashboard-sidebar > a i {
  width: 22px;
  font-size: 20px;
}

.modern-dashboard-sidebar > a.active,
.modern-dashboard-sidebar > a:hover {
  background: linear-gradient(135deg, #006c3e, #004f2d);
  color: #ffffff;
}

.sidebar-help-card {
  margin-top: 44px;
  border-radius: 20px;
  background: linear-gradient(135deg, #f1f8f4, #ffffff);
  padding: 24px;
}

.sidebar-help-card > i {
  color: #006c3e;
  font-size: 26px;
  margin-bottom: 18px;
}

.sidebar-help-card strong {
  display: block;
  color: #101828;
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 16px;
}

.sidebar-help-card p {
  color: #667085;
  line-height: 1.6;
  margin-bottom: 20px;
}

.sidebar-help-card a {
  color: #006c3e;
  font-weight: 900;
  text-decoration: none;
}

/* Content */
.modern-dashboard-content {
  min-width: 0;
}

.dashboard-welcome-card {
  min-height: 285px;
  border-radius: 24px;
  padding: 48px;
  background:
    radial-gradient(circle at 78% 30%, rgba(141, 226, 143, 0.36), transparent 24%),
    linear-gradient(135deg, #063d26 0%, #006c3e 55%, #04351f 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  box-shadow: 0 24px 65px rgba(0, 108, 62, 0.20);
  margin-bottom: 30px;
}

.dashboard-welcome-card p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  font-weight: 700;
}

.dashboard-welcome-card h1 {
  color: #ffffff;
  font-size: 42px;
  line-height: 1.12;
  letter-spacing: -1.5px;
  font-weight: 950;
  margin: 14px 0;
}

.dashboard-welcome-card h1 span {
  color: #8ee28f;
}

.welcome-line {
  width: 42px;
  height: 3px;
  background: #8ee28f;
  border-radius: 999px;
  margin: 22px 0;
}

.welcome-text {
  max-width: 440px;
  line-height: 1.7;
}

.welcome-visual {
  width: 250px;
  height: 190px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-8deg);
}

.welcome-visual i {
  color: #ffffff;
  font-size: 92px;
}

/* Stats */
.dashboard-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 28px;
}

.dashboard-stat-card {
  background: #ffffff;
  border: 1px solid #edf2ef;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 16px 45px rgba(16, 24, 40, 0.07);
}

.stat-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #eaf7f0;
  color: #006c3e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 22px;
}

.dashboard-stat-card h3 {
  color: #006c3e;
  font-size: 42px;
  font-weight: 950;
  margin: 0;
}

.dashboard-stat-card p {
  color: #667085;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
}

.dashboard-stat-card a {
  color: #006c3e;
  font-weight: 900;
  text-decoration: none;
}

/* Lower panels */
.dashboard-lower-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 22px;
}

.dashboard-panel {
  background: #ffffff;
  border: 1px solid #edf2ef;
  border-radius: 22px;
  padding: 30px;
  box-shadow: 0 16px 45px rgba(16, 24, 40, 0.06);
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.panel-header h3 {
  font-size: 20px;
  font-weight: 950;
  color: #101828;
  margin: 0;
}

.panel-header a {
  color: #006c3e;
  font-weight: 900;
  text-decoration: none;
}

.empty-learning {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: center;
}

.empty-illustration {
  height: 150px;
  border-radius: 18px;
  background: #eaf7f0;
  color: #006c3e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 58px;
}

.empty-learning h4,
.achievement-content h4 {
  color: #101828;
  font-size: 18px;
  font-weight: 950;
  margin-bottom: 8px;
}

.empty-learning p,
.achievement-content p {
  color: #667085;
  line-height: 1.6;
}

.dashboard-primary-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #006c3e;
  color: #ffffff !important;
  border-radius: 10px;
  padding: 13px 20px;
  font-weight: 900;
  text-decoration: none;
  margin-top: 8px;
}

.achievement-content {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  align-items: center;
}

.achievement-badge {
  width: 82px;
  height: 82px;
  border-radius: 22px;
  background: #eaf7f0;
  color: #006c3e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
}

.progress-line {
  height: 8px;
  border-radius: 999px;
  background: #edf2ef;
  overflow: hidden;
  margin-top: 14px;
}

.progress-line span {
  height: 100%;
  display: block;
  background: #006c3e;
}

.achievement-content strong {
  color: #006c3e;
  font-weight: 950;
  display: block;
  margin-top: 8px;
}

@media only screen and (max-width: 1200px) {
  .modern-dashboard-header {
    grid-template-columns: 260px 1fr auto;
    padding: 0 24px;
  }

  .dashboard-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dashboard-lower-grid {
    grid-template-columns: 1fr;
  }
}

@media only screen and (max-width: 991px) {
  .dashboard-top-nav,
  .dashboard-user-menu {
    display: none;
  }

  .modern-dashboard-header {
    grid-template-columns: 1fr auto;
  }

  .modern-dashboard-shell {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .modern-dashboard-sidebar {
    min-height: auto;
  }

  .dashboard-welcome-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .welcome-visual {
    display: none;
  }
}

.courses-hero-card {
  margin-bottom: 28px;
}

.courses-toolbar {
  background: #ffffff;
  border: 1px solid #edf2ef;
  border-radius: 22px;
  padding: 26px 30px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 16px 45px rgba(16, 24, 40, 0.06);
}

.courses-toolbar h3 {
  margin: 0 0 6px;
  color: #101828;
  font-size: 24px;
  font-weight: 950;
}

.courses-toolbar p {
  margin: 0;
  color: #667085;
  font-weight: 600;
}

.courses-toolbar span {
  background: #eaf7f0;
  color: #006c3e;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 900;
}

.modern-courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.modern-course-card {
  background: #ffffff;
  border: 1px solid #edf2ef;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 45px rgba(16, 24, 40, 0.07);
  transition: all 0.25s ease;
}

.modern-course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 65px rgba(16, 24, 40, 0.12);
}

.modern-course-thumb {
  display: block;
  height: 210px;
  overflow: hidden;
  background: #f6fbf8;
}

.modern-course-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modern-course-body {
  padding: 24px;
}

.course-category-pill {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: #eaf7f0;
  color: #006c3e;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 16px;
}

.modern-course-body a {
  text-decoration: none;
}

.modern-course-body h3 {
  color: #101828;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 950;
  margin-bottom: 12px;
}

.modern-course-body p {
  color: #667085;
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.modern-course-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  background: #f6fbf8;
  border-radius: 14px;
  margin-bottom: 20px;
}

.modern-course-meta span {
  color: #344054;
  font-size: 13px;
  font-weight: 800;
}

.modern-course-meta i {
  color: #006c3e;
  margin-right: 7px;
}

.modern-course-btn {
  height: 46px;
  border-radius: 12px;
  background: #006c3e;
  color: #ffffff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  font-weight: 900;
  text-decoration: none;
}

.modern-course-btn:hover {
  background: #004f2d;
}

.modern-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 34px;
}

.modern-pagination a {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #edf2ef;
  color: #344054;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  text-decoration: none;
}

.modern-pagination a.active,
.modern-pagination a:hover {
  background: #006c3e;
  color: #ffffff;
}

@media only screen and (max-width: 1200px) {
  .modern-courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media only screen and (max-width: 767px) {
  .modern-courses-grid {
    grid-template-columns: 1fr;
  }

  .courses-toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* Sidebar include fix */
.modern-dashboard-sidebar {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-user-card {
  text-align: center;
  padding: 28px 18px 30px;
  border-bottom: 1px solid #edf2ef;
  margin-bottom: 22px;
}

.sidebar-avatar {
  width: 108px;
  height: 108px;
  margin: 0 auto 18px;
  border-radius: 28px;
  background: #eaf7f0;
  color: #006c3e;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.sidebar-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-avatar i {
  font-size: 42px;
}

.sidebar-user-info h4 {
  color: #101828;
  font-size: 23px;
  font-weight: 950;
  line-height: 1.2;
  margin: 0 0 8px;
}

.sidebar-user-info span {
  color: #667085;
  font-size: 16px;
  font-weight: 800;
}

.sidebar-user-card h4 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 900;
  color: #101828;
}

.sidebar-user-card span {
  color: #667085;
  font-weight: 700;
  font-size: 13px;
}

.sidebar-menu-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-link,
.logout-link {
  display: flex !important;
  align-items: center;
  gap: 14px;
  height: 52px;
  padding: 0 16px;
  border-radius: 14px;
  color: #344054 !important;
  text-decoration: none !important;
  font-size: 15px;
  font-weight: 800;
}

.sidebar-link i,
.logout-link i {
  width: 20px;
  font-size: 18px;
}

.sidebar-link.active,
.sidebar-link:hover {
  background: linear-gradient(135deg, #006c3e, #004f2d);
  color: #ffffff !important;
}

.sidebar-section-title {
  margin: 18px 16px 6px;
  color: #98a2b3;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sidebar-footer {
  margin-top: auto;
  padding-top: 20px;
}

.logout-link {
  background: #f6fbf8;
}

.logout-link:hover {
  background: #fee4e2;
  color: #b42318 !important;
}

.profile-panel {
  padding: 34px;
}

.modern-profile-tabs {
  gap: 12px;
  margin-bottom: 28px !important;
}

.modern-profile-tabs .nav-link {
  border-radius: 999px !important;
  padding: 12px 22px !important;
  color: #344054 !important;
  background: #f6fbf8 !important;
  font-weight: 900;
}

.modern-profile-tabs .nav-link.active {
  background: #006c3e !important;
  color: #ffffff !important;
}

.profile-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 18px;
}

.profile-info-item {
  background: #f8fbf9;
  border: 1px solid #edf2ef;
  border-radius: 16px;
  padding: 18px 20px;
}

.profile-info-item span {
  display: block;
  color: #667085;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 8px;
}

.profile-info-item strong {
  color: #101828;
  font-size: 16px;
  font-weight: 900;
}

.profile-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.profile-form-field.full {
  grid-column: 1 / -1;
}

.profile-form-field label {
  display: block;
  margin-bottom: 9px;
  color: #101828;
  font-size: 14px;
  font-weight: 900;
}

.profile-form-field input,
.profile-form-field select {
  width: 100%;
  height: 56px;
  border-radius: 14px;
  border: 1px solid #d9e7df;
  padding: 0 16px;
  color: #101828;
  background: #ffffff;
}

.profile-form-field input:focus,
.profile-form-field select:focus {
  border-color: #006c3e;
  outline: none;
  box-shadow: 0 0 0 4px rgba(0, 108, 62, 0.10);
}

@media only screen and (max-width: 767px) {
  .profile-info-grid,
  .profile-form-grid {
    grid-template-columns: 1fr;
  }
}

.modern-videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.modern-video-card {
  background: #ffffff;
  border: 1px solid #edf2ef;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 45px rgba(16, 24, 40, 0.07);
  transition: all 0.25s ease;
}

.modern-video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 65px rgba(16, 24, 40, 0.12);
}

.modern-video-thumb {
  width: 100%;
  height: 220px;
  border: none;
  padding: 0;
  background: #f6fbf8;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.modern-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modern-video-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 43, 25, 0.35);
}

.modern-video-thumb span {
  position: absolute;
  inset: 0;
  margin: auto;
  z-index: 2;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #ffffff;
  color: #006c3e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.18);
}

.modern-video-body {
  padding: 24px;
}

.modern-video-body h3 {
  color: #101828;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 950;
  margin-bottom: 12px;
}

.modern-video-body p {
  color: #667085;
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 20px;
}

.modern-video-modal {
  border-radius: 22px;
  overflow: hidden;
  border: none;
}

.modern-video-modal .modal-header {
  border-bottom: 1px solid #edf2ef;
  padding: 18px 22px;
}

.modern-video-modal .modal-title {
  color: #101828;
  font-weight: 900;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #000;
}

.video-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

@media only screen and (max-width: 1200px) {
  .modern-videos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media only screen and (max-width: 767px) {
  .modern-videos-grid {
    grid-template-columns: 1fr;
  }
}

.course-detail-hero {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 26px;
  margin-bottom: 28px;
}

.course-detail-hero-content {
  min-height: 360px;
  border-radius: 24px;
  padding: 46px;
  background:
    radial-gradient(circle at 80% 24%, rgba(141, 226, 143, 0.35), transparent 24%),
    linear-gradient(135deg, #063d26 0%, #006c3e 55%, #04351f 100%);
  color: #ffffff;
  box-shadow: 0 24px 65px rgba(0, 108, 62, 0.20);
}

.course-detail-hero-content h1 {
  color: #ffffff;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.08;
  letter-spacing: -1.7px;
  font-weight: 950;
  margin: 18px 0;
}

.course-detail-hero-content p {
  max-width: 760px;
  color: rgba(255,255,255,0.82);
  font-size: 17px;
  line-height: 1.7;
}

.course-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.course-detail-meta span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.10);
  color: #ffffff;
  padding: 11px 15px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
}

.course-enroll-card {
  background: #ffffff;
  border: 1px solid #edf2ef;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 45px rgba(16, 24, 40, 0.07);
}

.course-enroll-card img,
.course-placeholder-image {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.course-placeholder-image {
  background: #eaf7f0;
  color: #006c3e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 68px;
}

.course-enroll-body {
  padding: 24px;
}

.course-enroll-body span {
  display: block;
  color: #667085;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 6px;
}

.course-enroll-body strong {
  display: block;
  color: #101828;
  font-size: 28px;
  font-weight: 950;
  margin-bottom: 20px;
}

.course-enroll-body form {
  padding: 0 !important;
  margin: 0;
}

.course-enrolled-badge {
  width: 100%;
  height: 52px;
  border-radius: 12px;
  background: #eaf7f0;
  color: #006c3e !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 950 !important;
}

.course-detail-panel {
  padding: 34px;
}

.course-info-block {
  margin-bottom: 30px;
}

.course-info-block h3,
.course-content-header h3 {
  color: #101828;
  font-size: 22px;
  font-weight: 950;
  margin-bottom: 12px;
}

.course-info-block p,
.course-overview-content,
.course-content-header p {
  color: #667085;
  font-size: 16px;
  line-height: 1.75;
}

.modern-course-accordion {
  margin-top: 24px;
}

.modern-course-accordion .accordion-item {
  border: 1px solid #edf2ef;
  border-radius: 16px !important;
  overflow: hidden;
  margin-bottom: 14px;
  background: #ffffff;
}

.modern-course-accordion .accordion-button {
  min-height: 66px;
  padding: 18px 22px;
  color: #101828;
  font-weight: 950;
  background: #f8fbf9;
  box-shadow: none !important;
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.modern-course-accordion .accordion-button:not(.collapsed) {
  background: #eaf7f0;
  color: #006c3e;
}

.modern-course-accordion .accordion-button small {
  color: #667085;
  font-weight: 800;
}

.course-module-item {
  border: 1px solid #edf2ef;
  background: #ffffff;
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 14px;
}

.course-module-item h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #101828;
  font-size: 17px;
  font-weight: 950;
  margin-bottom: 12px;
}

.course-module-item h4 i {
  color: #006c3e;
}

.course-module-item ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.course-module-item li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #344054;
  font-weight: 700;
  padding: 10px 0;
  border-top: 1px solid #edf2ef;
}

.course-module-item li i {
  color: #006c3e;
}

@media only screen and (max-width: 1100px) {
  .course-detail-hero {
    grid-template-columns: 1fr;
  }
}

.admin-course-toolbar {
  align-items: center;
}

.admin-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.admin-toolbar-actions .dashboard-primary-btn {
  margin-top: 0;
  height: 46px;
  white-space: nowrap;
}

.admin-course-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.admin-course-card {
  background: #ffffff;
  border: 1px solid #edf2ef;
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 16px 45px rgba(16, 24, 40, 0.06);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.admin-course-main {
  display: flex;
  align-items: center;
  gap: 20px;
}

.admin-course-icon {
  width: 74px;
  height: 74px;
  border-radius: 20px;
  background: #eaf7f0;
  color: #006c3e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  flex-shrink: 0;
}

.admin-course-card h3 {
  color: #101828;
  font-size: 21px;
  line-height: 1.35;
  font-weight: 950;
  margin: 12px 0;
}

.admin-course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.status-pill.open {
  background: #eaf7f0;
  color: #006c3e;
}

.status-pill.closed {
  background: #fee4e2;
  color: #b42318;
}

.admin-course-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin-course-actions form {
  margin: 0;
}

.admin-action-btn {
  height: 42px;
  border-radius: 12px;
  border: 1px solid #d9e7df;
  background: #ffffff;
  color: #344054;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.admin-action-btn:hover {
  background: #eaf7f0;
  color: #006c3e;
}

.admin-action-btn.danger {
  color: #b42318;
  border-color: #fecdca;
}

.admin-action-btn.danger:hover {
  background: #fee4e2;
  color: #b42318;
}

@media only screen and (max-width: 991px) {
  .admin-course-card {
    grid-template-columns: 1fr;
  }

  .admin-course-actions {
    justify-content: flex-start;
  }

  .admin-toolbar-actions {
    width: 100%;
    justify-content: space-between;
  }
}

@media only screen and (max-width: 575px) {
  .admin-course-main {
    align-items: flex-start;
  }

  .admin-course-icon {
    width: 58px;
    height: 58px;
    font-size: 24px;
  }

  .admin-action-btn {
    width: 100%;
  }

  .admin-course-actions,
  .admin-course-actions form {
    width: 100%;
  }
}
.course-edit-panel {
  padding: 34px;
}

.course-edit-panel .panel-header p {
  margin: 8px 0 0;
  color: #667085;
  font-weight: 600;
}

.modern-course-form {
  margin-top: 28px;
}

.modern-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.modern-form-field.full {
  grid-column: 1 / -1;
}

.modern-form-field label {
  display: block;
  margin-bottom: 10px;
  color: #101828;
  font-size: 14px;
  font-weight: 950;
}

.modern-form-field input,
.modern-form-field textarea,
.modern-form-field select,
.modern-form-field .pico select {
  width: 100%;
  min-height: 56px;
  border-radius: 14px !important;
  border: 1px solid #d9e7df !important;
  background: #ffffff !important;
  padding: 0 16px !important;
  color: #101828 !important;
  font-size: 15px;
  font-weight: 600;
  box-shadow: none !important;
}

.modern-form-field textarea {
  min-height: 140px;
  padding: 16px !important;
}

.modern-form-field input:focus,
.modern-form-field textarea:focus,
.modern-form-field select:focus {
  border-color: #006c3e !important;
  outline: none !important;
  box-shadow: 0 0 0 4px rgba(0, 108, 62, 0.10) !important;
}

.current-course-image {
  border: 1px solid #edf2ef;
  background: #f8fbf9;
  border-radius: 18px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.current-course-image img {
  width: 110px;
  height: 80px;
  object-fit: cover;
  border-radius: 14px;
}

.current-course-image strong {
  display: block;
  color: #101828;
  font-weight: 950;
  margin-bottom: 4px;
}

.current-course-image span {
  color: #667085;
  font-weight: 600;
}

.course-form-actions {
  margin-top: 28px;
  display: flex;
  gap: 14px;
  align-items: center;
}

.course-form-actions .dashboard-primary-btn {
  margin-top: 0;
  height: 48px;
}

.file-upload-with-preview {
  border-radius: 18px !important;
}

.jodit-container {
  border-radius: 16px !important;
  overflow: hidden;
  border-color: #d9e7df !important;
}

@media only screen and (max-width: 767px) {
  .modern-form-grid {
    grid-template-columns: 1fr;
  }

  .modern-form-field.full {
    grid-column: auto;
  }

  .course-form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .course-form-actions .dashboard-primary-btn,
  .course-form-actions .admin-action-btn {
    width: 100%;
  }
}

.outline-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: start;
}

.outline-main-panel {
  padding: 34px;
}

.outline-main-panel .panel-header p {
  margin: 8px 0 0;
  color: #667085;
  font-weight: 600;
}

.outline-course-cover {
  height: 260px;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 26px;
  background: #f6fbf8;
}

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

.outline-tree {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.outline-module-card {
  border: 1px solid #d9e7df;
  border-radius: 22px;
  background: #ffffff;
  overflow: hidden;
}

.outline-module-header,
.outline-topic-header,
.outline-activity-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.outline-module-header {
  padding: 22px;
  background: #f8fbf9;
}

.outline-module-header > div:first-child,
.outline-topic-header > div:first-child,
.outline-activity-item > div:first-child {
  display: flex;
  align-items: center;
  gap: 14px;
}

.outline-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.outline-icon.module {
  background: #eaf7f0;
  color: #006c3e;
}

.outline-icon.topic {
  background: #eef4ff;
  color: #3538cd;
}

.outline-icon.activity {
  background: #fef7c3;
  color: #b54708;
}

.outline-module-header small,
.outline-topic-header small {
  display: block;
  color: #667085;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: .8px;
}

.outline-module-header a,
.outline-topic-header a,
.outline-activity-item a {
  color: #101828;
  font-size: 17px;
  font-weight: 950;
  text-decoration: none;
}

.outline-topic-list {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.outline-topic-card {
  border: 1px solid #edf2ef;
  border-radius: 18px;
  background: #ffffff;
  overflow: hidden;
}

.outline-topic-header {
  padding: 18px;
  background: #ffffff;
}

.outline-activity-list {
  border-top: 1px solid #edf2ef;
  padding: 14px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.outline-activity-item {
  border: 1px solid #edf2ef;
  background: #f8fbf9;
  border-radius: 14px;
  padding: 14px;
}

.outline-activity-item a {
  font-size: 15px;
}

.outline-activity-item strong {
  display: inline-flex;
  margin-left: 8px;
  background: #eaf7f0;
  color: #006c3e;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 950;
}

.outline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.outline-actions form,
.outline-activity-item form {
  margin: 0;
}

.admin-action-btn.success {
  color: #006c3e;
  border-color: #b7e4cc;
}

.admin-action-btn.success:hover {
  background: #eaf7f0;
}

.admin-action-btn.warning {
  color: #b54708;
  border-color: #fedf89;
}

.admin-action-btn.warning:hover {
  background: #fffaeb;
}

.outline-tips-card {
  background: #ffffff;
  border: 1px solid #edf2ef;
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 16px 45px rgba(16, 24, 40, 0.06);
  position: sticky;
  top: 120px;
}

.outline-tips-card h4 {
  color: #101828;
  font-size: 20px;
  font-weight: 950;
  margin-bottom: 22px;
}

.outline-tip {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 18px;
  color: #667085;
  font-weight: 700;
  line-height: 1.55;
}

.outline-tip i {
  color: #006c3e;
  margin-top: 4px;
}

.outline-tips-card .admin-action-btn {
  width: 100%;
  margin-top: 10px;
}

@media only screen and (max-width: 1200px) {
  .outline-layout {
    grid-template-columns: 1fr;
  }

  .outline-tips-card {
    position: static;
  }
}

@media only screen and (max-width: 767px) {
  .outline-main-panel {
    padding: 22px;
  }

  .outline-module-header,
  .outline-topic-header,
  .outline-activity-item {
    align-items: flex-start;
    flex-direction: column;
  }

  .outline-actions,
  .outline-actions form,
  .outline-actions .admin-action-btn,
  .outline-activity-item form,
  .outline-activity-item .admin-action-btn {
    width: 100%;
  }

  .outline-course-cover {
    height: 190px;
  }
}

.enrolled-students-panel {
  padding: 28px;
}

.modern-students-table {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.students-table-head,
.students-table-row {
  display: grid;
  grid-template-columns: 1.3fr .8fr 1fr;
  gap: 18px;
  align-items: center;
  border-radius: 16px;
}

.students-table-head {
  padding: 16px 18px;
  background: #f6fbf8;
  color: #667085;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.students-table-row {
  padding: 18px;
  background: #ffffff;
  border: 1px solid #edf2ef;
}

.student-name-cell {
  display: flex;
  align-items: center;
  gap: 14px;
}

.student-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #eaf7f0;
  color: #006c3e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 950;
  text-transform: uppercase;
}

.student-name-cell strong {
  display: block;
  color: #101828;
  font-weight: 950;
}

.student-name-cell small,
.student-date-cell {
  color: #667085;
  font-weight: 700;
}

.student-progress-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.student-progress-bar {
  flex: 1;
  height: 10px;
  background: #edf2ef;
  border-radius: 999px;
  overflow: hidden;
}

.student-progress-bar span {
  display: block;
  height: 100%;
  background: #006c3e;
  border-radius: 999px;
}

.student-progress-cell strong {
  color: #006c3e;
  font-weight: 950;
  min-width: 45px;
}

@media only screen and (max-width: 767px) {
  .students-table-head {
    display: none;
  }

  .students-table-row {
    grid-template-columns: 1fr;
  }

  .student-progress-cell {
    width: 100%;
  }
}

.certificates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.certificate-card {
  background: #ffffff;
  border: 1px solid #edf2ef;
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 16px 45px rgba(16, 24, 40, 0.07);
}

.certificate-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: #eaf7f0;
  color: #006c3e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}

.certificate-content span {
  color: #006c3e;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .6px;
}

.certificate-content h3 {
  color: #101828;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 950;
  margin: 10px 0;
}

.certificate-content p {
  color: #667085;
  font-weight: 700;
  margin-bottom: 22px;
}

@media only screen and (max-width: 1200px) {
  .certificates-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media only screen and (max-width: 767px) {
  .certificates-grid {
    grid-template-columns: 1fr;
  }
}

.category-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.category-card {
  background: #ffffff;
  border: 1px solid #edf2ef;
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 16px 45px rgba(16, 24, 40, 0.06);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.category-main {
  display: flex;
  align-items: center;
  gap: 18px;
}

.category-icon {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: #eaf7f0;
  color: #006c3e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}

.category-main span {
  color: #006c3e;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .6px;
}

.category-main h3 {
  color: #101828;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 950;
  margin: 8px 0 0;
}

.category-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.category-actions form {
  margin: 0;
}

@media only screen and (max-width: 767px) {
  .category-card {
    grid-template-columns: 1fr;
  }

  .category-actions,
  .category-actions form,
  .category-actions .admin-action-btn {
    width: 100%;
  }
}

.category-edit-panel {
  padding: 34px;
  max-width: 820px;
}

.category-edit-panel .panel-header p {
  margin: 8px 0 0;
  color: #667085;
  font-weight: 600;
}

.modern-category-form {
  margin-top: 28px;
}

.modern-category-form .modern-form-field {
  max-width: 620px;
}

.analytics-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 24px;
  align-items: start;
}

.analytics-menu-panel,
.analytics-result-panel {
  background: #ffffff;
  border: 1px solid #edf2ef;
  border-radius: 24px;
  box-shadow: 0 16px 45px rgba(16, 24, 40, 0.06);
}

.analytics-menu-panel {
  padding: 24px;
  position: sticky;
  top: 120px;
}

.analytics-menu-header {
  margin-bottom: 22px;
}

.analytics-menu-header h3 {
  color: #101828;
  font-size: 22px;
  font-weight: 950;
  margin-bottom: 8px;
}

.analytics-menu-header p {
  color: #667085;
  font-weight: 600;
  margin: 0;
}

.analytics-menu-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.analytics-menu-item {
  width: 100%;
  min-height: 58px;
  border: 1px solid #edf2ef;
  border-radius: 16px;
  background: #f8fbf9;
  color: #344054;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  font-weight: 900;
  transition: all .2s ease;
}

.analytics-menu-item i {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #eaf7f0;
  color: #006c3e;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.analytics-menu-item:hover,
.analytics-menu-item:focus {
  background: #006c3e;
  color: #ffffff;
}

.analytics-menu-item:hover i,
.analytics-menu-item:focus i {
  background: rgba(255,255,255,.18);
  color: #ffffff;
}

.analytics-menu-item.course {
  background: #ffffff;
}

.analytics-result-panel {
  min-height: 520px;
  padding: 30px;
}

.analytics-empty-state {
  min-height: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #667085;
}

.analytics-empty-state h3 {
  color: #101828;
  font-size: 24px;
  font-weight: 950;
  margin: 18px 0 8px;
}

.analytics-empty-state p {
  max-width: 420px;
  line-height: 1.7;
  margin: 0;
}

@media only screen and (max-width: 1100px) {
  .analytics-layout {
    grid-template-columns: 1fr;
  }

  .analytics-menu-panel {
    position: static;
  }
}

.users-panel {
  padding: 28px;
}

.users-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 24px;
}

.users-search {
  flex: 1;
  max-width: 520px;
  height: 52px;
  border: 1px solid #d9e7df;
  border-radius: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  background: #ffffff;
}

.users-search i {
  color: #006c3e;
  font-size: 18px;
  flex-shrink: 0;
}

.users-search input,
.users-search input[type="text"] {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  color: #101828 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}

.users-search input::placeholder {
  color: #98a2b3;
}

.users-per-page,
.users-tools select {
  width: 95px !important;
  max-width: 95px !important;
  height: 52px !important;
  border: 1px solid #d9e7df !important;
  border-radius: 15px !important;
  padding: 0 14px !important;
  font-weight: 900 !important;
  color: #101828 !important;
  background-color: #ffffff !important;
}

@media only screen and (max-width: 767px) {
  .users-tools {
    flex-direction: column;
    align-items: stretch;
  }

  .users-search {
    max-width: 100%;
  }

  .users-per-page,
  .users-tools select {
    width: 100% !important;
    max-width: 100% !important;
  }
}

.modern-users-table {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.users-table-head,
.users-table-row {
  display: grid;
  grid-template-columns: 1.3fr 1.4fr .8fr .8fr auto;
  gap: 18px;
  align-items: center;
  border-radius: 16px;
}

.users-table-head {
  padding: 16px 18px;
  background: #f6fbf8;
  color: #667085;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.users-table-row {
  padding: 18px;
  background: #ffffff;
  border: 1px solid #edf2ef;
}

.user-name-cell {
  display: flex;
  align-items: center;
  gap: 14px;
}

.user-name-cell strong {
  display: block;
  color: #101828;
  font-weight: 950;
}

.user-name-cell small,
.user-email-cell,
.user-phone-cell,
.user-role-cell {
  color: #667085;
  font-weight: 700;
}

.users-pagination {
  margin-top: 24px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
}

.users-pagination button {
  height: 42px;
  border-radius: 12px;
  border: 1px solid #d9e7df;
  background: #ffffff;
  color: #006c3e;
  padding: 0 16px;
  font-weight: 900;
}

.users-pagination button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.users-pagination span {
  color: #344054;
  font-weight: 900;
}

@media only screen and (max-width: 991px) {
  .users-table-head {
    display: none;
  }

  .users-table-row {
    grid-template-columns: 1fr;
  }

  .users-tools {
    flex-direction: column;
  }
}

.lesson-edit-panel {
  padding: 34px;
}

.lesson-edit-panel .panel-header p {
  margin: 8px 0 0;
  color: #667085;
  font-weight: 600;
}

.modern-lesson-form {
  margin-top: 28px;
}

.modern-media-modal {
  border: 0;
  border-radius: 24px;
  overflow: hidden;
}

.modern-media-modal .modal-header {
  padding: 22px 26px;
  border-bottom: 1px solid #edf2ef;
}

.modern-media-modal .modal-title {
  color: #101828;
  font-size: 20px;
  font-weight: 950;
}

.modern-media-modal .modal-body {
  padding: 26px;
}

.choices__inner {
  min-height: 56px !important;
  border-radius: 14px !important;
  border: 1px solid #d9e7df !important;
  background: #ffffff !important;
  padding: 10px 14px !important;
}

.choices__list--multiple .choices__item {
  background: #006c3e !important;
  border-color: #006c3e !important;
  border-radius: 999px !important;
  font-weight: 800;
}

.filepond--root {
  font-family: inherit;
}

.filepond--panel-root {
  background: #f8fbf9 !important;
  border: 1px solid #d9e7df !important;
  border-radius: 18px !important;
}

.jodit-container {
  border-radius: 16px !important;
  overflow: hidden;
  border-color: #d9e7df !important;
}

.jodit-workplace {
  min-height: 420px !important;
}

@media only screen and (max-width: 767px) {
  .lesson-edit-panel {
    padding: 22px;
  }

  .jodit-workplace {
    min-height: 320px !important;
  }
}

.topic-edit-panel {
  padding: 34px;
  max-width: 920px;
}

.topic-edit-panel .panel-header p {
  margin: 8px 0 0;
  color: #667085;
  font-weight: 600;
}

.modern-topic-form {
  margin-top: 28px;
}

.modern-topic-form .modern-form-grid {
  grid-template-columns: 1.4fr .6fr;
}

@media only screen and (max-width: 767px) {
  .topic-edit-panel {
    padding: 22px;
  }

  .modern-topic-form .modern-form-grid {
    grid-template-columns: 1fr;
  }
}

.module-edit-panel {
  padding: 34px;
  max-width: 960px;
}

.module-edit-panel .panel-header p {
  margin: 8px 0 0;
  color: #667085;
  font-weight: 600;
}

.modern-module-form {
  margin-top: 28px;
}

.modern-module-form .modern-form-grid {
  grid-template-columns: 1.3fr .7fr;
}

.modern-module-form textarea {
  min-height: 170px;
}

@media only screen and (max-width: 767px) {
  .module-edit-panel {
    padding: 22px;
  }

  .modern-module-form .modern-form-grid {
    grid-template-columns: 1fr;
  }
}

.quiz-edit-panel {
  padding: 34px;
}

.quiz-edit-panel .panel-header p {
  margin: 8px 0 0;
  color: #667085;
  font-weight: 600;
}

.modern-quiz-form {
  margin-top: 28px;
}

.quiz-question-builder {
  margin-top: 34px;
  border-top: 1px solid #edf2ef;
  padding-top: 30px;
}

.quiz-builder-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.quiz-builder-header h4 {
  color: #101828;
  font-size: 22px;
  font-weight: 950;
  margin-bottom: 6px;
}

.quiz-builder-header p {
  color: #667085;
  font-weight: 600;
  margin: 0;
}

.quiz-question-card {
  background: #ffffff;
  border: 1px solid #edf2ef;
  border-radius: 22px;
  padding: 24px;
  margin-bottom: 18px;
  box-shadow: 0 12px 35px rgba(16, 24, 40, 0.05);
}

.quiz-question-card-header {
  margin-bottom: 18px;
}

.quiz-question-card-header span {
  display: inline-flex;
  background: #eaf7f0;
  color: #006c3e;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 950;
}

.quiz-question-card small {
  display: block;
  color: #667085;
  margin-top: 8px;
  font-weight: 600;
}

@media only screen and (max-width: 767px) {
  .quiz-edit-panel {
    padding: 22px;
  }

  .quiz-builder-header {
    flex-direction: column;
    align-items: stretch;
  }

  .quiz-builder-header .dashboard-primary-btn {
    width: 100%;
  }
}

/* =========================================================
   Modern Course Content
========================================================= */

.modern-course-accordion {
  margin-top: 45px;
}

.modern-course-accordion .accordion-item {
  border: none;
  border-radius: 28px !important;
  overflow: hidden;
  margin-bottom: 24px;
  background: #ffffff;
  box-shadow: 0 14px 40px rgba(16, 24, 40, 0.06);
  border: 1px solid #edf2ef;
}

.modern-course-accordion .accordion-button {
  background: #ffffff !important;
  padding: 30px 36px !important;
  box-shadow: none !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: none !important;
}

.modern-course-accordion .accordion-button:not(.collapsed) {
  background: #f8fcf9 !important;
}

.modern-course-accordion .accordion-button span {
  font-size: 24px;
  font-weight: 900;
  color: #101828;
  line-height: 1.2;
}

.modern-course-accordion .accordion-button small {
  background: #eaf7ef;
  color: #007a3d;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.modern-course-accordion .accordion-body {
  padding: 0 36px 36px !important;
  background: #f8fcf9;
}

/* =========================================================
   Topic Block
========================================================= */

.course-module-item {
  background: #ffffff;
  border-radius: 22px;
  padding: 28px;
  margin-top: 22px;
  border: 1px solid #edf2ef;
}

.course-module-item h4 {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 22px;
  font-weight: 900;
  color: #101828;
  margin-bottom: 24px;
}

.course-module-item h4 i {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #eaf7ef;
  color: #007a3d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.course-module-item ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

/* =========================================================
   Lesson Card
========================================================= */

.course-activity-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border-radius: 18px;
  background: #f8fbf9;
  color: #101828;
  font-weight: 800;
  border: 1px solid #edf2ef;
  transition: all 0.22s ease;
}

.course-activity-link:hover {
  background: #eef8f2;
  border-color: rgba(0, 122, 61, 0.18);
  color: #007a3d;
  transform: translateX(5px);
  box-shadow: 0 12px 24px rgba(0, 122, 61, 0.08);
}

.course-activity-link i {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 14px;
  background: #eaf7ef;
  color: #007a3d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.course-activity-link span {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.4;
}

/* =========================================================
   Empty State
========================================================= */

.course-empty-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  border-radius: 16px;
  background: #fff8f2;
  color: #b54708;
  font-weight: 700;
}

/* =========================================================
   Mobile
========================================================= */

@media (max-width: 768px) {

  .modern-course-accordion .accordion-button {
    padding: 24px !important;
  }

  .modern-course-accordion .accordion-button span {
    font-size: 18px;
  }

  .course-module-item {
    padding: 20px;
  }

  .course-module-item h4 {
    font-size: 18px;
  }

  .course-activity-link {
    padding: 16px;
  }

  .course-activity-link span {
    font-size: 15px;
  }
}

/* =========================================================
   Module Overview Card
========================================================= */

.module-overview-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 28px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid #edf2ef;
}

.module-overview-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.module-icon {
  width: 74px;
  height: 74px;
  border-radius: 22px;
  background: #eaf7ef;
  display: flex;
  align-items: center;
  justify-content: center;
}

.module-icon i {
  font-size: 28px;
  color: #007a3d;
}

.module-overview-text h4 {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 8px;
  color: #101828;
}

.module-overview-text p {
  margin: 0;
  color: #667085;
  font-size: 16px;
  font-weight: 600;
}

.open-module-btn {
  height: 56px;
  padding: 0 26px;
  border-radius: 16px;
  background: #007a3d;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  transition: all 0.22s ease;
}

.open-module-btn:hover {
  background: #005c2d;
  color: #ffffff;
  transform: translateY(-2px);
}

@media (max-width: 768px) {

  .module-overview-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .open-module-btn {
    width: 100%;
    justify-content: center;
  }
}

.quiz-options-textarea {
    min-height: 180px !important;
    resize: vertical !important;
    white-space: pre-wrap;
    overflow-y: auto;
    line-height: 1.7;
    padding: 20px !important;
}
