.vilt-page-wrapper {
  background: #f8fafc;
  min-height: 100vh;
}

.vilt-header-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vilt-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 20px;
}

.vilt-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.live-now {
  background: #fef2f2;
  color: #ef4444;
}

.live-now .vilt-live-dot {
  background: #ef4444;
  animation: pulse 1.2s ease-in-out infinite;
}

.live-soon {
  background: #eff6ff;
  color: #3b82f6;
}

.live-soon .vilt-live-dot {
  background: #3b82f6;
}

.live-ended {
  background: #f1f5f9;
  color: #64748b;
}

.live-ended .vilt-live-dot {
  background: #94a3b8;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

.vilt-task-id {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}

.vilt-page-title {
  font-size: 30px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.vilt-page-desc {
  font-size: 15px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
  max-width: 680px;
}

/* Session banner with gradient background */
.vilt-session-banner {
  border-radius: 16px;
  background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 40%, #c4b5fd 100%);
  height: 180px;
  display: flex;
  align-items: flex-end;
  padding: 20px 24px;
  overflow: hidden;
  position: relative;
}

.vilt-banner-date-badge {
  display: inline-flex;
  align-items: center;
  background: white;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Countdown card */
.vilt-countdown-card {
  padding: 24px 28px;
}

.vilt-countdown-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.vilt-countdown-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #94a3b8;
  margin-bottom: 12px;
}

.vilt-countdown-boxes {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vilt-countdown-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 14px;
  min-width: 64px;
}

.vilt-countdown-num {
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
}

.vilt-countdown-unit {
  font-size: 10px;
  font-weight: 600;
  color: #94a3b8;
  margin-top: 4px;
}

.vilt-countdown-sep {
  font-size: 22px;
  font-weight: 700;
  color: #94a3b8;
  margin-bottom: 16px;
}

.vilt-join-section {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.vilt-time-range {
  font-size: 14px;
  font-weight: 600;
  color: #334155;
}

.vilt-join-btn {
  padding: 13px 28px;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.vilt-btn-disabled {
  opacity: 0.5;
  cursor: not-allowed !important;
}

.vilt-btn-disabled:hover {
  background: #4f46e5 !important;
  transform: none !important;
}

.vilt-join-hint {
  font-size: 11px;
  color: #94a3b8;
  text-align: right;
}

/* Session objectives */
.vilt-objectives-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.vilt-objectives-icon {
  color: #4f46e5;
  font-size: 18px;
}

.vilt-objectives-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vilt-objective-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #334155;
  line-height: 1.5;
}

.vilt-obj-check {
  color: #4f46e5;
  font-size: 15px;
  margin-top: 1px;
  flex-shrink: 0;
}

/* Sidebar labels */
.vilt-sidebar-section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #94a3b8;
  margin-bottom: 16px;
}

/* Instructor card */
.vilt-instructor-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.vilt-instructor-avatar-wrap {
  margin-bottom: 12px;
}

.vilt-instructor-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #e2e8f0;
}

.vilt-instructor-avatar-fallback {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 30px;
}

.vilt-instructor-name {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 3px;
}

.vilt-instructor-role {
  font-size: 12px;
  color: #4f46e5;
  font-weight: 600;
  margin-bottom: 12px;
}

.vilt-instructor-bio {
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* Meeting details */
.vilt-meeting-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
}

.vilt-meeting-row:last-child {
  border-bottom: none;
}

.vilt-meeting-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.vilt-icon-link {
  background: #eff6ff;
  color: #3b82f6;
}

.vilt-icon-key {
  background: #f0fdf4;
  color: #16a34a;
}

.vilt-meeting-key {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #94a3b8;
  margin-bottom: 3px;
}

.vilt-meeting-val {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
}

.vilt-passcode {
  font-family: 'Courier New', monospace;
  letter-spacing: 0.05em;
}

/* Pre-session resources */
.vilt-resource-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
}

.vilt-resource-row:last-child {
  border-bottom: none;
}

