body {
    margin: 0;
    padding: 0px;
    background: #eee;
    font-family: "Scheherazade New", "Amiri", serif;
}

body img{
    width: 100%;
    height: auto;
    display: block;
    margin: auto;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);

}

/* PAGE MUSHAF */
.mushaf-page {
    position: relative;
    background: #fff;
    max-width: 720px;
    margin: auto;
    padding: 25px 15px;
    border: 3px solid #8b7d6b;
}

/* CADRE INTERNE */
.mushaf-page::before {
    content: "";
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    bottom: 14px;
    border: 1.5px solid #8b7d6b;
    pointer-events: none;
}

/* ORNEMENTS COINS */
.mushaf-page::after {
    content: "۞";
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 15px;
    color: #8b7d6b;
    background: #fff;
    padding: 0 8px;
}

/* TITRE SOURATE ENCADRÉ – COULEUR MUSHAF */
.sourate-title {
    display: table;
    margin: 35px auto 18px;
    padding: 8px 30px;
    border: 2px solid #8b7d6b;
    background: #f7f3ea; /* beige mushaf */
    color: #3b2f24;
    font-size: 26px;
    font-weight: bold;
    text-align: center;
    position: relative;
}

/* ORNEMENTS LATÉRAUX */
.sourate-title::before,
.sourate-title::after {
    content: "۞";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #8b7d6b;
}

.sourate-title::before {
    left: 10px;
}

.sourate-title::after {
    right: 10px;
}


/* BASMALA */
.basmala {
    text-align: center;
    font-size: 24px;
    margin-bottom: 18px;
}

/* VERSETS */
.ayahs {
    direction: rtl;
    unicode-bidi: embed;
    text-align: justify;
    font-size: 28px;
    line-height: 2.2;
    margin-bottom: 35px;
}


/* ===== NOUVEAU : BARRE DE NAVIGATION AJOUTÉE À LA FIN ===== */
/* ===== SANS MODIFIER TES STYLES EXISTANTS ===== */

.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 15px;
    background: white;
    color: #b45f06;  /* Harmonisé avec ta couleur */
    text-decoration: none;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    border: 2px solid #d98c40;  /* Harmonisé avec ta couleur */
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-btn.disabled {
    opacity: 0.5;
    border-color: #ccc;
    color: #999;
    background: #f5f5f5;
    cursor: default;
    pointer-events: none;
}

.nav-btn:not(.disabled):hover {
    background: #d98c40;  /* Harmonisé avec ta couleur */
    color: white;
    border-color: #b45f06;
}