/* =========================
   MAIN CONTAINER
========================= */
.chapter-details-container {
  margin: 0;
  padding: 0;
  text-align: center;
}
/* 
.container {
  max-width: 400px;
  margin: 0 auto;
  background: #fff;
} */

/* =========================
   AYAH CONTENT (PREVIEW)
========================= */
.ayah-content {
  padding: 20px;
  background-color: var(--bg-page);
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin: 0 10px;
  color: var(--text-primary);
}

.arabic-text {
  font-size: 1.85rem;
  line-height: 2.5;
  font-family: "UthmanicHafs", "Amiri Quran", serif;
  margin: 0;
  color: var(--text-primary);
  text-align: center;
  direction: rtl;
}

.transliteration-text {
  font-size: 0.95rem;
  color: var(--bg-primary);
  font-style: italic;
  line-height: 1.5;
  margin: 0;
  text-align: center;
  display: none; /* Hidden by default */
}

.transliteration-text.visible {
  display: block; /* Show when toggled ON */
}

.english-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
  text-align: center;
  display: none; /* Hidden by default */
}

.english-text.visible {
  display: block; /* Show when toggled ON */
}

.searchbar-container {
  display: none !important;
}

.container {
  display: none important;
}

/* =========================
   HEADER & BUTTONS
========================= */
.header {
  display: flex;
  justify-content: space-between;
  padding: 16px;
}

.header h2 {
  margin: 0;
  padding: 0;
}

.done-btn {
  background: none;
  border: none;
  font-weight: bold;
  font-size: 16px;
  margin: 0;
  padding: 0;
}

/* =========================
   SETTINGS SECTION
========================= */
.settings {
  padding: 10px 16px;
}

.setting-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #ddd;
}

/* =========================
   THEMES
========================= */
.themes {
  display: flex;
  gap: 10px;
}

.circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-block;
}

.light {
  background: #e8e3d8;
}

.dark {
  background: #000;
}

.teal {
  background: #6aa6a6;
}

.green {
  background: #8fc2a4;
}

.locked::after {
  content: "🔒";
  font-size: 10px;
  position: relative;
  left: -4px;
}

/* =========================
   TOGGLE SWITCH
========================= */
.switch {
  position: relative;
  width: 40px;
  height: 20px;
  margin-right: 15px;
}

.switch input {
  display: none;
}

.slider {
  position: absolute;
  background: #ccc;
  border-radius: 20px;
  width: 100%;
  height: 100%;
}

.slider::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  background: white;
  border-radius: 50%;
  top: 2px;
  left: 2px;
  transition: 0.3s;
}

input:checked + .slider {
  background: #4caf50;
}

input:checked + .slider::before {
  transform: translateX(20px);
}
.done-btn {
  background-color: var(--bg-primary);
  color: var(--bg-main);
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease-in-out;
  box-shadow: 0 2px 4px rgba(16, 16, 17, 0.08);
}

.done-btn:hover {
  background-color: var(--accent-primary);
  color: var(--text-primary);
  border-color: var(--accent-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(16, 16, 17, 0.12);
}

.done-btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(16, 16, 17, 0.08);
}
