.qr-heading {
    text-align: center;
    font-size: 24px;
    margin: 20px 0;
}

.qr-parah-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.qr-parah-link {
    padding: 10px 15px;
    background: #007cba;
    color: white;
    border-radius: 8px;
    text-decoration: none;
}

.qr-parah-link:hover {
    background: #005f8d;
}

.qr-parah-title {
    text-align: center;
    margin-bottom: 20px;
    font-size: 20px;
}

.qr-image-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qr-page-img {
    max-width: 100%;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.qr-container {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

#qr-parah-selector {
    padding: 8px;
    margin: 20px 0;
    font-size: 16px;
}

.qr-image-wrapper img.qr-single-page {
    max-width: 100%;
    margin: 20px 0;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.qr-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-bottom: 30px;
}

.qr-page-btn {
    padding: 6px 12px;
    background: #007cba;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 5px;
}

.qr-page-btn.active {
    background: #005f8d;
}
.qr-container {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

#qr-parah-selector {
    padding: 10px 16px;
    margin: 20px 0;
    font-size: 16px;
    border: 2px solid #007cba;
    border-radius: 8px;
    outline: none;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
}

#qr-parah-selector:hover,
#qr-parah-selector:focus {
    border-color: #005f8d;
    background-color: #fff;
}

.qr-image-wrapper img.qr-single-page {
    max-width: 100%;
    margin: 20px auto;
    box-shadow: 0 0 12px rgba(0,0,0,0.2);
    cursor: pointer;
    border-radius: 10px;
}

.qr-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin: 20px 0 40px;
}

.qr-page-btn, .qr-prev-btn, .qr-next-btn {
    padding: 6px 14px;
    background: #007cba;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.3s ease;min-height: 47px;
    min-width: 45px;
}

.qr-page-btn.active,
.qr-page-btn:hover,
.qr-prev-btn:hover,
.qr-next-btn:hover {
    background: #005f8d;
}

/* Lightbox styling */
#qr-lightbox {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

#qr-lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}
.qr-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

#qr-parah-selector {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

#qr-reader-area {
    text-align: center;
}

#qr-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#qr-lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}
.qr-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

#qr-parah-selector {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

#qr-reader-area {
    text-align: center;
}

#qr-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#qr-lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

/* Centered Heading for the Parah selection */
.select-parah-heading {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
    font-family: 'Arabic', sans-serif;
}

/* Styling for the Parah Selector */
#qr-parah-selector {
    display: block;
    width: 100%;
    padding: 10px;
    font-size: 16px;
    font-family: 'Arial', sans-serif;
    margin: 0 auto;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin-bottom: 20px;
}
.qr-single-page {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px auto;
}



button.qr-prev, button.qr-next {
    border-bottom-right-radius: 10px !important;
    border-bottom-left-radius: 10px !important;
    border-top-right-radius: 10px !important;
    border-top-left-radius: 10px !important;
}
/*
button.qr-page-btn {
    background: #ffffff00 !important;
    border: 1px solid #ccc !important;
    color: #000000 !important;
}
.qr-page-btn.active, .qr-page-btn:hover, .qr-prev-btn:hover, .qr-next-btn:hover {
    background: #54b435 !important;
}
*/