.vilt-resource-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vilt-resource-icon {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.vilt-res-pdf {
  background: #fef2f2;
  color: #ef4444;
}

.vilt-res-doc {
  background: #eff6ff;
  color: #3b82f6;
}

.vilt-resource-name {
  font-size: 14px;
  font-weight: 500;
  color: #1e293b;
}

.vilt-resource-download-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: white;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  font-size: 13px;
}

.vilt-resource-download-btn:hover {
  border-color: #4f46e5;
  color: #4f46e5;
}

/* ──────────────────────────────────────────────
   RESPONSIVE
   ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .exam-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .exam-stat-item {
    border-bottom: 1px solid #e2e8f0;
  }

  .exam-stat-item:nth-child(even) {
    border-right: none;
  }

  .exam-main-title {
    font-size: 22px;
  }

  .course-bottom-bar {
    padding: 12px 16px;
  }

  .course-bottom-left,
  .course-bottom-right {
    gap: 8px;
  }

  .course-complete-btn {
    padding: 10px 14px;
    font-size: 13px;
  }

  .vilt-countdown-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .vilt-join-section {
    align-items: flex-start;
    width: 100%;
  }

  .vilt-join-btn {
    width: 100%;
    justify-content: center;
  }

  .vilt-page-title {
    font-size: 22px;
  }

  .vilt-session-banner {
    height: 130px;
  }

  .course-title-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .exam-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .exam-header-card {
    padding: 20px;
  }

  .exam-start-btn {
    padding: 12px 32px;
    font-size: 15px;
  }

  .vilt-countdown-box {
    min-width: 52px;
    padding: 8px 10px;
  }

  .vilt-countdown-num {
    font-size: 22px;
  }

  .course-nav-btn {
    padding: 8px 12px;
    font-size: 12px;
  }
}


.ilt-page-wrapper {
  background: #f8fafc;
  min-height: 100vh;
}

.ilt-page-title {
  font-size: 30px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  line-height: 1.2;
}

.ilt-page-desc {
  font-size: 15px;
  color: #64748b;
  line-height: 1.65;
  margin: 0;
  max-width: 680px;
}

/* Map + Venue Card */
.ilt-venue-card {
  padding: 0;
  overflow: hidden;
}

.ilt-map-container {
  width: 100%;
  height: 260px;
  background: #e2e8f0;
  position: relative;
  overflow: hidden;
}

.ilt-map-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.ilt-map-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #94a3b8;
  font-size: 14px;
  background: linear-gradient(135deg, #e8f4fd 0%, #dbeafe 100%);
}

.ilt-map-placeholder i {
  font-size: 36px;
  color: #93c5fd;
}

.ilt-venue-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  gap: 16px;
  flex-wrap: wrap;
}

.ilt-inperson-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  color: #4f46e5;
  margin-bottom: 6px;
  display: block;
}

.ilt-venue-title {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 5px;
}

.ilt-venue-address {
  font-size: 13px;
  color: #64748b;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

.ilt-pin-icon {
  color: #4f46e5;
  font-size: 12px;
}

.ilt-map-btn {
  display: flex;
  align-items: center;
  background: white;
  border: 1px solid #c7d2fe;
  border-radius: 10px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  color: #4f46e5;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.ilt-map-btn:hover {
  background: #eef2ff;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.15);
}

/* Preparation Materials */
.ilt-materials-card {
  padding: 20px;
}

.ilt-materials-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.ilt-materials-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #eef2ff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4f46e5;
  font-size: 15px;
  flex-shrink: 0;
}

.ilt-materials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.ilt-material-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fafafa;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ilt-material-item:hover {
  border-color: #c7d2fe;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.08);
}

.ilt-material-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}

.ilt-res-pdf {
  background: #fef2f2;
  color: #ef4444;
}

.ilt-res-zip {
  background: #fffbeb;
  color: #f59e0b;
}

.ilt-res-doc {
  background: #eff6ff;
  color: #3b82f6;
}

.ilt-res-default {
  background: #f1f5f9;
  color: #64748b;
}

