/* ============================================
   COURSE SECTION STYLES
   ============================================ */

/* CSS Variables */
:root { 
  --header-height: 60px; 
  --sidebar-width: 350px; 
  --primary-color: #007bff;
  --primary-light: #4da3ff;
  --primary-dark: #0056b3;
  --primary-ultra-light: #e6f3ff;
  --secondary-color: #6c757d;
  --success-color: #007bff;
  --warning-color: #007bff;
  --danger-color: #0056b3;
  --info-color: #007bff;
  --light-color: #f8f9fa;
  --lighter-color: #ffffff;
  --dark-color: #2c3e50;
  --text-muted: #6c757d;
  --text-dark: #2c3e50;
  --border-radius: 8px;
  --box-shadow: 0 2px 15px rgba(0, 123, 255, 0.08);
  --box-shadow-hover: 0 4px 25px rgba(0, 123, 255, 0.15);
  --transition: all 0.3s ease;
}

/* Base Styles */
html, body {
  height: 100%;
}

body {
  user-select: none;
  -webkit-user-select: none;
  color: var(--text-dark);
  font-family: 'Open Sans', sans-serif;
}

/* ============================================
   COURSE LAYOUT
   ============================================ */

.course-layout {
  padding: 0;
  margin: 0;
}

.course-wrapper {
  display: flex;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* ============================================
   MAIN CONTENT STYLING
   ============================================ */

.course-content {
  flex: 1;
  min-width: 0;
  padding: 30px 40px;
  box-sizing: border-box;
  overflow-y: auto;
  background: white;
}

.course-content .content {
  font-size: 1.05rem;
  line-height: 1.8;
}

.course-hero {
  height: 40px;
  background: white;
  background-size: cover;
  background-position: center;
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
}

/* ============================================
   COURSE SECTIONS
   ============================================ */

.course-section {
  margin-bottom: 50px;
  scroll-margin-top: 80px;
}

/* ============================================
   SIDEBAR STYLING
   ============================================ */

.course-sidebar {
  width: var(--sidebar-width);
  position: relative;
  left: 0;
  height: 100%;
  padding: 20px;
  box-sizing: border-box;
  background: white;
  overflow-y: auto;
  margin-top: calc(var(--header-height) + 10px);
  border-right: 1px solid #e9ecef;
  transition: var(--transition);
}

.course-sidebar.collapsed {
  width: 50px;
  padding: 10px 5px;
  overflow: hidden;
}

.course-sidebar.collapsed .card-body {
  padding: 10px 0;
}

.course-sidebar.collapsed .card-title {
  display: none;
}

.course-sidebar.collapsed .course-progress {
  display: none;
}

.course-sidebar.collapsed .course-menu {
  display: none;
}

.course-sidebar.collapsed {
  display: none;
}

.course-sidebar.collapsed .sidebar-header {
  justify-content: center;
  margin-bottom: 0;
}

.course-sidebar.collapsed .sidebar-toggle {
  background: white;
  color: var(--primary-color);
}

.course-sidebar .card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: none;
  box-shadow: none;
}

.course-sidebar .card-body {
  overflow: auto;
  flex: 1 1 auto;
  padding: 20px 0;
}

.course-sidebar .card-title {
  color: var(--dark-color);
  font-weight: 600;
  margin-bottom: 0;
  font-size: 1.1rem;
}

/* ============================================
   TOGGLE BUTTON
   ============================================ */

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

.sidebar-toggle {
  background: transparent;
  color: var(--secondary-color);
  border: none;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  border-radius: 4px;
  transition: var(--transition);
}

.sidebar-toggle:hover {
  background: white;
  color: var(--primary-color);
}

.sidebar-toggle:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

/* ============================================
   COURSE MENU STYLING
   ============================================ */

.course-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-item {
  margin-bottom: 8px;
}

.menu-link {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  border-radius: var(--border-radius);
  text-decoration: none;
  color: var(--dark-color);
  transition: var(--transition);
  border: 1px solid transparent;
}

