.pointer-events-none {
    pointer-events: none;
}

.rounded-5px {
    border-radius: 5px !important;
}

.rotate-180deg {
    transform: rotate(180deg);
}

.transition-ease-in-out {
    transition: all 0.3s ease-in-out;
}

.remove-transition {
    transition: none;
}

.w-0 {
    width: 0;
}

.w-50px {
    width: 50px;
}

.w-65px {
    width: 65px;
}

.no-wrap-text {
    white-space: nowrap !important;
}

.fs-15px {
    font-size: 15px !important;
}

.gap-10px {
    gap: 10px;
}

.gap-20px {
    gap: 20px;
}

.gap-30px {
    gap: 30px;
}

.gap-5px {
    gap: 5px;
}

.height-30px {
    height: 30px;
}

.height-12px {
    height: 12px;
}

.height-10px {
    height: 10px;
}

.d-ltr {
    direction: ltr;
}

.h-28px {
    height: 28px;
}

.z-999 {
    z-index: 999;
}

.bottom-0 {
    bottom: 0;
}

.border-0 {
    border: 0 !important;
}

.rounded-0 {
    border-radius: 0 !important;
}

.remove-border-and-outline {
    border: 0 !important;
    outline: 0 !important;
}

.user-select-none {
    user-select: none !important;
}

.box-shadow-none {
    box-shadow: none !important;
}


.border-end {
    border-radius: 0 4px 4px 0 !important;
}

.border-start {
    border-radius: 4px 0 0 4px !important;
}

.text-light-dark {
    color: #444;
}

.custom-border-btn {
    border-radius: 0 !important;
    border-color: #e7e7e7 !important;
    border-left: 2px solid;
    border-right: 2px solid;
    border-top: 0;
    border-bottom: 0;
}

.custom-border-right-0 {
    border-right: 0 !important;
}

input[type="range"] {
    -webkit-appearance: none;
    margin-right: 15px;
    height: 7px;
    border-radius: 5px;
    background: #f7f9fc linear-gradient(#007c89, #007c89) no-repeat;
    background-size: 100% 100%;
    box-shadow: inset 0 0.1rem 0.1rem rgb(0 0 0 / 10%);
}

/* Input Thumb */
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 15px;
    width: 15px;
    border-radius: 50%;
    background: #007c89;
    cursor: ew-resize;
    box-shadow: 0 0 2px 0 #555;
    transition: background .3s ease-in-out;
}

input[type="range"]::-moz-range-thumb {
    -webkit-appearance: none;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: #007c89;
    cursor: ew-resize;
    box-shadow: 0 0 2px 0 #555;
    transition: background .3s ease-in-out;
}

input[type="range"]::-ms-thumb {
    -webkit-appearance: none;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: #007c89;
    cursor: ew-resize;
    box-shadow: 0 0 2px 0 #555;
    transition: background .3s ease-in-out;
}

input[type="range"]::-webkit-slider-thumb:hover {
    background: #007c89;
}

input[type="range"]::-moz-range-thumb:hover {
    background: #007c89;
}

input[type="range"]::-ms-thumb:hover {
    background: #007c89;
}

/* Input Track */
input[type=range]::-webkit-slider-runnable-track {
    -webkit-appearance: none;
    box-shadow: none;
    border: none;
    background: transparent;
}

input[type=range]::-moz-range-track {
    -webkit-appearance: none;
    box-shadow: none;
    border: none;
    background: transparent;
}

input[type="range"]::-ms-track {
    -webkit-appearance: none;
    box-shadow: none;
    border: none;
    background: transparent;
}