.ilt-material-info {
  flex: 1;
  min-width: 0;
}

.ilt-material-name {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ilt-material-size {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 2px;
}

.ilt-material-download {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: white;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 13px;
  flex-shrink: 0;
  transition: color 0.2s, border-color 0.2s;
}

.ilt-material-download:hover {
  color: #4f46e5;
  border-color: #4f46e5;
}

.ilt-materials-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px;
  color: #94a3b8;
  font-size: 13px;
  grid-column: 1 / -1;
}

.ilt-materials-empty i {
  font-size: 28px;
}

/* Event Details Card */
.ilt-event-card {
  padding: 20px;
}

.ilt-event-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 18px;
}

.ilt-event-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
}

.ilt-event-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.ilt-icon-date {
  background: #eff6ff;
  color: #3b82f6;
}

.ilt-icon-time {
  background: #f0fdf4;
  color: #16a34a;
}

.ilt-icon-instructor {
  background: #f5f3ff;
  color: #7c3aed;
}

.ilt-event-label {
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 2px;
}

.ilt-event-value {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
}

/* Attendance section */
.ilt-attendance-section {
  margin-top: 18px;
}

.ilt-attendance-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.ilt-attendance-label {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
}

.ilt-attendance-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.04em;
}

.badge-pending {
  background: #fef3c7;
  color: #92400e;
}

.badge-confirmed {
  background: #dcfce7;
  color: #166534;
}

.badge-absent {
  background: #fee2e2;
  color: #991b1b;
}

