/* General body styles */
@font-face {
  font-family: "Scheherazade";
  src: url("ScheherazadeRegOT.ttf") format("truetype");
}

body {
  font-family: "Scheherazade", serif;
  margin: 0;
  padding: 0;
  background: #f5f0e6; /* Light parchment color */
  color: #333;
  transition: background-color 0.3s, color 0.3s;
}

div#app {
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}
.ayah {
  border-radius: 10px;
  padding: 0px 42px;
  margin-bottom: 20px;
  text-align: justify;
  font-family: "Scheherazade", serif;
}

.ayah-number {
  font-size: 18px;
  color: #d4af37; /* Gold text */
  font-weight: bold;
  display: block;
  margin-bottom: 10px;
  text-align: right;
}

.ayah-text {
  font-size: 24px;
  line-height: 1.2;
  direction: rtl;
  color: #333;
}

.translation {
  margin-top: 10px;
  font-size: 25px;
  color: #555;
  direction: rtl;
  text-align: justify;
  font-style: italic;
}

/* Frame Styles */
.frame {
  border: 2px solid #d4af37; /* Gold border */
  background: white; /* White background */
  padding: 16px; /* Padding */
  border-radius: 10px; /* Rounded corners */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

/* Surah Dropdown */
#surah-dropdown,
#surah-dropdown-mobile {
  font-size: 18px;
  padding: 8px;
  border: 1px solid #d4af37; /* Gold border */
  border-radius: 6px;
  background: #fef6d9; /* Light parchment */
  color: #333;
  transition: all 0.3s;
}

#surah-dropdown:hover,
#surah-dropdown-mobile:hover {
  background: #f5e6c5; /* Slightly darker parchment */
}

/* Audio Player Container */
#audio-player-container,
#audio-player-container-mobile {
  padding: 15px;
  border: 2px solid #d4af370a;
  background: #0080000a;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  color: #000;
}

/* Header */
header {
  background: #d4af37;
  color: #fff;
  padding: 15px;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* Buttons */
button {
  padding: 10px 15px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  color: #fff;
  background-color: #d4af37; /* Gold */
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

button:hover {
  background-color: #c3972c; /* Darker gold */
  transform: scale(1.05);
}
aside#sidebar {
  max-width: 310px !important;
  background: #00800012;
}
/* Dark Mode */
body.dark-mode {
  background: #1a202c; /* Dark background */
  color: #e0e0e0;
}
body.dark-mode .qFrame {
  background-color: #000000;
}
body.dark-mode .ayah {
  border-color: #c3972c; /* Darker gold */
  color: #e0e0e0;
}

body.dark-mode .ayah-number {
  color: #c3972c;
}

body.dark-mode .ayah-text {
  color: #e0e0e0;
}

body.dark-mode .translation {
  color: #a0aec0;
}

body.dark-mode header {
  background: #c3972c;
}

body.dark-mode button {
  background-color: #c3972c;
}

body.dark-mode button:hover {
  background-color: #d4af37;
}

header.bg-blue-600.text-white.p-4.flex.justify-between.items-center.shadow-lg {
  background: #d4af37;
}

.md\:block {
  display: block;
  width: 18%;
}

.bg-blue-700 {
  --tw-bg-opacity: 1;
  background-color: #fff;
  color: #000;
}

button#toggle-theme {
  margin-right: 8px;
}

body.dark-mode aside#sidebar {
  background: #1f2734;
}

.qFrame {
  background: #f7fce3 url(./frame.png) repeat-y;
}
.qFrameTop {
  height: 23px;
}

.containerframetop {
  background-image: url(./ssdsd.png);
  position: relative;
  height: 29px;
  background-repeat: repeat-x;
}

.containerframebottom {
  background-image: url(./ssdsd.png);
  position: relative;
  height: 227px;
  background-repeat: repeat-x;
}

