body {
    background-color: #000;
    color: #fff;
    margin: 0;
    font-family: Arial, sans-serif;
}

/* Styles pour les titres h3 */
h3 {
    color: #333;
    line-height: 1.4;
    text-align: left;
    font-size: 1.6rem;
    margin-bottom: 0.5em;
}

h2 {
    color: #333;
    font-size: 2.2rem;
    line-height: 1.4;
}

h1 {
    text-align: center;
    font-size: 22px;
    margin-bottom: 10px;
    color: #333;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.highlight {
    color: #000000;
    text-decoration: none;
    font-weight: bold;
}

.highlight:hover {
    color: #ffc913;
}

@media (max-width: 980px) {
    #header {
        width: 95%;
        padding: 0.8rem 0;
        align-items: center;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
    }

    #header a {
        font-size: 1.3rem;
    }
}

#footer .image.main img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 500px;
}

#footer {
     /* largeur fluide tout comme #nav */
  width: calc(100% - 4rem); /* 100% de la fenêtre moins 4rem (2rem de padding à gauche + 2rem à droite) */
  max-width: 72rem;         /* ne dépassera jamais 72rem, comme #nav */
  margin: 0 auto;           /* centré horizontalement */
  padding: 0 2rem;          /* 2rem de padding gauche/droite, 0 en haut/bas */
   display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;

    /* padding existant */
    padding: 2rem 0;

    /* centre le footer dans la largeur disponible */
  width: fit-content;         /* ou une largeur fixe, ex. 80% */
  margin: 2rem auto !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@media screen and (max-width: 980px) {
    #footer {
        padding: 1rem 0;
        margin: 0 auto;
    }
    
    main {
        margin-bottom: 0;
    }
}

#footer .image.main {
    width: 100%;
    margin: 0 auto;
    display: block;
}

#footer {
    max-width: 72rem;
    margin: 0 auto;
    padding: 1rem 0;
    text-align: center;
    background-color: #f4f4f4;
    color: #333;
    box-sizing: border-box;
    border-radius: 10px;
    height: auto;
}

@media screen and (max-width: 980px) {
    #footer {
        padding: 1rem 0;
        margin: 15px auto;
    }
}

/* Style pour les logos */
        .logo-footer {
             /* largeur fluide tout comme #nav */
  width: calc(100% - 4rem); /* 100% de la fenêtre moins 4rem (2rem de padding à gauche + 2rem à droite) */
  max-width: 72rem;         /* ne dépassera jamais 72rem, comme #nav */
  margin: 0 auto;           /* centré horizontalement */
  padding: 0 2rem;          /* 2rem de padding gauche/droite, 0 en haut/bas */
  
        padding: 30px;
        background-color: #fff;
        color: #333;
        border-radius:10px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
   
              display: flex;              /* ← ajouter */

            justify-content: center; /* Centre les logos */
            align-items: center;
            gap: 20px; /* Espacement de 20px entre les logos */
        }

        .logo-footer img {
            max-width: 100px; /* Ajustez la taille des logos */
            height: auto;
        }

        /* Responsive design */
        @media (max-width: 810px) {
            .logo-footer {
                flex-direction: column; /* Empiler les logos verticalement sur les petits écrans */
                align-items: center;
                gap: 10px; /* Réduire l'espacement sur les petits écrans */
                            display: flex;

            }

            .logo-footer img {
                    height: 80px;
    transition: transform 0.3s ease;

                margin-bottom: 10px; /* Ajouter un espace entre les logos */
            }
        }

.logo-footer a {
    margin: 0 15px;
    text-decoration: none;
    border: none;
    outline: none;
    display: inline-block;
}



.logo-footer img:hover {
    transform: scale(1.1);
}

.logo-footer:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.logo-link {
    display: inline-block;
    margin-top: 15px;
    margin: 0 15px;
    text-decoration: none;
    border: none;
    outline: none;
    display: inline-block;
}