.menu-link:hover {
  background: white;
  border-color: var(--primary-color);
  text-decoration: none;
  color: var(--primary-color);
  transform: translateX(2px);
}

.menu-link.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.menu-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  margin-right: 12px;
  font-size: 16px;
  color: var(--primary-color);
  transition: var(--transition);
}

.menu-link:hover .menu-icon {
  background: var(--primary-color);
  color: white;
}

.menu-link.active .menu-icon {
  background: white;
  color: var(--primary-color);
}

.menu-content {
  flex: 1;
}

.menu-number {
  font-size: 11px;
  color: var(--secondary-color);
  font-weight: 600;
  text-transform: uppercase;
  display: block;
  margin-bottom: 2px;
}

.menu-title {
  font-weight: 600;
  color: var(--dark-color);
  display: block;
  margin-bottom: 2px;
}

.menu-subtitle {
  font-size: 12px;
  color: var(--secondary-color);
}

.menu-link:hover .menu-number,
.menu-link:hover .menu-title,
.menu-link:hover .menu-subtitle {
  color: var(--primary-color);
}

.menu-link.active .menu-number,
.menu-link.active .menu-title,
.menu-link.active .menu-subtitle {
  color: white;
}

.menu-status {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-status i {
  font-size: 12px;
  color: var(--secondary-color);
}

.menu-link.completed .menu-status i {
  color: var(--success-color);
}

.menu-link.active .menu-status i {
  color: white;
}

/* ============================================
   COURSE PROGRESS
   ============================================ */

.course-progress {
  margin-bottom: 25px;
  padding: 15px;
  background: white;
  border: 2px solid var(--primary-color);
  border-radius: var(--border-radius);
}

.progress-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.progress-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark-color);
}

.progress-percent {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-color);
}

