:root {
  --bg: #fdfcf9;
  --text: #1e1e1e;
  --accent: #4a6fa5;
}

body.dark {
  --bg: #121212;
  --text: #eaeaea;
  --accent: #6ea8fe;
}

body {
  margin: 0;
  font-family: Georgia, serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: var(--accent);
  color: white;
}

.controls, .search-bar {
  display: flex;
  gap: 10px;
  padding: 15px 20px;
  flex-wrap: wrap;
}

select, button, input {
  padding: 6px 10px;
  font-size: 14px;
}

#content {
  max-width: 800px;
  margin: 20px auto;
  padding: 0 20px;
}

.verse {
  margin-bottom: 8px;
}

.verse-number {
  font-weight: bold;
  margin-right: 6px;
  cursor: pointer;
  color: var(--accent);
}

.search-results {
  max-width: 800px;
  margin: 20px auto;
  padding: 0 20px;
}

.result {
  padding: 10px 0;
  border-bottom: 1px solid #ccc;
  cursor: pointer;
}

.result:hover {
  color: var(--accent);
}

.highlight {
  background: rgba(255, 230, 120, 0.4);
  padding: 4px;
  border-radius: 4px;
}

.search-highlight {
  background: yellow;
  padding: 2px 3px;
  border-radius: 3px;
}

@media (max-width: 600px) {
  .controls, .search-bar {
    flex-direction: column;
  }
}