.logo-link img {
    width: 180px;
    height: auto;
    transition: transform 0.3s ease;
}

.spacer {
    height: 2rem;
    width: 100%;
    max-width: 72rem;
    margin-left: auto;
    margin-right: auto;
    display: block;
    background-color: transparent;
}

@media screen and (max-width: 980px) {
    .spacer {
        height: 2rem;
    }
}

#wrapper {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

#wrapper > .bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("images/bg.jpg"), linear-gradient(0deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
    background-size: cover, cover;
    background-position: center center, center center;
    background-repeat: no-repeat, no-repeat;
    z-index: -1;
}

@media screen and (max-width: 980px) {
    #wrapper > .bg {
        background-size: cover;
        background-position: center center;
    }
}

#wrapper.fade-in:before {
    pointer-events: none;
    transition: opacity 1s ease-in-out;
    transition-delay: 0.75s;
    background: #1e252d;
    content: '';
    display: block;
    height: 100%;
    left: 0;
    opacity: 0;
    position: fixed;
    top: 0;
    width: 100%;
}

body.is-preload #wrapper.fade-in:before {
    opacity: 1;
}

@media (max-width: 980px) {
    .first-post header.major p {
        text-align: center;
    }
}



.first-post h2 {
    font-size: 2.2rem !important;
    font-weight: bold !important;
    text-align: center !important;
    margin-bottom: 15px !important;
    color: #333 !important;
}

.first-post p:first-of-type {
    color: #333;
    text-align: center;
    margin-bottom: 10px;
}

.first-post h2 a {
    text-decoration: none;
    color: inherit;
}

@media (max-width: 768px) {
    .first-post h2 {
        font-size: 2.2rem !important;
        font-weight: bold !important;
        text-align: center !important;
        margin-bottom: 15px !important;
        color: #333 !important;
    }
}

@media (max-width: 980px) {
    .dropdown-menu {
        display: none;
        position: static;
        width: 100%;
        background: #444;
        border-radius: 0;
        box-shadow: none;
    }

    .dropdown-menu li a {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        color: #fff;
    }

    .dropdown-menu li a:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

    .dropdown a .dropdown-arrow {
        color: #fff;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }
}

.simple-stats {
    font-family: Arial, sans-serif;
    max-width: 300px;
    margin: 0 auto;
    padding: 20px;
    line-height: 1.6;
}

.simple-stats h1 {
    text-align: center;
    font-size: 22px;
    margin-bottom: 25px;
    color: #333;
}

.stat-group {
    margin-bottom: 20px;
}

.stat-group h2 {
    font-size: 18px;
    margin: 0 0 8px 0;
    color: #2c3e50;
    font-weight: 600;
}

.stat-line:nth-child(2) .stat-number {
    background-color: #e0e0e0;
}

.stat-line:nth-child(3) .stat-number {
    background-color: #ffeb3b;
}

.stat-line:nth-child(4) .stat-number {
    background-color: #4caf50;
    color: white;
}

.section-stats {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    max-width: 400px;
    margin: 12px auto 24px auto;
    padding: 5px;
    background: #f1f3f5;
    border-radius: 6px;
    font-size: 14px;
    border: 2px solid rgba(0,0,0,0.4);
}

.section-stat {
    text-align: center;
    flex: 1;
    min-width: 80px;
}

.section-stat-value {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 3px;
    color: #2c3e50;
    margin-bottom: 1px;
    line-height: 1;
}

.section-stat-label {
    font-size: 12px;
    color: #666;
    line-height: 2;
}

.hizb-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 400px;
    margin: 0 auto 15px;
    padding: 10px;
    background: #f4f2ea;
    border-radius: 6px;
    border: 3px solid rgba(5,0,0,0.05);
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}
.dalil-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 400px;
    margin: 0 auto 15px;
    padding: 10px;
    background: #f4f2ea;
    border-radius: 6px;
    border: 3px solid rgba(5,0,0,0.05);
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}
.burda-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 400px;
    margin: 0 auto 15px;
    padding: 10px;
    background: #f4f2ea;
    border-radius: 6px;
    border: 3px solid rgba(5,0,0,0.05);
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}
.hizb-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}
.dalil-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}
.burda-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

