@import url("https://fonts.googleapis.com/css2?family=Amiri+Quran&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Naskh+Arabic&display=swap");

/* =========================
   SURAH DETAIL PAGE
========================= */

.surah-detail-page {
  /* background configuration handled by surah-container */
}

/* =========================
   SURAH HEADER (SVG BORDER)
========================= */
.surah-header-card {
  position: relative;
  margin: 15px;
  padding: 30px 15px;
  text-align: center;
  background: var(--bg-card);
  border-radius: 30px;
  overflow: hidden;
}

/* SVG layer */
.surah-border {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Content above SVG */
.surah-header-content {
  position: relative;
  z-index: 2;
}

#surah-name {
  font-size: 1.5rem;
  margin: 0;
  font-family: "Playfair Display", serif;
}

#surah-info {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 5px;
}

/* Glow effect */
.surah-border rect {
  filter: drop-shadow(0 0 4px rgba(124, 104, 238, 0.3));
}

/* =========================
   AYAH LIST
========================= */
.ayahs-list {
  /* Container for all ayahs */
}

.ayah-row {
  display: flex;
  gap: 20px;
  padding: 25px;
  border-bottom: 1px solid var(--bg-page-secondary);
  background-color: var(--bg-card);
}

.ayah-number {
  min-width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--text-primary);

  background-image: url("../assets/icons/octagon.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;

  border: none;
  background-color: transparent;
}

.ayah-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

/* =========================
   TEXT VISIBILITY TOGGLES
========================= */
.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 */
}

/* =========================
   BACKGROUND (SURAH PAGE)
========================= */
.surah-container {
  background-image: url("../assets/images/testing.jpg");
  background-size: cover;
  background-position: center;
}

/* =========================
   RESPONSIVE DESIGN
========================= */
@media (min-width: 768px) {
  .surah-header-card {
    width: 70vh;
    margin: 15px auto;
    background: none;
  }
}

@media (min-width: 1024px) {
  .surah-header-card {
    width: 80vh;
    margin: 15px auto;
  }
}
.preference {
  display: inline-block;
}