input[type="number"] {
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    appearance: textfield;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.hide-tab {
    transform: translateY(135px);
    z-index: -99 !important;
}

.show-tab {
    transform: translateY(0);
    z-index: 99 !important;
}

.tajweed-active {
    background-color: #29b5a8 !important;
}

polygon {
    cursor: pointer;
}

.ayah {
    transition: all 0.3s ease;
}

.ayah:hover {
    background: #fffee8 !important;
}

.ayah.active {
    background: #fffee8 !important;
}

@media (min-width: 300px) {
    .recitations-box {
        width: 45%;
    }

    .responsive-padding{
        padding: 3px;
    }
}

@media (min-width: 768px) {
    .recitations-box {
        width: 40%;
    }

    .progress-box {
        width: 30%
    }
    .responsive-padding{
        padding: 6px;
    }
}

@media (min-width: 991px) {
    .recitations-box {
        width: 25%;
    }

    .progress-box {
        width: 35%
    }
    .responsive-padding{
        padding: 8px;
    }
}

.text-ltr {
    direction: ltr !important;
    text-align: left !important;
    font-family: sans-serif;
    font-size: 1rem;
}

.quran-page-surah {
    text-align: center;
    font-size: 39px;
    margin: 0 auto;
    padding: 0;
    line-height: 1.8;
    background-color: #fff;
    border: none;
}

.poem {
    border: none !important;
}

.poem td {
    padding: 0 !important;
}

.foot-notes {
    font-weight: normal !important;
    border-top: 1px solid var(--light);
}
.ayahPolygon{
    fill-opacity: 0;
}

.fake-polygon {
    fill:#fffee8;
}

.rounded-top{
    border-radius: 5px 5px 0 0 !important;
}

.rounded-bottom{
    border-radius: 0 0 5px 5px !important;
}

.rounded-left{
    border-radius: 5px 0 0 5px !important;
}

.rounded-right{
    border-radius: 0 5px 5px  0 !important;
}

.rounded-top-right{
    border-radius: 0 5px 0 0 !important;
}

.rounded-bottom-right{
    border-radius: 0 0 5px  0 !important;
}

.px-10-py-5{
    padding: 5px 10px !important;
}

.border-radius-0{
    border-radius: 0 !important;
}

.border-bottom-white{
    border-bottom: 4px solid #FFF !important;
}


.nice-scroll::-webkit-scrollbar {
    width: 4px;
}

.nice-scroll::-webkit-scrollbar-track {
    background: #c6c6c6;
}

.nice-scroll::-webkit-scrollbar-thumb {
    background-color: #777;
}

.nice-scroll::-webkit-scrollbar-thumb:hover {
    background-color: #333;
}

.background-light-primary{
    background : #2088930d;
}

.cursor-pointer{
    cursor: pointer !important;
}

.modal.fade .modal-dialog {
    transform: none !important;
}

.w-auto{
    width: auto;
}

.border-brown{
    border: 1px solid #B7A9A1;
}

.active-tab{
    background: var(--primary) !important;
    border-color: var(--primary)  !important;
}

.active-tab > span{
    color: #FFF !important;
}

.quran-page{
    border: none;
    text-align: justify;
}

.ayahs-svg-wrapper , .ayahs-text-wrapper{
    background: #fff;
    border: 1px solid #F7F7F8;
    border-radius: 59px;
}


.surah-header{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #FFF;
    background: url("/front/assets/new-design/surah-name.svg") no-repeat center;
    background-size: contain;
    margin: 20px 0;
}

.surah-header > .surah-name , .surah-header > .surah-order-number{
    margin: 0;
    padding: 0;
    line-height: 0.8;
}

.surah-header > .surah-name {
    font-weight: bold;
}

.surah-header > .surah-order-number{
    font-weight: normal;
}

.navigation .nav-btn{
    background: rgba(255,255,255,50%);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0.5rem;
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

.page-number{
    background: linear-gradient(to right, transparent, #E9BF68, transparent);
    height: 2px;
    margin: 30px 0;
}

.page-number{
    position: relative;
}

.page-number::after{
    content: attr(data-content);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-image:  url("/front/assets/new-design/page-number.svg");
    background-repeat: no-repeat;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.switch-surah-wrapper{
    border-radius: 59px;
    height: 30px;
}

 .next-arrow , .prev-arrow , .arrow-up{
     background: #D9D9D966;
     width: 25px;
     height: 25px;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
}

.switch-surah-wrapper .prev{
    color: gray;
}
.switch-surah-wrapper .next{
    color: #222 !important;
}

.switch-surah-wrapper .prev , .switch-surah-wrapper .next {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 2px 0;
    background: #FFF;
    border-radius: 59px;
}

.audio-player-container{
    display: flex;
    align-items: center;
    justify-content: end;
    width: 100%;
    position: sticky;
    bottom: 0;
    gap: 0.5rem;
    transition: all 0.5s ease-in-out;
}

.player-bar-wrapper{
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    background: #F8F8F9;
    padding: 5px;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.player-bar-wrapper.show{
    width: 95% !important;
}


.float-btn{
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #FFF;
    cursor: pointer;
    transition: all 0.3s ease;
}

.float-btn:hover{
    background: #EBEDEF;
}

.float-btn img{
    width: 50px;
    height: 50px;
}

.abstract-btn{
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent;
}


.range-select-wrapper{
    position: relative;
    width: 58px;
}

.range-select , .recitations-select{
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--primary);
    text-align: center;
    appearance: none;
    width: 55px;
    height: 30px;
    padding: 0  0  0 10px  !important;
}

.recitations-select{
    width: 150px;
    color: var(--primary);
    border: 0;
    outline: 0;
    box-shadow: none;
    background: transparent;
}

.range-select-wrapper,.recitations-select-wrapper{
    display: flex;
    align-items: center;
}

.range-select-wrapper::after, .recitations-select-wrapper::after {
    content: '';
    position: absolute;
    left: 2px;
    top: 50%;
    transform: translateY(-50%);
    background-image: url("/front/assets/new-design/arrow.svg");
    background-repeat: no-repeat;
    background-size: contain;
    background-color: #FFF;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    user-select: none;
    pointer-events: none;
}

.recitations-select-wrapper {
    width: 170px;
    position: relative;
}

.range-text{
    color: grey;
}

.custom-sm-modal .modal-dialog{
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-sm-modal .modal-content{
    border-radius: 16px;
    background: #F5F7F9 !important;
    padding: 0.5rem;
}

.decrease-btn , .increase-btn
{
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #007C89;
    border-radius: 4px;
    outline: none !important;
    box-shadow: none !important;
    height: 25px;
    width: 25px;
    padding: 0;
    background: transparent;
}

.decrease-btn > img, .increase-btn > img{
    width: 12px;
    height: 12px;
}

.repeat-input{
    width: 30px;
    appearance: none !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    margin: 0 8px;
    padding: 0;
    text-align: center;
    color: grey;
    font-weight: bold;
    font-size: 1.3rem;
}

.bg-light-white{
    background: #FCFDFD;
}

.repetition-text{
    color: grey;
    font-size: 1.1rem;
}

.repetition-wrapper hr{
    margin: 0 !important;
    border-top: 1px solid #EBEDEF;
}

.repetition-wrapper .modal-header , .repetition-wrapper .modal-footer{
    border: 0;
}

.rounded-8px{
    border-radius: 8px !important;
}

.text-grey{
    color: grey !important;
}

.parent-drop-down-menu{
    background: #fbfcfc !important;
    padding: 8px !important;
    border-radius: 16px !important;
    width: 220px;
}


.custom-drop-down-btn{
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: #FCFDFD;
    color: grey;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 5px 8px;
    height: 30px;
    border-right: 2px solid #ACD1D5 !important;
}

.custom-drop-down-btn::after{
    content: '';
    position: absolute;
    background: url('/front/assets/new-design/arrow-grey.svg') no-repeat;
    background-size: contain;
    width: 12px;
    height: 7px;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
}

.custom-drop-down-menu{
    max-height: 250px;
    border-radius: 12px;
    overflow-y: auto;
}

.custom-drop-down-item{
    display: block;
    padding: 8px 3px;
    font-size: 0.8rem !important;
    transition: all 0.3s ease;
    color: #A2A9AD !important;
}

.custom-drop-down-item.active{
    color: var(--primary) !important;
}


.custom-drop-down-item:hover{
    background: #007c8905;
    color: var(--primary);
}

.custom-drop-down-item:not(:last-child){
    border-bottom: 1px solid #EEF1F2;
}

.custom-drop-down-btn:not(:last-child){
    margin-bottom: 5px;
}

.translation-label-wrapper{
    padding: 2px;
}

.translation-label{
    background: #e2eff0;
    color: var(--primary);
    border-radius: 6px;
    width: 100%;
    font-size: 12px;
    font-weight: bold;
    padding: 10px 2px;
}


.tafsir-search-input , .translations-search-input ,.surahs-search-input{
    padding: 6px;
    width: 100%;
    color: #A2A9AD;
    border-radius: 8px;
    outline: 0 !important;
    font-size: 14px;
    border: 1px solid #EEF1F2;

}

.search-input-wrapper{
    position: relative;
    padding: 4px;
}

.search-input-wrapper::after{
    content: '';
    position: absolute;
    background: url('/front/assets/new-design/search.svg') no-repeat;
    background-size: contain;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
}


.w-250px{
    width: 250px;
}

.toggle-bar-mobile-btn{
    width: 5%;
    background: #F6F6F7;
    color: #00636E;
    border-radius: 0 8px 8px 0;
    padding: 20px 3px;
}


/*.opacity-1{
   opacity: 1;
}

.opacity-0{
    opacity: 0;
}*/

.opacity-1 {
    transform: translateX(0%);
}

.opacity-0 {
    transform: translateX(-100%);
}

@media (min-width: 300px) {
    .surah-header {
        min-height: 70px;
        gap: 3px;
    }

    .surah-header > div {
        line-height: 1;
    }

    .surah-header .surah-order-number {
        font-size: 0.7rem;
    }

    .navigation .nav-btn{
        min-width: 78px;
        font-size: 0.8rem;
    }

    .navigation .nav-btn > img {
        width: 25px;
        height: 25px;
    }

    .page-number::after {
        background-size: 30px 30px;
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .player-bar-wrapper {
        width: 100%;
        flex-wrap: wrap;
        border-radius: 21px;
        height: 105px;
    }

    .player-buttons {
        order: -1;
        width: 100%;
        justify-content: center;
        margin-left: 20px;
    }

    .recitations-and-toggle-btn-box, .ayah-range {
        width: 100%;
        max-width: 50%;
        border: 1px solid #007c893b;
    }

    .recitations-and-toggle-btn-box{
        border-right: 0;
        border-radius: 10px  0 0 10px;
    }

   .ayah-range{
       border-left: 0;
       border-radius: 0 10px 10px 0;
   }

    .custom-sm-modal .modal-content {
        width: 290px;
    }

    .ayahs-svg-wrapper{
        padding: 1rem;
    }

    .ayahs-text-wrapper{
        padding: 1rem;
        font-size: 18px;
    }

    .switch-surah-wrapper .prev , .switch-surah-wrapper .next{
        width: 100%;
        font-size: 14px;
    }

    .player-bar-wrapper.show{
        width: 95% !important;
    }

    .audio-player-container{
        height: 105px;
    }
}



@media (min-width: 500px)
{
    .surah-header{
        min-height: 90px;
        gap: 10px;
    }

    .ayahs-svg-wrapper{
        padding: 2rem;
    }

    .ayahs-text-wrapper{
        padding: 2rem;
        font-size: 25px;
    }

    .switch-surah-wrapper .prev , .switch-surah-wrapper .next{
        width: 120px;
        font-size: 1.2rem;
    }
}

@media (min-width: 768px)
{
    .surah-header{
        min-height: 150px;
    }

    .navigation .nav-btn{
        min-width: 150px;
        font-size: 1.2rem;
    }

    .navigation .nav-btn > img{
        width: 35px;
        height: 35px;
    }

    .surah-header .surah-order-number{
        font-size: 1.2rem;
    }

    .page-number::after{
        background-size: 50px 50px;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .player-bar-wrapper{
        flex-wrap: nowrap;
        border-radius: 59px;
        width: 80px;
        height: 80px;
    }

    .ayah-range{
        order: 2;
    }

    .player-buttons{
        order: unset;
        width: auto;
        margin-left: unset !important;
    }

    .recitations-and-toggle-btn-box, .ayah-range {
        width: auto;
        max-width: unset;
        border: 0 ;
    }

    .custom-sm-modal .modal-content {
        width: 335px !important;
    }

    .ayahs-svg-wrapper{
        padding: 2rem 5rem;
    }

    .ayahs-text-wrapper{
        padding: 2rem 5rem;
        font-size: 40px;
    }

    .player-bar-wrapper.show{
        width: 100% !important;
    }

    .audio-player-container{
        height: auto;
    }
}

@media (min-width: 991px) {

}