@media screen and (max-width: 768px) {
    .hizb-item {
        width: 100% !important;
        max-width: 400px !important;
        margin: 0 auto 15px !important;
        padding: 10px !important;
        border-bottom: 1px solid #eee !important;
    }
    .dalil-item {
        width: 100% !important;
        max-width: 400px !important;
        margin: 0 auto 15px !important;
        padding: 10px !important;
        border-bottom: 1px solid #eee !important;
    }
    .burda-item {
        width: 100% !important;
        max-width: 400px !important;
        margin: 0 auto 15px !important;
        padding: 10px !important;
        border-bottom: 1px solid #eee !important;
    }
}

.name-input {
    width: 120px !important;
    background-color: #ffffff!important;
    padding: 6px 10px;
    border: 2px solid #000000 !important;
    border-radius: 3px;
    outline: none;
    font-size: 13px;
    height: 40px !important;
    margin-right: 10px;
    border-radius: 4px!important;
}

.name-input:focus {
    border-color: #4caf50;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
}

.status-btn {
    min-width: 100px;
    height: 40px;
    padding: 0 10px;
    line-height: 40px;
    text-align: center;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 11px;
    align-items: center;
    justify-content: center;
}

.status-disponible {
    background-color: #f1f3f5;
    color: #333;
}

.status-disponible:hover {
    background-color: #d0d0d0;
}

.status-reserve {
    background-color: #c0a31a;
    color: white;
}

.status-reserve:hover {
    background-color: #ffffff;
}

.status-lu {
    background-color: #056240;
    color: #ffffff!important;
}

hr {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #ddd, transparent);
    margin: 25px 20px;
}

.section-counter {
    background-color: #2c3e50;
    color: white;
    border-radius: 12px;
    padding: 2px 8px;
    font-size: 14px;
    font-weight: normal;
}

/* Couleurs spécifiques pour les nombres */
.stat-number.disponible {
    background-color: #8c8c8c; /* Gris pour disponible */
    color: white;
}

.stat-number.reserve {
    background-color: #c0a31a; /* Jaune pour réserve */
    color: white;
}

.stat-number.lu {
    background-color: #056240; /* Vert pour lu */
    color: white;
}

 
.stat-category {
    font-weight: bold;
    text-transform: uppercase;
    min-width: 80px;
    margin-right: 25px;
    color: #2c3e50;
    font-size: 16px;
}

.horizontal-stats {
    font-family: Arial, sans-serif;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    display: flex;
    justify-content: center;
}

.stats-wrapper {
    display: flex;
    flex-direction: column;
    gap: 5px; /* Réduit de 10px à 5px */
    align-items: center;
    margin-bottom: 8px; /* Réduit de 10px à 8px */
}

.stats-line {
    display: flex;
    align-items: center;
    gap: 5px; /* Ajout pour réduire l'espace entre les éléments */
    margin: 0; /* Supprime les marges par défaut */
}

.stat-category2 {
    font-weight: bold;
    text-transform: uppercase;
    width: 80px; /* Réduit de 100px à 80px */
    color: #2c3e50;
    font-size: 14px; /* Réduit de 16px à 14px */
    text-align: left;
    display: flex;
    align-items: center;
    margin-right: 10px; /* Ajout pour contrôler l'espace */
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 3px; /* Réduit de 5px à 3px */
    margin-right: 15px; /* Réduit de 30px à 15px */
}

.stat-item:last-child {
    margin-right: 0;
}

.stat-number {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border-radius: 4px;
    text-align: center;
    width: 26px; /* Réduit de 30px à 26px */
    height: 26px; /* Réduit de 30px à 26px */
    color: white;
    margin-right: 5px; /* Réduit de 8px à 5px */
    font-size: 12px; /* Ajout pour uniformiser */
}