.ilt-confirm-btn {
  width: 100%;
  padding: 13px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ilt-confirm-btn:disabled {
  background: #a5b4fc;
  cursor: not-allowed;
  transform: none !important;
}

.ilt-confirm-hint {
  font-size: 11px;
  color: #94a3b8;
  text-align: center;
  margin: 8px 0 0;
}

/* Instructor Sidebar Card */
.ilt-instructor-sidebar-card {
  padding: 20px;
}

.ilt-instructor-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.ilt-instructor-avatar-sm {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid #e2e8f0;
}

.ilt-instructor-avatar-sm img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ilt-avatar-fallback {
  width: 100%;
  height: 100%;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 18px;
}

.ilt-instructor-name-sm {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

.ilt-instructor-role-sm {
  font-size: 12px;
  color: #64748b;
  margin-top: 2px;
}

.ilt-contact-btn {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  font-weight: 600;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  color: #1e293b;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.ilt-contact-btn:hover {
  border-color: #4f46e5;
  color: #4f46e5;
}

/* Footer help */
.ilt-help-footer {
  text-align: center;
  margin-top: 40px;
  font-size: 14px;
  color: #64748b;
}

.ilt-help-link {
  color: #4f46e5;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s;
}

.ilt-help-link:hover {
  color: #4338ca;
  text-decoration: underline;
}


/* =========================================
   CSS VARIABLES
   ========================================= */
:root {
  --lms-primary: #4f46e5;
  --lms-primary-dark: #4338ca;
  --lms-primary-light: #eff6ff;
  --lms-bg: #f8fafc;
  --lms-surface: #ffffff;
  --lms-text-primary: #1e293b;
  --lms-text-secondary: #64748b;
  --lms-text-muted: #94a3b8;
  --lms-border: #e2e8f0;
  --lms-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --lms-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --lms-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --lms-radius: 24px;
  --lms-radius-sm: 12px;
  --status-success: #10b981;
  --status-warning: #f59e0b;
  --status-info: #3b82f6;
  --status-error: #ef4444;
}

/* =========================================
   HERO BANNER
   ========================================= */
.hero-wrapper {
  background-color: black;
  border-radius: 20px;
  padding: 0;
  margin-top: 20px;
  height: 400px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(79, 70, 229, 0.2);
  color: white;
}

.hero-image-container {
  position: absolute;
  inset: 0;
}

/* Hero overlay: module name + badge pinned to bottom */
.moduleHero-overlay-content {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  z-index: 10;
}

.moduleHero-module-name {
  font-size: 28px;
  font-weight: 800;
  color: white;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.moduleHero-badge {
  font-size: 12px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 8px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* =========================================
   SHARED CARD
   ========================================= */
.quick-access-card {
  background: white;
  border-radius: 16px;
  padding: 20px;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.module-description-text {
  font-size: 14px;
  color: var(--lms-text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* =========================================
   MODULE TASKS LIST
   ========================================= */
.tasks-container {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Individual task row */
.task-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s ease;
  min-height: 70px;
  border-radius: 0;
  /* override quick-access-card radius inside container */
  cursor: default;
}

.task-item:first-child {
  border-radius: 16px 16px 0 0;
}

.task-item:last-child {
  border-bottom: none;
  border-radius: 0 0 16px 16px;
}

.task-item:hover {
  background-color: #f9f9f9;
}

/* Task left section: icon + text */
.task-content {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 0;
}

/* Colored icon box */
.task-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: white;
  flex-shrink: 0;
}

.task-icon.video {
  background-color: #4CAF50;
}

.task-icon.pdf {
  background-color: #2196F3;
}

.task-icon.scrom {
  background-color: #FF9800;
}

.task-icon.assignment {
  background-color: #9C27B0;
}

/* Task text area */
.task-details {
  flex: 1;
  min-width: 0;
}

.task-title {
  margin: 0 0 6px 0;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.task-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.task-type-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  background-color: #f0f0f0;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.task-duration {
  font-size: 12px;
  color: #999;
}

/* =========================================
   TASK RIGHT SECTION: status + arrow
   ========================================= */
.moduleTask-right-section {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-left: 12px;
}

/* Status pill */
.task-status {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.task-status.completed {
  background-color: #e8f5e9;
  color: #2e7d32;
}

.task-status.completed i {
  color: #4caf50;
  font-size: 14px;
}

.task-status.in-progress {
  background-color: #e3f2fd;
  color: #1565c0;
}

.task-status.in-progress i {
  color: #2196f3;
  font-size: 14px;
}

.task-status.in-progress i.fa-spinner {
  animation: spin 1s linear infinite;
}

.task-status.not-started {
  background-color: #e9e9ea;
  color: #555;
}

.task-status.not-started i {
  color: #888;
  font-size: 14px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.status-text {
  margin-left: 2px;
}

/* Arrow button */
.moduleTask-arrow-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #c7d2fe;
  background: #eef2ff;
  color: #4f46e5;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
  padding: 0;
  outline: none;
}

.moduleTask-arrow-btn:hover {
  background: #4f46e5;
  color: white;
  border-color: #4f46e5;
  transform: translateX(3px);
}

.moduleTask-arrow-btn i {
  font-size: 13px;
  line-height: 1;
}

/* =========================================
   QUICK INFO SIDEBAR
   ========================================= */
.quickInfo-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
}

.quickInfo-item:last-child {
  border-bottom: none;
}

.quickInfo-icon {
  font-size: 18px;
  color: #4f46e5;
  margin-top: 2px;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.quickInfo-item label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
  cursor: default;
}

.quickInfo-item span {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
}

/* =========================================
   SHARED HEADING STYLE
   ========================================= */
.userSubHead {
  font-size: 16px;
  font-weight: 700;
  color: var(--lms-text-primary);
  margin-bottom: 16px;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
  .task-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
  }

  .task-content {
    width: 100%;
  }

  .moduleTask-right-section {
    width: 100%;
    justify-content: flex-start;
    margin-left: 0;
  }

  .hero-wrapper {
    height: 260px;
  }

  .moduleHero-module-name {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .task-icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .task-title {
    font-size: 13px;
  }

  .task-duration {
    font-size: 11px;
  }

  .task-status {
    font-size: 11px;
    padding: 5px 10px;
  }
}

.quick-access-card-scroll {
  max-height: 350px;
  /* adjust height as needed */
  overflow-y: auto;
  overflow-x: hidden;
}