/* Solution block for worked examples */
.solution-block {
  background: #f8fafd;
  border-left: 4px solid #667eea;
  padding: 1em 1.5em;
  margin: 1em 0;
  white-space: pre-line;
  font-family: 'Fira Mono', 'Consolas', monospace;
  font-size: 1em;
  line-height: 1.6;
  box-shadow: 0 1px 4px rgba(102,126,234,0.07);
}
.solution-block strong {
  color: #764ba2;
}
/* Synopsis Content Section Styles - BEM Naming Convention */

.synopsis-overview {
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(102,126,234,0.08);
}

.synopsis-objectives {
  background: #f6f8fa;
  border-left: 4px solid #764ba2;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}
.synopsis-objectives ul {
  margin: 0.5rem 0 0 1rem;
}

.synopsis-module {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(102,126,234,0.07);
  margin-bottom: 2rem;
  padding: 1.5rem 1rem;
  animation: fadeIn 0.5s;
}
.module-title {
  color: #764ba2;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}
.section-heading {
  color: #667eea;
  font-weight: 600;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}
.section-paragraph {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
  text-indent: 2em;
}
.section-list {
  margin-left: 3em;
  margin-bottom: 1rem;
}
.examples {
  background: #f3eaff;
  border-left: 3px solid #667eea;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}
.worked-example {
  background: #eaf6ff;
  border-left: 3px solid #764ba2;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  font-size: 1.02rem;
}

/* Module Navigation Controls */
.module-nav-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin: 2rem 0 0.5rem 0;
  padding-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}
.nav-btn {
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.5rem 1.2rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 6px rgba(102,126,234,0.08);
  min-width: 90px;
  opacity: 1;
}
.nav-btn[disabled], .nav-btn:disabled {
  background: #d1d5db !important;
  color: #888 !important;
  cursor: not-allowed !important;
  opacity: 0.7;
}
.module-nav-status {
  font-weight: 500;
  color: #764ba2;
  font-size: 1.05rem;
}

@media (max-width: 600px) {
  .synopsis-module {
    padding: 1rem 0.5rem;
  }
  .module-nav-controls {
    gap: 0.7rem;
    font-size: 0.95rem;
  }
  .nav-btn {
    padding: 0.4rem 0.7rem;
    font-size: 0.95rem;
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
