/* ============================================================
   CAMPUS VIRTUEL & ONLINE CLASSES STYLES (UNADH)
   ============================================================ */

.classroom-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Online Course Card */
.online-course-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 1.5rem;
  align-items: center;
  transition: all var(--transition-normal);
}

.online-course-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary-border);
}

.course-meta-top {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.5rem;
}

.course-code-pill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary);
  background-color: var(--color-primary-subtle);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
}

.live-now-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: #fee2e2;
  color: #b91c1c;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  animation: liveBlink 1.5s infinite;
}

@keyframes liveBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.course-card-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #0b1a11;
  margin-bottom: 0.35rem;
}

.course-card-prof {
  font-size: 0.85rem;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.course-card-desc {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin-bottom: 1rem;
}

/* Progress & CTA Col */
.course-card-action-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-left: 1px solid var(--color-border-light);
  padding-left: 1.5rem;
}

.course-progress-box {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.course-progress-bar {
  height: 8px;
  background-color: #f1f5f9;
  border-radius: var(--radius-full);
  overflow: hidden;
}

.course-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #008744 0%, #10b981 100%);
  border-radius: var(--radius-full);
}

/* ============================================================
   ACTIVE VIRTUAL CLASSROOM THEATRE VIEW
   ============================================================ */
.virtual-classroom-theatre {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
}

.theatre-header-bar {
  background-color: #0b1a11;
  color: #ffffff;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.theatre-video-container {
  position: relative;
  background-color: #000000;
  height: 420px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.theatre-mock-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.video-overlay-controls {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, transparent 40%, rgba(0,0,0,0.85) 100%);
}

.video-top-badges {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.video-play-center {
  align-self: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(0, 135, 68, 0.9);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  cursor: pointer;
  box-shadow: 0 0 25px rgba(0, 135, 68, 0.6);
  transition: all var(--transition-fast);
}

.video-play-center:hover {
  transform: scale(1.1);
  background: #10b981;
}

.video-bottom-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
  font-size: 0.85rem;
}

.video-progress-slider {
  width: 100%;
  height: 5px;
  background: rgba(255,255,255,0.3);
  border-radius: 4px;
  margin-bottom: 0.75rem;
  position: relative;
  cursor: pointer;
}

.video-progress-fill {
  width: 42%;
  height: 100%;
  background-color: #00a651;
  border-radius: 4px;
}

/* Live Session Alert Banner */
.live-session-alert-banner {
  background: linear-gradient(135deg, #004724 0%, #007038 100%);
  color: #ffffff;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.live-alert-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.live-pulse-icon {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #ef4444;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  animation: pulseLive 1.5s infinite;
}

@keyframes pulseLive {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* Classroom Modules & Tabs Layout */
.theatre-content-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  padding: 1.5rem;
  gap: 1.5rem;
}

.classroom-tab-nav {
  display: flex;
  gap: 0.5rem;
  border-bottom: 2px solid var(--color-border);
  margin-bottom: 1.25rem;
}

.classroom-tab-btn {
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text-muted);
  border-bottom: 3px solid transparent;
  transition: all var(--transition-fast);
}

.classroom-tab-btn.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

/* Lesson Modules List */
.modules-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.module-row-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background-color: #ffffff;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 0.875rem;
}

.module-row-item:hover {
  background-color: var(--color-surface-secondary);
  border-color: #cbd5e1;
}

.module-row-item.current-module {
  background-color: #f0fdf4;
  border-color: #86efac;
  font-weight: 700;
  color: #166534;
}

.module-check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}

.module-check-done {
  background-color: #dcfce7;
  color: #15803d;
}

.module-check-pending {
  border: 2px solid #cbd5e1;
  color: transparent;
}

/* Discussion Forum Simulator */
.forum-qa-box {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.forum-message-bubble {
  background: #f8fafc;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
}

.forum-author-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: #0b1a11;
}

/* Assignment Submit Box */
.assignment-submit-card {
  background: #f8fafc;
  border: 1.5px dashed #008744;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
}

@media (max-width: 992px) {
  .online-course-card {
    grid-template-columns: 1fr;
  }
  .course-card-action-col {
    border-left: none;
    border-top: 1px solid var(--color-border-light);
    padding-left: 0;
    padding-top: 1rem;
  }
  .theatre-content-grid {
    grid-template-columns: 1fr;
  }
  .theatre-video-container {
    height: 260px;
  }
}
