/**
 * ---
 * Project      : Coding Campus Platform
 * Module       : Static / Css
 * File         : dashboard_course_lesson_entry.css
 *
 * Description  : Project css source for Dashboard Course Lesson Entry.
 *
 * Author       : Jihun Kang
 * Organization : Coding Campus / OrbiSync
 * Contact      : makers.dev.ci@gmail.com
 *
 * Copyright (c) 2026 Jihun Kang. All rights reserved.
 * ---
 */
.dashboard-lesson-choice-modal {
  position: fixed;
  inset: 0;
  z-index: 11000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(15, 23, 42, 0.55);
}

.dashboard-lesson-choice-modal[hidden] {
  display: none !important;
}

.dashboard-lesson-choice-modal__panel {
  width: min(100%, 420px);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.18);
  padding: 1.5rem;
}

.dashboard-lesson-choice-modal__title {
  margin: 0 0 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
}

.dashboard-lesson-choice-modal__body {
  margin: 0 0 1.25rem;
  color: #475569;
  line-height: 1.5;
}

.dashboard-lesson-choice-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.dashboard-lesson-choice-modal__btn {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}

.dashboard-lesson-choice-modal__btn--primary {
  background: #2563eb;
  color: #fff;
}

.dashboard-lesson-choice-modal__btn--secondary {
  background: #f1f5f9;
  color: #0f172a;
}

body.dashboard-lesson-choice-modal-open {
  overflow: hidden;
}

/* Player shell: keep LESSON sidebar clickable while choice modal is open */
.ai-player-shell > .dashboard-lesson-choice-modal {
  left: var(--player-sidebar-width, 280px);
  right: 0;
  top: 0;
  bottom: 0;
  width: auto;
  pointer-events: none;
}

.ai-player-shell > .dashboard-lesson-choice-modal .dashboard-lesson-choice-modal__panel {
  pointer-events: auto;
}

.ai-player-shell.is-mobile-layout > .dashboard-lesson-choice-modal {
  left: 0;
  pointer-events: auto;
}