.containerframeleft {
  padding: 48px 189px 50px 179px;
  background-image: url(./wfwefw.png);
  background-repeat: repeat-y;
  background-position: left center;
}
.containerframeright {
  padding: 38px 45px;
  background-image: url(./wfwefw.png);
  background-repeat: repeat-y;
  background-position: right center;
}
.containerframe {
  background-repeat: repeat-y;
  margin: 13px 154px 0 154px;
}
@media (max-width: 700px) {
  .qFrameMiddle {
    min-height: calc(86vh - 60px);
  }
  #arabic-container,
  #translation-container {
    min-height: calc(86vh - 60px);
  }
  #content {
    padding: 0;
  }
  .containerframetop {
    background-image: url(./background1.jpg);
    position: relative;
    height: 47px;
    background-repeat: no-repeat;
    background-size: cover;
  }

  .containerframe {
    padding: 10px 55px;
    background-image: url(./background2.jpg);
    background-repeat: repeat-y;
    background-size: contain;
    margin-top: -5px;
  }

  .containerframebottom {
    background-image: url(./background3.jpg);
    position: relative;
    height: 114px;
    background-repeat: no-repeat;
    background-size: contain;
  }
}
aside#sidebar {
  max-width: 392px;
}
#surah-dropdown,
#surah-dropdown-mobile,
#ayah-dropdown-mobile,
#juz-dropdown-mobile,
#page-input-mobile,
#ayah-dropdown,
#juz-dropdown,
#page-input {
  font-size: 18px;
  padding: 8px;
  border: 1px solid #0080000a;
  border-radius: 6px;
  background: #0080000a;
  color: #333;
  transition: all 0.3s;
}

#page-navigation button {
  background-color: ##0080000a;
  padding: 8px 12px;
  font-size: 18px;
  cursor: pointer;
}

#page-navigation button:hover {
  background-color: #c3972c;
}

#page-input {
  font-size: 16px;
  padding: 5px;
  text-align: center;
}
.ayah.selected {
  background-color: #160a0a17;
}

.maincont {
  display: flex;
}

div#content {
  max-width: 576px;
}
/* General body styles (unchanged) */

body {
  margin: 0;
  padding: 0;
  background: #f5f0e6;
  color: #333;
  transition: background-color 0.3s, color 0.3s;
}

div#app {
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}

/* Arabic and Translation Containers */
#arabic-container,
#translation-container {
  padding: 0 42px;
  text-align: justify;
  direction: rtl;
  font-family: "Scheherazade", serif;
}

.ayah-wrapper,
.translation-wrapper {
  display: block;
  line-height: 1.5;
}

.ayah,
.translation {
  display: inline;
  margin: 0;
  padding: 0;
}

.ayah-number,
.translation-number {
  display: inline-block;
  width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  font-size: 14px;
  color: #000000;
  font-weight: bold;
  background: url("https://quran.inoor.ir/_nuxt/ayah-num.CL4OcWMk.png")
    no-repeat 50%;
  margin: 0 5px;
  vertical-align: middle;
  background-size: 22px;
}
.ayah-text {
  font-size: 24px;
  direction: rtl;
  color: #333;
  display: inline;
  margin: 0;
  padding: 0;
}
.translation-text {
  font-size: 27px;
  color: #555;
  direction: rtl;
  font-style: italic;
  display: inline;
  margin: 0;
  padding: 0;
  line-height: 1.5;
}

/* Frame and other styles */
.frame {
  border: 2px solid #d4af37;
  background: white;
  padding: 16px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Dark Mode Adjustments */
body.dark-mode .ayah-number,
body.dark-mode .translation-number {
  color: #c3972c;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"><circle cx="12" cy="12" r="10" fill="none" stroke="%23c3972c" stroke-width="1"/></svg>')
    no-repeat center;
}

body.dark-mode .ayah-text {
  color: #e0e0e0;
}

body.dark-mode .translation-text {
  color: #a0aec0;
}

/* Ensure the qFrame maintains the mushaf look */
.qFrame {
  background: #f7fce3 url(./frame.png) repeat-y;
}

/* Media query for responsiveness */
@media (max-width: 700px) {
  .ayah-text {
    font-size: 28px;
  }
  .translation-text {
    font-size: 21px;
  }
}

body.dark-mode a {
  color: #000 !important;
}

#page-navigation button {
  background-color: #d4af37;
  padding: 8px 12px;
  font-size: 18px;
  cursor: pointer;
  display: none;
}

#page-input {
  font-size: 16px;
  padding: 5px;
  text-align: center;
  margin: auto;
}