.progress {
  height: 6px;
  background: white;
  border: 1px solid var(--primary-color);
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar {
  background: var(--primary-color);
  transition: width 0.6s ease;
}
/* ============================================
   CHAPTER CONTENT STYLING
   ============================================ */

.chapter-content {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin-bottom: 30px;
  overflow: hidden;
}

.chapter-header {
  background: var(--primary-color);
  color: white;
  padding: 30px;
  text-align: center;
}

.part-indicator,
.chapter-indicator {
  margin-bottom: 10px;
}

.part-badge,
.chapter-number {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.part-title,
.chapter-title {
  font-size: 2.2rem;
  margin: 0;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.chapter-body {
  padding: 40px;
  background: white;
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */

.content-section {
  margin-bottom: 40px;
}

.content-section h2 {
  color: var(--dark-color);
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.content-section h3 {
  color: var(--dark-color);
  font-weight: 600;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ============================================
   CARDS AND BOXES
   ============================================ */

.intro-card,
.overview-card {
  background: var(--primary-color);
  color: white;
  padding: 30px;
  border-radius: var(--border-radius);
  margin-bottom: 30px;
  box-shadow: var(--box-shadow);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.card-content h2 {
  color: white;
  margin-bottom: 15px;
}

.lead {
  font-size: 1.15rem;
  opacity: 0.9;
  line-height: 1.6;
}

.definition-box,
.note-box,
.warning-box,
.info-callout,
.info-box,
.example-box {
  padding: 20px;
  border-radius: var(--border-radius);
  margin: 20px 0;
  border-left: 4px solid var(--primary-color);
  background: white;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.definition-box:hover,
.note-box:hover,
.warning-box:hover,
.info-callout:hover,
.info-box:hover,
.example-box:hover {
  box-shadow: var(--box-shadow-hover);
  transform: translateY(-1px);
}

/* ============================================
   GRIDS
   ============================================ */

.characteristics-grid,
.objectives-grid,
.best-practices-grid,
.keypoints-grid,
.checkpoint-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 25px 0;
}

.characteristic-item,
.objective-item,
.practice-card,
.keypoint-card,
.checkpoint-item {
  background: white;
  padding: 25px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border-top: 4px solid var(--primary-color);
}

.characteristic-item:hover,
.objective-item:hover,
.practice-card:hover,
.keypoint-card:hover,
.checkpoint-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.char-icon,
.objective-icon,
.practice-icon,
.checkpoint-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  font-size: 20px;
}

/* ============================================
   REVIEW TYPE CARDS
   ============================================ */

.review-types-container {
  margin: 30px 0;
}

.review-type-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.review-card {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  transition: var(--transition);
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.review-card .card-header {
  padding: 20px;
  background: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  gap: 15px;
}

.type-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.review-card h4 {
  margin: 0;
  font-weight: 600;
}

.review-card .card-body {
  padding: 25px;
}

.features {
  margin-top: 15px;
}

.feature-tag {
  display: inline-block;
  background: white;
  color: var(--primary-color);
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 600;
  margin: 2px 4px 2px 0;
  border: 1px solid var(--primary-color);
}

/* ============================================
   TABLES
   ============================================ */

.comparison-table,
.comparison-table-wrapper {
  margin: 25px 0;
}

.table {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.table thead th {
  background: var(--primary-color);
  color: white;
  border: none;
  font-weight: 600;
  padding: 15px;
}

.table tbody td {
  padding: 15px;
  border-color: #e9ecef;
}

/* ============================================
   AUTHORS GRID
   ============================================ */

.authors-grid {
  margin: 25px 0;
}

.author-category {
  background: white;
  padding: 25px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  height: 100%;
}

.author-category h4 {
  color: var(--dark-color);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.author-list {
  list-style: none;
  padding: 0;
}

.author-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--dark-color);
}

.author-list i {
  color: var(--success-color);
}

/* ============================================
   ACTIVITIES
   ============================================ */

.activity-section,
.activity-card {
  background: white;
  border: 2px solid var(--primary-color);
  border-radius: var(--border-radius);
  padding: 30px;
  margin: 30px 0;
  box-shadow: var(--box-shadow);
}

.activity-header h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.activity-steps,
.process-steps {
  margin: 25px 0;
}

.step-item,
.flow-step {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  background: white;
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.step-number,
.step-circle {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  flex-shrink: 0;
}

.step-content h4 {
  color: var(--dark-color);
  margin-bottom: 8px;
}

/* ============================================
   NAVIGATION
   ============================================ */

.navigation-section,
.next-steps-section {
  margin: 40px 0;
}

.nav-card,
.next-steps-card {
  background: white;
  border: 2px solid var(--primary-color);
  padding: 30px;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--box-shadow);
}

.nav-buttons,
.next-buttons {
  margin-top: 20px;
}

.btn {
  border-radius: 25px;
  padding: 12px 25px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-primary {
  background: var(--primary-color);
  color: white;
  border: 2px solid var(--primary-color);
}

.btn-primary:hover {
  background: #0056b3;
  border-color: #0056b3;
  transform: translateY(-1px);
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline-primary:hover {
  background: var(--primary-color);
  color: white;
}

/* ============================================
   MENTOR TIPS
   ============================================ */

.mentor-tip-section {
  margin: 30px 0;
}

.mentor-tip {
  background: white;
  border: 2px solid var(--primary-color);
  padding: 25px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.tip-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  flex-shrink: 0;
}

/* ============================================
   WATERMARK
   ============================================ */

.content-watermark {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-20deg);
  font-size: 96px;
  color: rgba(0, 0, 0, 0.07);
  pointer-events: none;
  z-index: 1;
  white-space: nowrap;
  font-weight: 700;
}

/* ============================================
   WELCOME SECTION STYLES
   ============================================ */

.welcome-section {
  background: white;
  border-radius: var(--border-radius);
  color: var(--text-dark);
  margin-bottom: 30px;
  box-shadow: var(--box-shadow);
}

.course-welcome {
  background: white;
  color: var(--text-dark);
  padding: 0;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.welcome-hero {
  text-align: center;
  padding: 50px 30px 30px;
  background: var(--primary-color);
  color: white;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.welcome-title {
  font-size: 3rem;
  margin-bottom: 15px;
  font-weight: 700;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.welcome-subtitle {
  font-size: 1.3rem;
  opacity: 0.9;
  margin: 0;
  line-height: 1.4;
}

.course-introduction {
  padding: 40px;
  background: white;
}

.lead-text {
  font-size: 1.2rem;
  margin-bottom: 30px;
  line-height: 1.7;
  opacity: 0.95;
}

.what-you-get h3 {
  color: var(--dark-color);
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 25px 0;
}

.benefit-item {
  background: white;
  color: var(--primary-color);
  padding: 25px;
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition);
}

.benefit-item:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-2px);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 15px;
}

.benefit-item h4 {
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: 600;
}

.benefit-item p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.95rem;
}

.learning-path {
  padding: 0 40px 20px;
  background: white;
}

.learning-path h3 {
  color: var(--dark-color);
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.path-steps {
  margin: 25px 0;
}

.path-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 25px;
}

.step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-number {
  width: 50px;
  height: 50px;
  background: white;
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
}

.step-line {
  width: 2px;
  height: 40px;
  background: var(--primary-color);
  margin-top: 10px;
}

.path-item:last-child .step-line {
  display: none;
}

.step-content {
  flex: 1;
}

.step-content h4 {
  color: var(--dark-color);
  margin-bottom: 8px;
  font-weight: 600;
}

.step-content p {
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.6;
}

.time-estimate {
  color: rgba(0, 0, 0, 0.6);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

.course-features {
  padding: 20px 40px;
  background: white;
}

.course-features h3 {
  color: var(--dark-color);
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.feature-card {
  background: white;
  color: var(--text-dark);
  padding: 25px;
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--box-shadow);
  border: 1px solid #e9ecef;
}

.feature-card:hover {
  box-shadow: var(--box-shadow-hover);
  transform: translateY(-2px);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin: 0 auto 15px;
}

.feature-card h4 {
  color: var(--primary-color);
  margin-bottom: 8px;
  font-weight: 600;
}

.feature-card p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.9rem;
}

.get-started-section {
  padding: 30px 40px 40px;
  background: white;
}

.start-card {
  background: white;
  color: var(--text-dark);
  padding: 30px;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--box-shadow);
  border: 1px solid #e9ecef;
}

.start-card h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.start-card p {
  color: var(--text-muted);
  margin-bottom: 25px;
  line-height: 1.6;
}

.start-stats {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 25px 0;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.start-actions {
  margin-top: 25px;
}

.start-btn {
  font-size: 1.1rem;
  padding: 15px 30px;
}

.testimonial-section {
  padding: 0 40px 40px;
  background: white;
}

.testimonial-card {
  background: white;
  color: var(--text-dark);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  border: 1px solid #e9ecef;
}

.quote-icon {
  font-size: 30px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.testimonial-text {
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 20px;
  line-height: 1.6;
}

.author-info strong {
  color: var(--primary-color);
  display: block;
  margin-bottom: 5px;
}

.author-info span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ============================================
   ADDITIONAL STYLES FOR CHAPTERS
   ============================================ */

.hook-strategies-grid,
.background-steps-grid,
.importance-aspects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin: 30px 0;
}

.hook-strategy-card,
.background-step,
.importance-card {
  background: white;
  padding: 25px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  border-top: 4px solid var(--primary-color);
  transition: var(--transition);
}

.hook-strategy-card:hover,
.background-step:hover,
.importance-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.strategy-icon,
.step-icon,
.impact-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  font-size: 20px;
}

.example-box {
  background: white;
  border: 2px solid var(--primary-color);
  padding: 15px;
  margin: 15px 0;
  border-radius: var(--border-radius);
}

.example-box h5 {
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: 600;
}

.problem-framework,
.analysis-steps {
  margin: 25px 0;
}

.problem-step,
.analysis-item {
  background: white;
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.problem-icon,
.analysis-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.abstract-type-cards,
.abstract-types-container {
  margin: 25px 0;
}

.abstract-card {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  margin-bottom: 20px;
}

.abstract-card .card-header {
  background: var(--primary-color);
  color: white;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.abstract-card .card-body {
  padding: 25px;
}

.abstract-card.descriptive .card-header {
  background: var(--primary-color);
}

.abstract-card.informative .card-header {
  background: var(--primary-color);
}

.structure-components,
.analysis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.component-item,
.analysis-item {
  background: white;
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  display: flex;
  align-items: center;
  gap: 15px;
}

.component-number {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.sources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 25px 0;
}

.source-card {
  background: white;
  padding: 25px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
}

.source-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.source-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 24px;
}

.source-card.primary .source-icon {
  background: var(--primary-color);
}

.source-card.secondary .source-icon {
  background: var(--primary-color);
}

.source-card.tertiary .source-icon {
  background: var(--primary-color);
  color: white;
}

.source-card.gray .source-icon {
  background: var(--primary-color);
}

.search-components {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 25px 0;
}

.search-component,
.component-icon {
  text-align: center;
}

.component-icon {
  width: 50px;
  height: 50px;
  background: white;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 20px;
  color: var(--primary-color);
}

.criteria-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin: 25px 0;
}

.criteria-card {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
}

.criteria-header {
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.criteria-card.inclusion .criteria-header {
  background: white;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.criteria-card.exclusion .criteria-header {
  background: white;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.criteria-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.criteria-body {
  padding: 20px;
}

.extraction-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin: 20px 0;
}

.extraction-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: white;
  border: 1px solid #e9ecef;
  border-radius: var(--border-radius);
}

.item-icon {
  width: 30px;
  height: 30px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.keypoints-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 25px 0;
}

.keypoint-card {
  background: white;
  padding: 25px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
}

.keypoint-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 20px;
}

.activity-steps {
  margin: 25px 0;
}

.activity-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
  padding: 20px;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.step-content {
  flex: 1;
}

.checklist-items {
  margin: 20px 0;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin-bottom: 10px;
}

.check-icon {
  color: var(--success-color);
  font-size: 18px;
}

.database-table-wrapper {
  margin: 25px 0;
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.flowchart-image,
.structure-image,
.graphical-example,
.process-image,
.analysis-image {
  text-align: center;
  margin: 25px 0;
}

.flowchart-image img,
.structure-image img,
.process-img img,
.analysis-img img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.graphical-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 25px 0;
}

.feature-item {
  text-align: center;
  padding: 20px;
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 20px;
}

.keywords-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 25px 0;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.benefit-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.guideline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin: 20px 0;
}

.guideline-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px;
  background: white;
  border: 1px solid #e9ecef;
  border-radius: var(--border-radius);
}

.guideline-number {
  background: var(--primary-color);
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.guideline-icon {
  color: var(--primary-color);
  font-size: 18px;
}

/* ============================================
   REFERENCES CHAPTER SPECIFIC STYLES
   ============================================ */

.citation-example {
  font-family: 'Courier New', monospace;
  background: white;
  padding: 12px 15px;
  border-radius: var(--border-radius);
  border: 1px solid #e9ecef;
  margin: 10px 0;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.citation-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 25px 0;
}

.citation-type-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: var(--border-radius);
  padding: 25px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.citation-type-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.citation-type-title {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.software-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin: 25px 0;
}

.software-card {
  background: var(--primary-color);
  color: white;
  border-radius: var(--border-radius);
  padding: 30px;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.software-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 123, 255, 0.3);
}

.software-name {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.software-description {
  font-size: 1rem;
  opacity: 0.9;
  line-height: 1.6;
}

.comparison-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin: 25px 0;
}

.weak-example {
  background: #fed7d7;
  border: 1px solid #fc8181;
  border-radius: var(--border-radius);
  padding: 20px;
}

.strong-example {
  background: #c6f6d5;
  border: 1px solid #68d391;
  border-radius: var(--border-radius);
  padding: 20px;
}

.example-label {
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: var(--dark-color);
}

/* ============================================
   CONFLICT OF INTEREST CHAPTER SPECIFIC STYLES
   ============================================ */

.coi-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin: 25px 0;
}

.step-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border-top: 4px solid var(--primary-color);
}

.step-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.step-number {
  background: var(--primary-color);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-bottom: 15px;
}

.step-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 15px;
}

.step-description {
  color: var(--secondary-color);
  line-height: 1.6;
  margin-bottom: 15px;
}

.step-example {
  background: white;
  border: 1px solid #e9ecef;
  border-radius: var(--border-radius);
  padding: 15px;
  font-style: italic;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.transparency-section {
  background: #e6fffa;
  border: 1px solid #81e6d9;
  border-radius: var(--border-radius);
  padding: 30px;
  margin: 25px 0;
  border-left: 4px solid #38b2ac;
}

.transparency-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #234e52;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.integrity-badge {
  background: var(--primary-color);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-block;
  margin: 5px 5px 5px 0;
}

.example-text {
  font-style: italic;
  margin-bottom: 15px;
  padding: 12px;
  background: rgba(255,255,255,0.7);
  border-radius: var(--border-radius);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 991px) {
  .content-watermark {
    display: none;
  }
  
  .sidebar-toggle {
    display: none !important;
  }
  
  .course-sidebar {
    display: block;
    position: relative;
    width: 100%;
    height: auto;
    overflow: visible;
    padding: 16px;
    margin-top: 10px;
    margin-bottom: 20px;
    border-right: none;
    border-bottom: 1px solid #e9ecef;
  }
  
  .course-wrapper {
    display: block;
    height: auto;
  }
  
  .course-content {
    overflow: visible;
    padding: 20px;
    background: white;
  }
  
  .chapter-header {
    padding: 20px;
  }
  
  .chapter-body {
    padding: 20px;
  }
  
  .part-title,
  .chapter-title {
    font-size: 1.8rem;
  }
  
  .characteristics-grid,
  .objectives-grid,
  .best-practices-grid {
    grid-template-columns: 1fr;
  }
  
  .welcome-title {
    font-size: 2.2rem;
  }
  
  .benefits-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .start-stats {
    flex-direction: column;
    gap: 15px;
  }
  
  .path-item {
    flex-direction: column;
    text-align: center;
  }
  
  .step-indicator {
    flex-direction: row;
    gap: 15px;
  }
  
  .step-line {
    width: 30px;
    height: 2px;
  }
  
  .comparison-section {
    grid-template-columns: 1fr;
  }
  
  .citation-types {
    grid-template-columns: 1fr;
  }
  
  .software-grid {
    grid-template-columns: 1fr;
  }
  
  .coi-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .review-type-cards {
    grid-template-columns: 1fr;
  }
  
  .step-item {
    flex-direction: column;
    text-align: center;
  }
  
  .step-number {
    align-self: center;
  }
}

/* ============================================
   ADDITIONAL THEME CONSISTENCY STYLES
   ============================================ */

/* Ensure all sections have consistent styling */
.course-overview-section,
.content-section {
  margin-bottom: 30px;
}

/* Chapter content styling */
.chapter-content {
  background: white;
}

.chapter-body {
  background: white;
}

/* Ensure consistent text colors */
.chapter-content h2,
.chapter-content h3,
.chapter-content h4 {
  color: var(--text-dark);
}

.chapter-content p {
  color: var(--text-dark);
  line-height: 1.6;
}