
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Part One : dropdown list */

.book-selection.compact {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0px;
}

.dropdown-group {
  flex: 1; /* Each takes up 50% */
  min-width: 150px; /* Prevent dropdown from getting too narrow */
}

.app-select {
  width: 100%;
  padding: 0.4rem 0.6rem;
  border: 1px solid #f8f5f5;
  border-radius: 6px;
  font-size: 0.9rem;
  background: #f9f9f9;
  box-shadow: 0 1px 2px rgba(241, 240, 240, 0.05);
  transition: border-color 0.2s;
}

/* Part Two: Chapter Info */

/* Audio Section */
.player-container {
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  margin-left: 1rem;
  margin-right: 1rem;
}

.chapter-header {
  font-size: 0.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #d63384;
}

.chapter-title {
  display: none;
}

.chapter-subtitle-row {
  display: flex;
  align-items: center;
  gap: 0.5rem; /* Space between icon and subtitle */
}

.chapter-subtitle {
  margin: 0;
  font-size: 1rem;
  color: #d63384;
}

.chapter-subtitle-row i {
  font-size: 1rem;
}

/*Part Three : chapter content*/
.chapter-content {
  background: #ffffff;
  padding: 1.25rem;
  border-radius: 8px;
  white-space: pre-wrap;
  line-height: 1.7;
  font-size: 1.05rem;
  border-left: 4px solid var(--teal); /* Accent border */
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  margin: 1rem 0;
  margin-bottom: 30px;
 
  /* Responsive height */
  height: 410px;           /* 40% of viewport height */
  overflow-y: auto;       /* Scroll if content exceeds */
  
  /* fond */
  font-family: inherit; /* Or use same as h3: e.g., 'Inter', 'Roboto', etc. */
  text-align: justify;  /* Align both sides */

  border: gainsboro;
}

/*****************************************Paragraph*/
#chapterContent p {
  margin-top: 1em;
  margin-bottom: 1em;
  line-height: 1.6;
}




