/* Quran Window Styles */
.quran-window {
    width: 750px;
    height: 550px;
    min-width: 400px;
    min-height: 350px;
    background-color: rgb(255, 255, 255);
    backdrop-filter: none;
}

.quran-window .title-bar {
    background-color: rgb(255, 255, 255);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.quran-content {
    height: calc(100% - 40px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
}

.quran-image-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #fff;
    position: relative;
    touch-action: none;
}

.quran-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.1s ease-out;
    transform-origin: center center;
    user-select: none;
    -webkit-user-drag: none;
}

.quran-controls {
    height: 40px;
    min-height: 40px;
    flex-shrink: 0;
    background-color: #f5f5f5;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    box-sizing: border-box;
}

.quran-controls-left,
.quran-controls-right {
    width: 50px;
    height: 100%;
    display: flex;
    align-items: center;
}

.quran-controls-left {
    justify-content: flex-start;
}

.quran-controls-right {
    justify-content: flex-end;
}

.quran-controls-center {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quran-control-icon {
    width: 18px;
    height: 18px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.quran-control-icon:hover {
    opacity: 0.7;
}

.quran-reader-name {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #333;
    text-align: center;
    line-height: 1;
    margin: 0;
    padding: 0;
}

/* Ensure image maintains aspect ratio on window resize */
@media screen {
    .quran-window .quran-image {
        width: 100%;
        height: auto;
    }
} 