/* Media queries consolidées */
@media screen and (max-width: 571px) {
    .stats-wrapper {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .stat-item {
        flex: 1 1 auto;
        min-width: 70px; /* Réduit de 80px à 70px */
        margin-right: 10px; /* Ajout pour mobile */
    }
    
    .stat-category2 {
        display: none;
    }
}

/* Suppression des doublons de media queries */
.container1 {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

@media screen and (max-width: 429px) {
    .main-second {
        width: 100%;
        max-width: 0px;
        margin: 0 auto;
        padding: 15px;
        align-items: center;
    }

    .name-input {
        width: 100px !important;
    }
    
    .status-btn {
        min-width: 80px;
    }
}

#silka-forme input,
#silka-forme textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

#silka-forme label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}



ul.icons {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding: 0;
    list-style: none;
    margin: 0;
    align-items: center;
}

ul.icons li {
    display: inline-block;
    padding: 0;
    margin: 0 0.25rem;
}

ul.icons li a {
    margin: 0;
    padding: 0;
}

.second-block ul {
    list-style-position: inside;
    padding-left: 20px;
    margin-top: -20px;
    margin-bottom: 0;
}

.second-block ul li {
    text-align: left;
    margin-bottom: 5px;
}

@media (max-width: 980px) {
    .second-block ul li {
        margin-bottom: 0px;
    }
}



.first-post h2 {
    font-size: 3rem !important;
    font-weight: bold !important;
    text-align: center !important;
    margin-bottom: 15;}
    
    
    
    
    
    
    
    
    
    
    
     /* Style spécifique pour le mode suppression */
.delete-mode .login-container {
    border: 2px solid #e63946;
    animation: pulseWarning 1s infinite;
}

@keyframes pulseWarning {
    0% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.2); }
    70% { box-shadow: 0 0 0 15px rgba(230, 57, 70, 0); }
    100% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0); }
}



    
    .congrats-message {
    text-align: center;
    margin: 15px 0;
    line-height: 1.5;
}

.congrats-line {
    display: block;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 5px;
}

.details-line {
    display: block;
    font-size: 14px;
}

/* Version desktop - si besoin d'un affichage différent */
@media (min-width: 619px) {
    .congrats-message {
        display: inline-block;
    }
    
    .congrats-line::after {
        content: " "; /* Espace après "Félicitations!" en desktop */
    }
    
    .congrats-line,
    .details-line {
        display: inline;
    }
}
    
   /* Styles pour le message de complétion (inchangé sur desktop) */
 
   
   
 #completion-message {
    display: block;              /* Rend le div visible et prend toute la largeur disponible */
    background: #4CAF50;         /* Fond vert clair */
    padding: 20px;               /* Espace intérieur autour du contenu */
    font-family: Arial, sans-serif;  /* Police simple et lisible */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    background-color: #4CAF50;
    color: white;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    animation: fadeIn 0.5s;
    max-width: 90%;
    text-align: center;
     flex-direction: column;
    align-items: center;
    justify-content: center;
}



   
   
   
  .completion-message {
        display: block;

    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    background-color: #4CAF50;
    color: white;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    animation: fadeIn 0.5s;
    max-width: 90%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    display: none; /* caché par défaut */
}

.completion-message h3,
.completion-message p {
    text-align: center;
    width: 100%; /* prend toute la largeur disponible */
}

.completion-message h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.completion-message p {
    font-weight: 600;
    font-size: 14px;
    line-height: 1.5;
    margin: 5px 0;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}



.delete-btn:hover {
    background-color: #ffffff !important;
    color: #c0a31a !important;
}

