#qinfo .qrow{
    padding-bottom:20px;
}

#qinfo .qrow .label{
    color:var(--main-primary-dark);
    min-width: 100px;
    text-align: left;
}


#qinfo{
    border-right:5px solid var(--main-secondary);
    padding-right:20px;
}


#estekharehShowRow{
    padding: 40px 20px;
    border-radius: var(--main-radius);
}

#estekharehShowRow #quranPages img{
    background: linear-gradient(90deg, #a79e7f 0%,#fefcf2 10%,#fefcf2 80%,#a79e7f 100%);
    border:5px solid #c7c0a1;
    padding:10px;
}

#estekharehShowRow .descEstekhareh .box{
    margin-bottom: 45px;
    font-size: 12px;
}

#estekharehShowRow .descEstekhareh .mainBox .title{
    font-weight:bold;
    font-size: 20px;
    padding-bottom: 10px;
}

#estekharehShowRow .descEstekhareh .box .title{
    font-weight:bold;
    font-size: 15px;
    padding-bottom: 10px;
}

#estekharehShowRow .descEstekhareh input,
#estekharehShowRow .descEstekhareh button,
#estekharehShowRow .descEstekhareh .btn{
    font-size: 12px;
}

#estekharehShowRow .descEstekhareh .mainBox{
    padding:20px;
    background: #e7e7e7;
    border-radius:20px;
    margin-bottom: 40px;
}
















.book-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
    min-height: 400px;
    margin-top: 40px;
}

.book-spine-container {
    position: relative;
    width: 160px;
    height: 400px;
    background: #5a2f15;
    border-radius: 10px;
    box-shadow:
            inset 2px 0 10px rgba(0,0,0,0.3),
            5px 0 15px rgba(0,0,0,0.2);
    cursor: pointer;
    overflow: visible;
    user-select: none;
    -webkit-user-select: none;
}

.pages-visual {
    position: absolute;
    top: 0;
    bottom: 15px;
    left: 5px;
    right: 5px;
    background: repeating-linear-gradient(to left, #f5f5dc 0px, #f5f5dc 1px, #e8e8d0 1px, #c3c3a7 2px);
    border-radius: 3px;
    border: 1px solid rgba(139, 69, 19, 0.2);
    box-shadow: inset 0 0 20px rgba(0,0,0,0.05);
    overflow: hidden;
}

.book-cover-right {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 3px;
    background: linear-gradient(to left, #6d3a1a, #5a2f15);
    border-radius: 5px;
    box-shadow: inset -1px 0 3px rgba(0,0,0,0.3);
    z-index: 2;
    pointer-events: none;
}

.page-indicator {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 5px;
    background: #ee5a6f;
    box-shadow: 0 0 10px rgba(255, 107, 107, 0.8);
    transition: left 0.05s ease-out;
    pointer-events: none;
    z-index: 5;
}

.book-cover-bottom {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 15px;
    background: #5a2f15;
    border-radius: 0px 0px 20px 20px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.3);
    z-index: 3;
    pointer-events: none;
}

/* Magnifier Loupe */
.magnifier {
    position: absolute;
    width: 120px;
    height: 180px;
    background: white;
    border-radius: 60px;
    box-shadow:
            0 10px 40px rgba(0,0,0,0.3),
            inset 0 0 0 3px rgba(255,255,255,0.5),
            inset 0 0 0 4px rgba(0,0,0,0.1);
    display: none;
    z-index: 100;
    overflow: hidden;
    pointer-events: none;
}

.magnifier.active {
    display: block;
    animation: popIn 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.magnifier-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px;
}

.magnifier-pages {
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: 100%;
}

.magnifier-page {
    text-align: center;
    padding: 5px;
    border-radius: 5px;
    font-size: 13px;
    transition: all 0.1s;
    color: #666;
}

.magnifier-page.current {
    background: linear-gradient(135deg,  #6fc1b3 0%, #129197 100%);
    color: white;
    font-weight: bold;
    font-size: 16px;
    transform: scale(1.1);
}

.magnifier-page.adjacent {
    font-size: 12px;
    color: #999;
}

.info-panel {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 16px;
}

.info-label {
    color: #666;
}

.info-value {
    font-weight: bold;
    color: #333;
}

.current-page-display {
    background: linear-gradient(135deg, #6fc1b3 0%, #129197 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    font-size: 48px;
    font-weight: bold;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.current-page-label {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 10px;
}

.instructions {
    text-align: center;
    color: #666;
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.6;
}

#TranslateModal .modal-body {
    max-height: 60vh; /* یا هر ارتفاعی که می‌خواهید */
    overflow-y: auto;
}


@media (max-width: 600px) {
    .container {
        padding: 20px;
    }

    h1 {
        font-size: 22px;
    }

    .book-spine-container {
        width: 120px;
        height: 350px;
    }

    .current-page-display {
        font-size: 36px;
        padding: 20px;
    }

    .magnifier {
        width: 100px;
        height: 150px;
    }
}