*,*::before,*::after{box-sizing:border-box}*{margin:0}html,body{height:100%}body{line-height:1.5;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}img,picture,video,canvas,svg{display:block;max-width:100%}input,button,textarea,select{font:inherit}p,h1,h2,h3,h4,h5,h6{overflow-wrap:break-word}ul,ol{list-style:none;padding:0}a{text-decoration:none;color:inherit}button{background:none;border:none;padding:0;cursor:pointer}table{border-collapse:collapse;border-spacing:0}#root,#__next{isolation:isolate}

*,
*::before,
*::after {
  box-sizing: border-box;
}

@font-face {
    font-family: 'quran';
    src: url('../fonts/QuranTaha.eot');
    src: url('../fonts/QuranTaha.eot?#iefix') format('embedded-opentype'), 
    url('../fonts/QuranTaha.ttf') format('truetype'), 
    url('../fonts/QuranTaha.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'byekan';
    src: url('../fonts/Byekan.ttf') format('truetype'), 
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'nazanin';
    src: url('../fonts/Far_Nazanin.ttf') format('truetype'), 
    font-weight: normal;
    font-style: normal;
}
body {
    background-color: #f2f3f6;
    direction: rtl;
    font-family: 'nazanin', sans-serif;
}

@media (min-width: 375px) {
    .container {
        max-width: 100% !important;
        width: 375px;
    }
}
.container {
    max-width: 100% !important;
    width: 542px;
    margin: 0 auto;
    background-color: #fff;
    /* height: 100vh; */
    overflow: auto;
    position: relative;
}
.b-text {
    font-family: 'quran', sans-serif;
    text-align: right;
    border-top: 1px solid #eee;
    padding-top: 10px;
    padding-right: 5px;
    padding-left: 5px;
}
.b-translate {
    font-family: 'nazanin', sans-serif;
    text-align: right;
    padding-bottom: 10px;
    padding-right: 5px;
    padding-left: 5px;
}
.b-info {
    font-family: 'nazanin', sans-serif;
    text-align: right;
    padding-bottom: 10px;
    padding-top: 10px;
    padding-right: 5px;
    padding-left: 5px;
    border-top: 1px solid #eee;
    color: #e74c3c;
    font-weight: bold;
}
.text-center {
    text-align: center;
}
.b-list {
    list-style: none;
}
.b-list li {
    padding-left: 5px;
    padding-right: 5px;
    margin-top: 5px;
    margin-bottom: 5px;
}
.b-list li a {
    background-color: #eee;
    border-radius: 10px;
    font-family: 'nazanin', sans-serif;
    width: 100%;
    display: block;
    padding: 5px;
    padding-right: 10px;
    padding-left: 10px;
}
.b-list li a::after {
    content: ">";
    float: left;
    display: inline-block;
    margin-right: 8px;
    font-size: 10px;
    margin-top: 5px;
}
.b-player-container {
    background-color: #eee;
    position: fixed;
    height: 50px;
    overflow: hidden;
    bottom: 0;
    left: 0;
    right: 0;
}
.b-player {
    width: 100%;
}
.b-container {
    padding-bottom: 50px;
    padding-top: 50px;
}
.bottom-sheet {
    background-color: transparent;
    position: fixed;
    z-index: 1000;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80%;
}
.bottom-sheet-container {
    background-color: #fff;
    height: 100%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    padding: 10px;
    border: 1px solid #eee;
    box-shadow: 0 -8px 30px -8px rgba(0, 0, 0, 0.15);
}


.audio-container {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f3f5f5;
    width: 100%;
    max-width: 700px;
    font-family: sans-serif;

    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
}
  
.player-icon {
    /* background: none; */
    border: none;
    font-size: 16px;
    cursor: pointer;
    width: 20px;    
}
  
#audio-time {
    font-size: 14px;
    color: #333;
    min-width: 90px;
    direction: ltr;
}
#audio-progress {
    flex: 1;
    appearance: none;
    height: 4px;
    border-radius: 2px;
    cursor: pointer;
    background: linear-gradient(
      to right,
      #000 0%,
      #000 0%,
      #d0d0d0 0%,
      #d0d0d0 100%
    );
    direction: ltr;
}
  
#audio-progress::-webkit-slider-thumb {
    appearance: none;
    width: 10px;
    height: 10px;
    background: #000;
    border-radius: 50%;
}
  
#audio-progress::-moz-range-thumb {
    width: 10px;
    height: 10px;
    background: #000;
    border-radius: 50%;
}


  
.switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 24px;
  margin-right: 8px;
  vertical-align: middle;
}
.switch input { display: none; }
.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 24px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}
input:checked + .slider {
  background-color: #333;
}
input:checked + .slider:before {
  transform: translateX(22px);
}
.bottom-sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #eee;
}
.bottom-sheet-header i {
    font-size: 16px;
    cursor: pointer;
}
.bottom-sheet-container li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #eee;
}
.form-input {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-family: inherit;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    box-sizing: border-box;
}

.form-input:focus {
    color: #212529;
    background-color: #fff;
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(13,110,253,.25);
}
.font-size-input {
    width: 100px;
}
.none {
    display: none;
}
.bottom-sheet-divider {
    height: 1px;
    background-color: #eee;
    margin-bottom: 10px;
    width: 100px;
    margin-right: auto;
    margin-left: auto;
}
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 50px;
    font-family: 'nazanin', sans-serif;
}
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.menuIcon {
    margin-right: 10px;
    cursor: pointer;
}
.settingIcon {
    margin-left: 10px;
    cursor: pointer;
}
.menu {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    font-family: 'nazanin', sans-serif;
}
.menu .container {
    background-color: rgba(0, 0, 0, 0.5) !important;
    height: 100%;
}
.menu-list {
    width: 80%;
    height: 100%;
    background-color: #fff;
}
.menu-list li {
    width: 100%;
    height: 50px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 10px;
    padding-left: 10px;
    font-family: 'nazanin', sans-serif;
}
.menu-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
}
.menu-list i {
    font-size: 12px;
}
.hide {
    display: none;
}
.h-container {
    padding-top: 50px;
}





.dark {
    background-color: #2C3930;
    color: #fff;
}
.dark .container {
    background-color: #3F4F44;
    color: #fff;
}
.dark .audio-container {
    background-color: #3F4F44;
    color: #fff;
}
.dark button {
    color: #fff;
}
.dark .bottom-sheet-container {
    box-shadow: 0 -8px 30px -8px rgba(255, 255, 255, 0.15);
    border-top: 1px solid #fff;
}
.dark .menu-list {
    background-color: #3F4F44;
    color: #fff;
}
.dark .b-list li a {
    background-color: #2C3930;
}