/* Pour mobile */
@media (max-width: 619px) {
    .completion-message {
        padding: 20px 15px;
        width: 85%;
    }

    .completion-message h3 {
        font-size: 16px;
    }

    .completion-message p {
        font-size: 13px;
    }

    .delete-btn {
        font-size: 14px;
        padding: 10px 8px;
        min-height: 50px;
    }
}       
        .disabled-btn {
            opacity: 0.6;
            cursor: not-allowed;
        }
        
        
        
    
    
        /* Style pour les logos */
        .logo-footer {
             /* largeur fluide tout comme #nav */
  width: calc(100% - 4rem); /* 100% de la fenêtre moins 4rem (2rem de padding à gauche + 2rem à droite) */
  max-width: 72rem;         /* ne dépassera jamais 72rem, comme #nav */
  margin: 0 auto;           /* centré horizontalement */
  padding: 0 2rem;          /* 2rem de padding gauche/droite, 0 en haut/bas */
  
        padding: 30px;
        background-color: #fff;
        color: #333;
        border-radius:10px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
   
            
            justify-content: center; /* Centre les logos */
            align-items: center;
            gap: 20px; /* Espacement de 20px entre les logos */
        }

        .logo-footer img {
            max-width: 100px; /* Ajustez la taille des logos */
            height: auto;
        }

        /* Responsive design */
        @media (max-width: 768px) {
            .logo-footer {
                flex-direction: column; /* Empiler les logos verticalement sur les petits écrans */
                align-items: center;
                gap: 10px; /* Réduire l'espacement sur les petits écrans */
                            display: flex;

            }

            .logo-footer img {
                margin-bottom: 10px; /* Ajouter un espace entre les logos */
            }
        }
    

        
        .info-item {
            margin: 1px 0;
margin-right: 10px;
font-size: 14px;
            display: flex;
            align-items: center;
  align-items: baseline; /* aligne la ligne de base des éléments (icône ↔ première ligne de texte) */

        }

.info-section {
border-radius: 8px;
margin-bottom: 0px;
margin: 0px !important;
}

.info-item i {
margin-right: 10px;
}


.info-content {
  display: block;
  overflow: hidden;
}

.info-label {
  width: 120px; /* Ajuste cette largeur selon tes besoins */
  font-weight: bold;
  vertical-align: top;
}

.info-text {
  display: inline-block;
  vertical-align: top;
  /* Si besoin, tu peux ajouter une marge à gauche */
  /* margin-left: 10px; */
}



.info-block {
  position: relative;       /* Pour positionner l'icône en absolu par rapport à ce bloc */
  padding-left: 25px;       /* Espace réservé à l'icône */
  margin-bottom: 10px;
  /* Optionnel : ajouter une bordure ou un fond pour visualiser le bloc */
}

.info-block i {
  position: absolute;       /* L'icône est positionnée par rapport au .info-block */
  top: 10px;                   /* Toujours alignée en haut */
  left: 0;
  text-align: center;
      font-size: 1.2em;          /* Taille de l'icône */
}

.info-content {
  line-height: 1.4;         /* Optionnel : pour améliorer la lisibilité du texte */
}




!protege image		 
/* Conteneur d'image avec protection */
.img-protected {
position: relative;
display: inline-block;
text-align: center;
}

/* L'image */
.logo-selah {
display: block;
max-width: 100%;
height: auto;
user-select: none;
-webkit-user-drag: none;
pointer-events: auto;
}

/* Overlay transparent par-dessus */
.img-overlay {
position: absolute;
top: 0; left: 0;
width: 100%;
height: 100%;
z-index: 10;
background: transparent;
pointer-events: all;
}
    
    
    
    
    .completion-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    background-color: #4CAF50;
    color: white;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    text-align: center;
    display: none;
    flex-direction: column;
    max-width: 90%;
}

.delete-btn {
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 20px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.delete-btn:hover {
    background-color: #d32f2f;
}
   
   
   
   
   
   
   
   
   
   
   
   /* Style de base */
.congrats-message {
    text-align: center;
    margin: 15px 0;
    line-height: 1.5;
}

.congrats-line {
    display: block;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 5px;
}

.details-line {
    display: block;
    font-size: 14px;
}

/* Version desktop - si besoin d'un affichage différent */
@media (min-width: 619px) {
    .congrats-message {
        display: inline-block;
    }
    
    .congrats-line::after {
        content: " "; /* Espace après "Félicitations!" en desktop */
    }
    
    .congrats-line,
    .details-line {
        display: inline;
    }
}
    
   /* Styles pour le message de complétion (inchangé sur desktop) */
.completion-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    background-color: #4CAF50;
    color: white;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    animation: fadeIn 0.5s;
    max-width: 90%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.completion-message h2 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.completion-message p {
    font-weight: 600;
    font-size: 14px;
    line-height: 1.5;
    color: #ffffff;
    margin: 0;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Styles pour le bouton de suppression (inchangé sur desktop) */
.delete-btn {
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 20px;
    transition: all 0.3s ease;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    word-break: break-word;
    white-space: normal;
    overflow-wrap: break-word;
    line-height: 1.4;
}

/* Uniquement les modifications pour mobile */
@media (max-width: 619px) {
    .completion-message {
        padding: 20px 15px; /* Légère réduction du padding */
        width: 85%; /* Utilisation plus efficace de l'espace */
        align-items: center; /* Centrage horizontal */
        justify-content: center; /* Centrage vertical */
        text-align: center; /* Double assurance */
    }
    
    
.completion-message h3 {
        font-size: 16px; /* Taille de police légèrement réduite */
        align-items: center; /* Centrage horizontal */
        justify-content: center; /* Centrage vertical */
        text-align: center; /* Double assurance */
    }
    
    .completion-message p {
        font-size: 13px; /* Taille de police légèrement réduite */
        align-items: center; /* Centrage horizontal */
        justify-content: center; /* Centrage vertical */
        text-align: center; /* Double assurance */
        
    }

    .delete-btn {
        font-size: 14px;
        padding: 10px 8px; /* Padding légèrement réduit */
        min-height: 55px; /* Hauteur minimale garantie */
    }
}




.delete-btn:hover {
    background-color: #ffffff !important;
color: #c0a31a !important;
}
        
        .disabled-btn {
            opacity: 0.6;
            cursor: not-allowed;
        }
        
        
        
    .info-item {
            margin: 1px 0;
margin-right: 10px;
font-size: 14px;
            display: flex;
            align-items: center;
  align-items: baseline; /* aligne la ligne de base des éléments (icône ↔ première ligne de texte) */

        }

.info-section {
border-radius: 8px;
margin-bottom: 0px;
margin: 0px !important;
}

.info-item i {
margin-right: 10px;
}

       
        
        
    
    
    
    
     
    /* Styles silka2.phpe */

    
    
    /* Styles simplifiés pour la mise en page verticale */
    .hizb-item {
        margin-bottom: 15px;
        padding: 10px;
        border-bottom: 1px solid #eee;
        display: flex;
        align-items: center;
    }
    
    .hizb-title {
        display: inline-block;
        width: 120px;
        font-weight: bold;
    }
    
    .hizb-controls {
        display: flex;
        margin-left: 10px;
        align-items: center;
    }
    
    
    .dalil-title {
        display: inline-block;
        width: 120px;
        font-weight: bold;
    }
    
    .dalil-controls {
        display: flex;
        margin-left: 10px;
        align-items: center;
    }
    .burda-title {
        display: inline-block;
        width: 120px;
        font-weight: bold;
    }
    
    .burda-controls {
        display: flex;
        margin-left: 10px;
        align-items: center;
    }
    
    .name-input {
        width: 150px;
        padding: 5px;
        margin-right: 5px;
    }
    
    .status-btn {
    min-width: 100px;
    height: 40px;
    padding: 0 10px;
    line-height: 40px;
    text-align: center;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 11px;
    align-items: center;
    justify-content: center;
}
    
     .status-disponible { background-color: #f1f3f5; color: white; }
         .status-reserve { background-color: ##C0A31A; color: black; }
         .status-lu { background-color: #056240; color: white; }

    
    
    .section-stats {
        display: flex;
        justify-content: space-around;
        margin-bottom: 20px;
    }
    
    .section-stat {
        text-align: center;
    }
    
    .section-stat-value {
        font-size: 20px;
        font-weight: bold;
    }
    
   @media (max-width: 419px) {
    .status-btn {
        min-width: 80px !important;  /* Réduire la largeur minimale */
        width: auto !important;      /* Permettre au bouton de s'adapter */
        padding: 0 5px !important;   /* Réduire le padding */
        font-size: 10px !important;  /* Réduire légèrement la taille du texte */
        height: 35px !important;     /* Réduire la hauteur */
        line-height: 35px !important;
    }
    
    .name-input {
        width: 100px !important;     /* Réduire la largeur du champ de saisie */
        margin-right: 3px !important;
    }
    
    
    
    
    .hizb-title {
        width: 90px !important;      /* Réduire la largeur du titre */
        font-size: 12px !important;
    }
    
    /* Ajuster les marges pour gagner de l'espace */
    .hizb-item {
        padding: 5px !important;
        margin-bottom: 10px !important;
    }
    
    /* Ajustements spécifiques pour le texte dans les boutons */
    .status-reserve, .status-lu {
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 120px !important;
    }
}

@media (max-width: 419px) {
    /* Ajustement pour avoir la même largeur que le bouton */
    .name-input {
        width: 80px !important;          /* Même largeur que le bouton */
        min-width: 80px !important;      /* Largeur minimale identique */
        max-width: 80px !important;      /* Largeur maximale identique */
        padding: 5px !important;         /* Padding harmonisé */
        margin-right: 5px !important;    /* Marge ajustée */
        box-sizing: border-box !important; /* Inclut padding dans la largeur */
    height: 35px !important;     /* Réduire la hauteur */
        line-height: 35px !important;
    }
   
}


@media (max-width: 419px) {
    /* Champ texte */
    .name-input {
        width: 80px !important;
        min-width: 80px !important;
        padding: 5px !important;
        margin-right: 5px !important;
        box-sizing: border-box !important;
    }

    /* Bouton Réserver uniquement */
    .status-btn.status-disponible {
        width: 80px !important;
        min-width: 80px !important;
        padding: 0 5px !important;
    }

    /* Conteneur - ajustement pour l'alignement */
    .hizb-controls {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
    }
}



.info-content {
  display: block;
  overflow: hidden;
}

.info-label {
  width: 120px; /* Ajuste cette largeur selon tes besoins */
  font-weight: bold;
  vertical-align: top;
}

.info-text {
  display: inline-block;
  vertical-align: top;
  /* Si besoin, tu peux ajouter une marge à gauche */
  /* margin-left: 10px; */
}



.info-block {
  position: relative;       /* Pour positionner l'icône en absolu par rapport à ce bloc */
  padding-left: 25px;       /* Espace réservé à l'icône */
  margin-bottom: 10px;
  /* Optionnel : ajouter une bordure ou un fond pour visualiser le bloc */
}

.info-block i {
  position: absolute;       /* L'icône est positionnée par rapport au .info-block */
  top: 2px;                   /* Toujours alignée en haut */
  left: 0;
  text-align: center;
      font-size: 1.2em;          /* Taille de l'icône */
}

.info-content {
  line-height: 1.4;         /* Optionnel : pour améliorer la lisibilité du texte */
}



!protege image		 
/* Conteneur d'image avec protection */
.img-protected {
position: relative;
display: inline-block;
text-align: center;
}

/* L'image */
.logo-selah {
display: block;
max-width: 100%;
height: auto;
user-select: none;
-webkit-user-drag: none;
pointer-events: auto;
}

/* Overlay transparent par-dessus */
.img-overlay {
position: absolute;
top: 0; left: 0;
width: 100%;
height: 100%;
z-index: 10;
background: transparent;
pointer-events: all;
}
