html input, select, textarea, button{
    font-family: "Bona Nova SC";
}
header   {
    background-color: #4c2a18 ;
    color: #ffffff;
    padding: 10px 0;
    text-align: center;
    text-align: -webkit-center;
    width: 100%;
    max-width: 100%;
    box-shadow: 0px 0px 10px 10px rgb(76, 42, 24,0.5);
    justify-content: center;
}
.container {
    justify-content: center; 
    display: grid;
    grid-template-columns: repeat(auto-fill, 250px) ;
    gap: 30px;
    margin-right: 50px;
    max-width: 99%;
    margin-bottom: 80px;
}

body {
    font-family: "Bona Nova SC";
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    background-color: rgb(241, 206, 179);
    display: flex;
    flex-direction: column;
    min-width: -webkit-fill-available;
    row-gap: 50px;
    height: 100vh;
    background-image: url(/images/protocuneiform.svg.png);
    background-size: 10%;
    background-blend-mode: difference;
    justify-items: center;
}
.en_tete button{
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0);
    box-shadow: none;
    padding: 0px;
    border: none;
}
.book {
    background-color: white;
    margin: 10px 0;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-rows: auto 1fr;
    width: 250px;
    box-shadow: 0px 0px 10px 3px rgb(76, 42, 24,0.3);
}

.book h2 {
    margin: 0;
    font-size: 1.5em;
    font-size: medium;
}
.book p {
    margin: 5px 0px;
        font-size: smaller;
}
/*
.en_tete {
    max-height: 200px;
    display: grid;
    grid-template-columns: auto 500px auto 100px;
    align-items: center;
}*/
#divent{
    max-height: 200px;
    display: grid;
    grid-template-columns: auto 100px  500px 100px auto ;
    align-items: center;
    justify-content: space-around;
  padding: 10px 10px;
  margin-top: 10px;
}
.texte{
    align-self: end;
    font-family: "Montserrat";
}
.img_header1 {
    width: 100px;
    text-align: end;
}
.img_header2 {
    width: 100px;
    
}
.header_h{
    max-width: fit-content;
}
#a1{
    justify-self: right;
    cursor: pointer;
}
#a2{
    justify-self: left;
    cursor: pointer;
}
#a3{
    justify-self: right;
    
    cursor: pointer;
}
#a4{
    width: 100px;
    cursor: pointer;
}
#a4 svg{
   fill:#f1ceb3;
}
#a5{
    justify-self: left;
    cursor: pointer;
}
#a6{
    justify-self: right;
    
    cursor: pointer;
}
#a6 svg{
    fill:#f1ceb3;
 }
.book img{
    justify-self: center;
    align-self: center;
    padding-bottom: 10px;
    max-width: 250px;
}
.formulaire{
    background-color: #4c2a18;
    margin-top: 20px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    margin-top: auto;
}
#divform{
    text-align: center;
    width: 100%;
    justify-content: center;
    /*box-shadow: 0px 0px 10px 7px rgb(76, 42, 24,0.5);*/
    display: grid;
    grid-template-columns: auto auto auto ;
    align-items: center;
    padding-top: 10px;
    } 
a {
    text-decoration: none;
    color: black;
    }
legend {
    color: white;
    }
fieldset {
    justify-content: center;
    flex-direction: column;
    border: none;
    display: flex;
}
    
.inputdiv {
    justify-content: center;
    display: grid;
    grid-template-columns: auto auto ;
    align-items: center;
    }
.formulaire_detail{
    display: grid;
    justify-content: center;
    align-items: center;
}
.inputnom{
    background-color: rgb(241, 206, 179);
    border: none;
    box-shadow: 0px 0px 5px 1px #f1ceb3;
    margin: 5px;
    
}
.inputprenom{
    background-color: #f1ceb3;
    border: none;
    box-shadow: 0px 0px 5px 1px #f1ceb3;
    margin: 5px;
   
}
/* --- formulaire suggestion livre --- */
#commentaire{
    margin: 0 60px 30px 60px;
    border: 1px solid #fff;
    background-color: #f1ceb3;
    box-shadow: none;
    border-radius: 5px;
    height: 50px;
}
/* --- fin --- */

textarea {
    background-color: #f1ceb3;
    border: none;
    box-shadow: 0px 0px 5px 1px #f1ceb3;
    margin: 5px;
}
footer button {
    background-color: #f1ceb3;
    border: none;
    box-shadow: 0px 0px 5px 1px #f1ceb3;
    margin: 5px;
    
}
/*
    form pour la connexion
*/
#form1{
    text-align: -webkit-center;
    pointer-events: all;
    border: #000000 solid 3px;
    position: fixed;
    align-content: center;
    min-height: fit-content;
    width: 800px;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%); 
    background-color: #4c2a18 ;
    box-shadow: 0px 0px 2000px 2000px rgba(0, 0, 0, 0.786);
    padding: 20px 0px ;
}
#fieldset1{
    display: grid;
    grid-template-rows: auto auto auto auto auto;
    gap: 10px;
    justify-content: center;
    color: black;
    min-height: fit-content;
}

#legendecompte{
    text-align: center;
    font-size: xx-large;
}
#croix-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: background 0.3s ease;
}

#croix-btn:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

#inscription{
    text-align: center;
    padding: 10px;
    background-color: #f1ceb3;
    border-radius: 5px;
    vertical-align: middle;
    line-height: 50px;
    font-size: large;
    border: black solid 3px;
}
.inputdivconnexion{
    display: grid;
    grid-template-columns: 1fr 1fr ;
    gap: 50px;
    line-height: 50px;
}
#connexion{
    
    border-radius: 5px;
    line-height: 50px;
    background-color: #f1ceb3;
    padding: 10px;
    vertical-align: middle;
    line-height: 50px;
    font-size: large;
    border: black solid 3px;
    cursor: pointer;
}
#deconnexion{
    border-radius: 5px;
    line-height: 50px;
    background-color: #f1ceb3;
    padding: 10px;
    vertical-align: middle;
    line-height: 50px;
    font-size: large;
    border: black solid 3px;
}
#inputnumcompte{
    background-color: #f1ceb3;
    padding: 10px 20px;
    border: #000000 solid 3px;
    border-radius: 5px;
}
#inputmdp{
    background-color: #f1ceb3;
    height: 50x;
    border: black solid 3px;
    border-radius: 5px;
}
/*commentaire push*/
.containercom{
    width: 700px;
    
}
#containerlargecom{
    overflow: auto;
    color: white;
    scrollbar-color: #4e2d1c86 #f1ceb3;
    border: #4c2a18 solid 5px;
    background-color: #4e2d1c86;
    padding: 20px 50px 20px 50px;
    margin: 0px;
    width: 730px;
    height: 800px; 
    color: white;
}

#containerlargecom textarea{
    width: 340px;
    height: 100px;
    justify-self: center;
}
.containercom form{
    gap: 20px;
    display: grid;
    grid-template-rows: auto;
    justify-content: center;
}
#note{
    justify-self: center;
}
#selectionlivre{
    width: 350px;
    justify-self: center;
    background-color: #f1ceb3;
    color: black;
    padding: 5px;
}
#redirect{
    display: none;
}
#buttoncom{
    background-color: #f1ceb3;
    border: #4c2a18 2px solid;
}
.radio{
    visibility:hidden;
    height: 0px;
    
}
.radio input{
    position: absolute;
}
.radio svg{
    visibility:visible;
}
/*Review commentaire*/
#espacepersoadmin{
    display: grid;
    grid-template-columns: auto auto;
    margin: 30px;
    justify-items: center;
    gap: 10px;
}
.reviewcom{
    display: grid;
    grid-template-columns: 3fr 4fr 1fr 1fr;
    gap: 30px;
}
.reviewscoms{
    
    text-align: center;
    line-height: 20px;
    padding-bottom: 30px;
}
.reviewtextcom{
    line-height: 20px;
    text-align: center;
}
.supprcom{
    display: grid;
    grid-template-columns: auto auto;
    height: 30px;
    justify-self: end;
}
.reviewbuttonvalide{
    width: 30px;
    border-radius: 50px;
    background-color: #00000000;
    border: #4c2a18 solid 3px;
    color: white;
    padding-left: 8px;
}
.reviewbuttonsupprime{
    width: 30px;
    border-radius: 50px;
    background-color: #00000000;
    border: #4c2a18 solid 3px;
    color: white;
    padding-left: 8px;
}
#containerlargecom h2{
    text-align: center;
    padding-bottom: 10px;
}
/* Inscripton */
.containerpopup{
    font-family: "Bona Nova SC";
}
#form2{
    text-align: -webkit-center;
    pointer-events: all;
    border: #000000 solid 3px;
    position: fixed;
    align-content: center;
    min-height: fit-content;
    width: 800px;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%); 
    background-color: #4c2a18 ;
    box-shadow: 0px 0px 2000px 2000px rgba(0, 0, 0, 0.786);
    padding: 20px 0px ;
}
#fieldset2{
    display: grid;
    grid-template-rows: auto auto auto auto auto auto;
    gap: 10px;
    justify-content: center;
    color: black;
    min-height: fit-content;
}

#legendecompte2{
    text-align: center;
    font-size: xx-large;
}
#retour2{
    text-align: center;
    background-color: #f1ceb3;
    border-radius: 5px;
    border: black solid 3px;
    padding: 10px;
    vertical-align: middle;
    line-height: 50px;
    font-size: large;
}
#inscription{
    text-align: center;
    padding: 10px;
    background-color: #f1ceb3;
    border-radius: 5px;
    vertical-align: middle;
    line-height: 50px;
    font-size: large;
    border: black solid 3px;
}

.inputdivconnexion2{
    display: grid;
    grid-template-columns: 1fr 1fr ;
    gap: 50px;
    line-height: 50px;
}
#connexion2{
    border-radius: 5px;
    line-height: 50px;
    background-color: #f1ceb3;
    padding: 10px;
    vertical-align: middle;
    line-height: 50px;
    font-size: large;
    border: black solid 3px;
}
#inputnumcompte2{
    background-color: #f1ceb3;
    padding: 10px 20px;
    border: #000000 solid 3px;
    border-radius: 5px;
}
#inputmdp2{
    background-color: #f1ceb3;
    height: 50px;
    border: black solid 3px;
    border-radius: 5px;
}
#inputnom2{
    background-color: #f1ceb3;
    height: 50px;
    border: black solid 3px;
    border-radius: 5px;
}
#inputprenom2{
    background-color: #f1ceb3;
    height: 50px;
    border: black solid 3px;
    border-radius: 5px;
}
#courriel{
    background-color: #f1ceb3;
    height: 50px;
    border: black solid 3px;
    border-radius: 5px;
}
#numcompte{
    color: white;
    text-align: center;
    margin: 0px;
    font-size: x-large;
}
#mdp{
    color: white;
    text-align: center;
    margin: 0px;
    font-size: x-large;
}
#asterisque1{
    color: white;
    font-size: x-small;
}
#asterisque2{
    color: white;
    font-size: x-small;
}
#alerte{
    pointer-events: all;
    border: #000000 solid 3px;
    position: fixed;
    align-content: center;
    min-height: fit-content;
    width: 800px;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%); 
    background-color: #4c2a18 ;
    box-shadow: 0px 0px 2000px 2000px rgba(0, 0, 0, 0.786);
    padding: 20px 0px ;
    color: white;
}
#textalerte{
    color: white;
    text-align: center;
    justify-self: center;
}
/*Emprunt JSON*/
#alerteempruntdiv{
    pointer-events: all;
    border: #000000 solid 3px;
    position: fixed;
    align-content: center;
    min-height: fit-content;
    width: 800px;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%); 
    background-color: #4c2a18 ;
    box-shadow: 0px 0px 2000px 2000px rgba(0, 0, 0, 0.786);
    padding: 20px 0px ;
    color: white;
}
#alerteemprunttext{
    color: white;
    text-align: center;
    justify-self: center;
}
/*Emprunt liste admin*/
#empruntdiv{
    overflow: auto;
    color: white;
    scrollbar-color: #4e2d1c86 #f1ceb3;
    border: #4c2a18 solid 5px;
    background-color: #4e2d1c86;
    padding: 20px 50px 20px 50px;
    margin: 0px;
    width: 730px;
    height: 800px; 
    color: white;
    display: grid;
    grid-template-rows: 1fr 5fr 1fr;
    scrollbar-color: #4e2d1c86 #f1ceb3;
}
#empruntdiv h2{
    justify-self: center;
}
#empruntpetitediv{
    display: grid;
    grid-template-columns: repeat(auto-fill,300px);
    grid-auto-rows: minmax(150px, 200px);
    grid-auto-columns: minmax(150px, 300px);
}
.emprunt{

}
.empruntid{

}
.empruntisbn{

}
.empruntretour{

}
.jsondiv{
    justify-self: center;
    align-self: end;

}
.json{
    color: white;
    align-self: center;
    text-align: center;
    border: #4c2a18 3px solid;
    border-radius: 3px;
    background-color: #00000000;
    padding: 10px 0px;
    margin-top: 20px;
}
/* Validation compte*/
#divcomptevalid{
    overflow: auto;
    justify-content: center; 
    display: grid;
    grid-template-columns: repeat(auto-fill, 700px) ;
    grid-auto-rows: minmax(50px, 50px);
    gap: 30px;
    border: #4c2a18 solid 5px;
    background-color: #4e2d1c86;
    padding: 20px 20px 20px 20px;
    margin: 0px;
    width: 730px;
    height: 800px; 
    color: white;
    scrollbar-color: #4e2d1c86 #f1ceb3;
}
.vcompte{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    width: 650px;
    gap: 30px;
    white-space: nowrap;
}
.vcommptes{
    justify-self: baseline;
    line-height: 10px;
    padding-bottom: 30px;
    display: grid;
    grid-template-columns: auto auto;   
}
.vcomptetexte{
    line-height: 0px;
    text-align: center;
    justify-self: baseline;
}
.vsupprcommpte{
    display: grid;
    grid-template-columns: auto auto;
    height: 30px;
    gap: 20px;
    justify-self: end;
}
.vcomptebuttonvalide{
    width: 30px;
    border-radius: 50px;
    background-color: #00000000;
    border: #4c2a18 solid 3px;
    color: white;
    padding-left: 8px;
}
.vcomptebuttonsupprime{
    width: 30px;
    border-radius: 50px;
    background-color: #00000000;
    border: #4c2a18 solid 3px;
    color: white;
    padding-left: 8px;
    justify-self: end;
}
#divcomptevalid h2{
    text-align: center;
    padding-bottom: 10px;
}
/*Alert erreur déco/connection*/
#msgdecoErreur{
    pointer-events: all;
    border: #000000 solid 3px;
    position: fixed;
    align-content: center;
    min-height: fit-content;
    width: 800px;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%); 
    background-color: #4c2a18 ;
    box-shadow: 0px 0px 2000px 2000px rgba(0, 0, 0, 0.786);
    padding: 20px 0px ;
}
#textmsgdecoErreur{
    color: white;
    line-height: 0px;
    text-align: center;
    justify-self: center;
}
/*Supprimer com perso*/
#supprtitre{
    color: white;
    padding: 20px 0px;
}
.supprcomperso{
    width: 80px;
    background-color: #00000000;
    color: white;
    border-radius: 5px;
}
/*Liste des emprunts personnels*/
#divempruntperso{
    overflow: auto;
    justify-content: center; 
    display: grid;
    grid-template-rows: repeat(auto-fill, 125px) ;
    gap: 30px;
    border: #4c2a18 solid 5px;
    background-color: #4e2d1c86;
    padding: 20px 20px 20px 20px;
    margin: 0px;
    width: 730px;
    height: 800px; 
    color: white;
    scrollbar-color: #4e2d1c86 #f1ceb3;
}
.petitedivrendu{
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 10px;
    color: rgb(0, 177, 0);
    border: #4c2a18 solid 3px;
    border-radius: 5px;
    background-color: #f1ceb3;
    padding: 0px 20px;
}
.petitedivarendre{
    display: grid;
    grid-template-columns: auto auto auto;
    color: black;
    border: #4c2a18 solid 3px;
    border-radius: 5px;
    background-color: #f1ceb3;
}
#titreemprunt{
    align-self: center;
    text-align: center;
}
.petitedivretard{
    display: grid;
    grid-template-columns: auto auto auto;
    color: red;
    border: #4c2a18 solid 3px;
    border-radius: 5px;
    background-color: #f1ceb3;
}
.titrelivreempruntperso{
    line-height: 20px;    
    width: 300px;
    text-align: center;
    padding: 10px;
    align-self: center;
}
.texteempruntperso{
    line-height: 20px;
    align-self: center;
}
.statutempruntperso{
    line-height: 20px;
    align-self: center;
}
#jsondw{
    visibility: hidden;
    color: white;
    align-self: center;
    text-align: center;
    border: #4c2a18 3px solid;
    border-radius: 3px;
    background-color: #00000000;
    padding: 10px 0px;
    margin-top: 20px;
}

/*Liste retard*/
.isbnempruntadmin{
    line-height: 20px;    
    text-align: center;
    padding: 10px;
    align-self: center;
}
.titrelivreempruntadmin{
    line-height: 20px;    
    text-align: center;
    padding: 10px;
    align-self: center;
}
.texteempruntadmin{
    line-height: 20px;
    align-self: center;
}
.statutempruntadmin{
    line-height: 20px;
    align-self: center;
}
.petitedivretardadmin{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    gap: 10px;
    color: rgb(177, 0, 0);
    border: #4c2a18 solid 3px;
    border-radius: 5px;
    background-color: #f1ceb3;
    padding: 0px 20px;
}
/*delete livre*/
#supprdivlivre{
    justify-content: center; 
    display: grid;
    gap: 30px;
    border: #4c2a18 solid 5px;
    background-color: #4e2d1c86;
    padding: 20px 20px 20px 20px;
    margin: 0px;
    width: 730px;
    height: 100px; 
    color: white;

}
/*modif livre*/
#modifdivlivre{
    justify-content: center; 
    display: grid;
    gap: 30px;
    border: #4c2a18 solid 5px;
    background-color: #4e2d1c86;
    padding: 20px 20px 20px 20px;
    margin: 0px;
    width: fit-content;
    height: fit-content; 
    color: white;
}
iframe{
    display: none;
}
#formulairemodif{
    display: grid;
    grid-template-rows: auto auto auto auto auto;
    gap: 20px;
}
#resumeAA{
    display: grid;
    grid-template-columns: auto auto;
}
#resumeB{
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
}
#resumeblock{
    display: grid;
    grid-template-columns: auto auto auto auto  ;
}
#resumeblockb{
    display: grid;
    grid-template-columns: auto auto;
}
#resumeblock2{
    display: grid;
    grid-template-rows: auto auto auto;
}
#divgenre{
    display: grid;
    grid-template-columns: auto auto auto;
}
#divediteur{
    display: grid;
    grid-template-columns: auto auto auto;
}
#divlangue{
    display: grid;
    grid-template-columns: auto auto auto;
}
.minusclick{
    font-size: x-large;
    margin: 0px 20px;
    border-radius: 100%;
    width: 25px;
    height: 25px;
    border: solid 1px #4c2a18;
    text-align: center ;
    align-self: center;
}
/* Aout de livre  */
#ajoutdiv{
    justify-content: center; 
    display: grid;
    gap: 30px;
    border: #4c2a18 solid 5px;
    background-color: #4e2d1c86;
    padding: 20px 20px 20px 20px;
    margin: 0px;
    width: fit-content;
    height: fit-content; 
    color: white;
}
#fromlivreajout{
    display: grid;
    grid-template-rows: auto auto auto auto;
    gap: 20px;
}
#ajoutdiv1{
    display: grid;
    grid-template-columns: auto auto;
    gap: 5px;
}
#ajoutdiv2{
    display: grid;
    grid-template-columns: auto auto;
    gap: 10px;
}
#ajoutdiv3{
    display: grid;
    grid-template-rows: auto auto auto;
    gap: 5px;
}
#redirect2{
    display: none;
}
#isbnajout{
    
}
#titreajout{
    
}
#nbpageajout{
    
}
#ajoutsectionA{
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 5px;
}
#deuxauteurconnu{
    
}
#nomajout{
    
}
#roleajout{
    
}
#unauteurconnu{
    
}
#prenomajout{

}
#ajoutsectionB{
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 5px;
}
#nom2ajout{
    
}
#role2ajout{
    
}
#prenom2ajout{

}
#genreconnu{
    
}
#genreajout{
    
}
#editeurconnu{
    
}
#editeurajout{
    
}
#langueconnu{
    
}
#langueajout{
    
}
#resumeajout{
    
}
#buttonajout{
    
}
/*Pseudonyme modification*/

#divpseudo{
    justify-content: center; 
    display: grid;
    gap: 20px;
    border: #4c2a18 solid 5px;
    background-color: #4e2d1c86;
    padding: 20px 20px 20px 20px;
    margin: 0px;
    width: fit-content;
    height: fit-content; 
    color: white;
    width: 800px;
}
#formpseudo{
    display: grid;
    grid-template-rows: auto;
    gap: 20px;
    text-align: center;
}
#formpseudo button,input{
    background-color: #f1ceb3;

}


/* ----------- formulaire d'ajout de livre ----------- */

.svg_greek_up{
    background-image: url(/images/greek.svg);
    border-image-repeat: repeat;
    border-radius: 5px;
    width: 100%;
    height: 50px;
}

.container-formulaire{
    margin: 0 auto;
    background-color: #a27962;
    opacity: 0.8;
    border: 5px solid #4c2a18;
    border-radius: 30px;
    box-shadow: 0 5px 2vh rgba(0, 0, 0, 0.35);
    border-radius: 20px;
    min-width: 100vh;
}

.champ_obli{
    color: #fff;
    font-size: 1.1rem;
    margin-left: 60px;
    margin-right: 60px;
    margin-bottom: 10px;
}

.buttons > h1{
    font-size: 30px;
    text-align: center;
    padding-top: 50px;
    color: #fff;
}

.buttons{
    margin-bottom: 30%;
}


.input-champ{
    color: #fff;
    display: flex;
    flex-direction: column;
}

.input-champ > label{
    font-size: 1.1rem;
    margin-left: 60px;
    margin-right: 60px;
    margin-bottom: 10px;
}

.input-champ > input{
    margin: 0 60px 30px 60px;
    border: 1px solid #ccc;
    opacity: 0.7;
    background-color: #f1ceb3;
    border-radius: 5px;
    height: 50px;
}

.btn-submit{
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-submit > button{
    margin-bottom: 30px;
    padding: 10px 45px;
    background-color: #4c2a18;
    color: #fff;
    font-size: 12px;
    border: 1px solid;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 10px;
    cursor: pointer;
}

.btn-submit > button:hover{
    background-color: #fff;
    color: #4c2a18;
}

.terme {
    display: flex;
    align-items: center;
    border: 2px solid #ffffff6f;
    border-radius: 50px;
    padding: 5px;
    width: 250px; /* Largeur initiale */
    transition: width 0.4s ease-in-out;
    background: #4c2a18;
    height: 50px;
    padding-left: 40px;
    box-shadow: 0 5px 2vh rgba(0, 0, 0, 0.35);
    margin: 0px auto;
}

.terme:focus-within {
    width: 500px; /* Largeur agrandie quand on clique */
}

.searchbar {
    border: 2px solid #ffffff6f;
    outline: none;
    padding: 10px;
    font-size: 16px;
    border-radius: 20px;
    width: 100%; /* S’adapte à la largeur du formulaire */
    transition: width 0.4s ease-in-out;
}

.searchbtn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.searchbtn svg {
    width: 24px;
    height: 24px;
    color: #ffffff;
    transition: transform 0.2s ease-in-out;
}

.searchbtn:hover svg {
    transform: scale(1.2);
}
.searchbar::placeholder {
    color: #333;
}

#commentaire{
    margin: 0 60px 30px 60px;
    border: 1px solid #ccc;
    border-radius: 5px;
    height: 50px;
}
/* Email*/
#divmdp{
    justify-content: center; 
    display: grid;
    gap: 20px;
    border: #4c2a18 solid 5px;
    background-color: #4e2d1c86;
    padding: 20px 20px 20px 20px;
    margin: 0px;
    width: fit-content;
    height: fit-content; 
    color: white;
    width: 800px;
}
/* ------------ page admin suggestion des livres ------------  */

.container-livresug{
    margin: 0 auto;
    background-color: white;
    border-radius: 10px;
    padding: 2%;
}
 
.container-livresug > p{
    text-align: center;
    font-weight: 600;
}

table {
    border-collapse: collapse;
    border: 1px solid grey;
    font-size: 0.8rem;
    letter-spacing: 1px;
  }
  
thead,tfoot {
  background-color: #f1ceb3;
}
  
th,td {
  border: 1px solid #f1ceb3;
  padding: 8px 10px;
}
  
tbody > tr:nth-of-type(even) {
    background-color: #f1ceb36e;
}

/*Modif mdp*/
#modifmdp{
    display: none;
    pointer-events: all;
    border: #000000 solid 3px;
    position: fixed;
    align-content: center;
    min-height: fit-content;
    width: 800px;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%); 
    background-color: #4c2a18 ;
    box-shadow: 0px 0px 2000px 2000px rgba(0, 0, 0, 0.786);
    padding: 20px 0px ;
    color: white;
}
.buttonaccepte{
    width: 30px;
    border-radius: 50px;
    background-color: #00000000;
    border: #4c2a18 solid 3px;
    color: white;
    padding-left: 8px;
}
.buttonrefus{
    width: 30px;
    border-radius: 50px;
    background-color: #00000000;
    border: #4c2a18 solid 3px;
    color: white;
    padding-left: 8px;
}
.nvmdp{
    justify-content: center; 
    display: grid;
    gap: 20px;
    border: #4c2a18 solid 5px;
    background-color: #4e2d1c86;
    padding: 20px 20px 20px 20px;
    margin: 0px;
    color: white;
    width: 800px;
    min-height: 150px;
}

.nvmdpdiv{
    justify-content: center; 
    display: grid;
    gap: 20px;
    
    margin: 0px;
    color: white;
    width: 800px;
    min-height: 150px;
    grid-template-columns: auto auto ;
}
#nvmdperreur{
    pointer-events: all;
    border: #000000 solid 3px;
    position: fixed;
    align-content: center;
    min-height: fit-content;
    width: 800px;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%); 
    background-color: #4c2a18 ;
    box-shadow: 0px 0px 2000px 2000px rgba(0, 0, 0, 0.786);
    padding: 20px 0px ;
    color: white;
}
/*Mot de passe oublié*/
#mdpoublie{
     border-radius: 5px;
    line-height: 50px;
    background-color: #f1ceb3;
    padding: 10px;
    vertical-align: middle;
    line-height: 50px;
    font-size: large;
    border: black solid 3px;
}

#form3{
    text-align: -webkit-center;
    pointer-events: all;
    border: #000000 solid 3px;
    position: fixed;
    align-content: center;
    min-height: fit-content;
    width: 800px;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%); 
    background-color: #4c2a18 ;
    box-shadow: 0px 0px 2000px 2000px rgba(0, 0, 0, 0.786);
    padding: 20px 0px ;
}
#form3 button{
    color: #000000;
}
#form1 button{
    color: #000000;
}
#form2 button{
    color: #000000;
}
#fieldset3{
    display: grid;
    grid-template-rows: auto auto auto auto auto auto;
    gap: 10px;
    justify-content: center;
    color: black;
    min-height: fit-content;
}

#legendecompte3{
    text-align: center;
    font-size: xx-large;
}
#retour3{
    text-align: center;
    background-color: #f1ceb3;
    border-radius: 5px;
    border: black solid 3px;
    padding: 10px;
    vertical-align: middle;
    line-height: 50px;
    font-size: large;
}
#inscription3{
    text-align: center;
    padding: 10px;
    background-color: #f1ceb3;
    border-radius: 5px;
    vertical-align: middle;
    line-height: 50px;
    font-size: large;
    border: black solid 3px;
}
#boutons3{
    max-width: fit-content;
}
.inputdivconnexion3{
    display: grid;
    grid-template-columns: 1fr 1fr ;
    gap: 50px;
    line-height: 50px;
}
.inputdivconnexion3bis{
    display: grid;
    grid-template-columns: 1fr ;
    gap: 50px;
    line-height: 50px;
}
#connexion3{
    border-radius: 5px;
    line-height: 50px;
    background-color: #f1ceb3;
    padding: 10px;
    vertical-align: middle;
    line-height: 50px;
    font-size: large;
    border: black solid 3px;
}
#inputnumcompte3{
    background-color: #f1ceb3;
    border: #000000 solid 3px;
    border-radius: 5px;
    height: 50px;
}
#inputmdp3{
    background-color: #f1ceb3;
    height: 50px;
    border: black solid 3px;
    border-radius: 5px;
}
#inputmdpconfirmation3{
    background-color: #f1ceb3;
    height: 50px;
    border: black solid 3px;
    border-radius: 5px;
}

#numcompte{
    color: white;
    text-align: center;
    margin: 0px;
    font-size: x-large;
}
#mdp{
    color: white;
    text-align: center;
    margin: 0px;
    font-size: x-large;
}
#alerte{
    pointer-events: all;
    border: #000000 solid 3px;
    position: fixed;
    align-content: center;
    min-height: fit-content;
    width: 800px;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%); 
    background-color: #4c2a18 ;
    box-shadow: 0px 0px 2000px 2000px rgba(0, 0, 0, 0.786);
    padding: 20px 0px ;
    color: white;
}
#textalerte{
    color: white;
    text-align: center;
    justify-self: center;
}
/*Modification de la BDD*/
#divmod{
    justify-content: center; 
    display: grid;
    gap: 20px;
    border: #4c2a18 solid 5px;
    background-color: #4e2d1c86;
    padding: 20px 20px 20px 20px;
    margin: 0px;
    width: fit-content;
    height: fit-content; 
    color: white;
    width: 800px;
}
.modpetitdiv{
    display: grid;
    grid-template-columns: auto auto auto auto ;
    width: 700px;
    height: 50px;
    align-items: center;
}
.modpetitdiv  select{
    height: 20px;
    max-width: 250px;
}
/*barre de recherche*/

#search{

}

/*commentaire valide supprimmer*/
#comvalidesuppr{
    justify-content: center; 
    display: grid;
    gap: 20px;
    border: #4c2a18 solid 5px;
    background-color: #4e2d1c86;
    padding: 20px 20px 20px 20px;
    margin: 0px;
    width: fit-content;
    height: fit-content; 
    color: white;
    width: 800px;
}
.reviewbuttonsupprim{
    width: 90px;
    border-radius: 50px;
    background-color: #00000000;
    border: #4c2a18 solid 3px;
    color: white;
    padding-left: 8px;
}
/*Bannissement*/
#divbannir{
    justify-content: center; 
    display: grid;
    gap: 20px;
    border: #4c2a18 solid 5px;
    background-color: #4e2d1c86;
    padding: 20px 20px 20px 20px;
    margin: 0px;
    width: fit-content;
    height: fit-content; 
    color: white;
    width: 800px;
}
.petitedivban{
    display: grid;
    grid-template-columns: auto auto auto auto auto;
    gap: 20px
}
#limitcompte{
    width: 94px;
    border-radius: 50px;
    background-color: #00000000;
    border: #ffffff solid 1px;
    padding-left: 8px;
    background-color: #4c2a18;
    color: white;

}
#supprcompte{
    width: 59px;
    border-radius: 50px;
    background-color: #00000000;
    border: #ffffff solid 1px;
    padding-left: 8px;
    background-color: #4c2a18;
    color: white;

}
#limitcomptetrue{
    width: 75px;
    border-radius: 50px;
    background-color: #fffdfd;
    border: #ffffff solid 1px;
    padding-left: 8px;
    color: rgb(131, 0, 0);
}
/*compte superadmin*/
/*delete compte admin*/
.cdcdiv{
    display: grid;
    grid-template-columns: auto auto auto auto auto auto;

}
.creationcompteadmin{
    justify-content: center; 
    display: grid;
    gap: 20px;
    border: #4c2a18 solid 5px;
    background-color: #4e2d1c86;
    padding: 20px 20px 20px 20px;
    margin: 0px;
    width: fit-content;
    height: fit-content; 
    color: white;
    width: 800px;
}
/*input com hide*/
.inputhide{
        display: none;

}

/*clef*/
#clef{
    cursor: pointer;
}
/*RGPD*/
#divRGPD{
    display: grid;
    grid-template-rows: auto auto;
    justify-content: end;
    align-content: center;
  padding-right: 50px;
}
#texteRGPD{
    color: #f1ceb3;
    
}
#lienRGPD{
    justify-self: anchor-center;
}


/**/
#commentaire{
    margin: 0 60px 30px 60px;
    border: 1px solid #fff;
    background-color: white;
    background-color: #f1ceb3;
    box-shadow: none;
    border-radius: 5px;
    height: 50px;
}
/* ----------- formulaire d'ajout de livre ----------- */

.svg_greek_up{
    background-image: url(/images/greek.svg);
    border-image-repeat: repeat;
    border-radius: 5px;
    width: 100%;
    height: 50px;
}

.container-formulaire{
    margin: 0 auto;
    background-color: white;
    background-color: #a27962;
    opacity: 0.8;
    border: 5px solid #4c2a18;
    border-radius: 30px;
    box-shadow: 0 5px 2vh rgba(0, 0, 0, 0.35);
    border-radius: 20px;
}

.champ_obli{
    color: #fff;
    font-size: 1.1rem;
    margin-left: 60px;
    margin-right: 60px;
    font-size: 30px;
    text-align: center;
    padding-top: 50px;
    color: #fff;
}

.input-champ{
    color: #fff;
    display: flex;
    flex-direction: column;
}
.input-champ > input{
    margin: 0 60px 30px 60px;
    border: 1px solid #ccc;
    background-color: white;
    opacity: 0.7;
    background-color: #f1ceb3;
    border-radius: 5px;
    height: 50px;
}
/*MDP oublié*/
#numcompte3{
    text-align: center;
    color: #fff;
}
#courriel3{
    text-align: center;
    color: #fff;
}
#mdp3{
    text-align: center;
    color: #fff;
}
/* Pour petits écrans*/
@media screen and (max-width:900px){
    #form1{
       width: 90%; 
    }
    #form2{
        width: 90%; 
     }
    #form3{
        width: 90%; 
     }
     .formulaire{
        display: initial;
        display: flex;
      flex-direction: column;
     }
     #divRGPD{
        justify-content: center;
        align-content: center;
        padding-right: 0px;
      }
}

@media screen and (max-width: 670px) {
    .header_h1{
        font-size: medium;
    }
    #fieldset3{
         gap: 0px;
    }
    #connexion3{
        line-height: normal;
      }
      #inscription{
        line-height: normal;
      }
    
}
@media screen and (max-width: 550px) {

    #a4{ 
        width:"50px";
      }
      #a4 svg{
        width: 30px;
      }
      #a4 span{
        font-size: small;
      }
      #a3 svg{
        width: 30px;
      }
      #a5 svg{
        width: 30px;
      }
      #a6 svg{
        width: 30px;
      }
      #a2{ 
        scale:"0.8";
      }
      #a1{ 
        scale:"0.8";
      }
    #form3{
        
    justify-items: anchor-center
    }
    #form3 #inputnumcompte3,#inputcourriel3,#inputmdp3,#inputmdpconfirmation3{
        line-height:30px;
      }
    #legendecompte3{
        font-size: medium;
        justify-self: center;
    }
    .inputdivconnexion{
      display:flex;
      flex-direction: column;
      gap: 10px;
    
    }
    .inputdivconnexion input{
      height: 40px;
     
    }
    #inputnumcompte{
       padding: 0px;
    }
   
    .en_tete {
        grid-template-columns: auto 200px auto 100px;
    }
    header h1{
        font-size: medium;
    } 
    .texte {
        grid-template-columns: auto;
    }
    .en_tete{
        display: flex
;
      }
    .formulaire {
        display: flex
;
    }
    .inputdiv{
        grid-template-columns: auto;
        justify-content: initial;
          
    }  header {
    }
    .img_header1 {
        width: 50px;
    }
    .img_header2 {
        width: 50px;
        
    }
    #divent{
        display: grid;
        grid-template-columns: auto 50px 150px 50px auto;
        
    }
    #sectioncommentaire{
      font-size: smaller;
    }
   
  .inputdivconnexion2 {
    display: flex;
    flex-direction: column;
     gap: 0px; 
    line-height: normal;
  } 
  .inputdivconnexion3 {
    display: flex;
    flex-direction: column;
     gap: 0px; 
    line-height: 0px;
  }
    #a1{
        align-content: center;
    }
    #a2{
        align-content: center;
    }
    header h1{
        align-self: anchor-center;
    }
    .formulaire{
        background-color: #4c2a18;
        width: 100%;
        display: grid;
        grid-template-columns: auto;
        justify-items: center;
        height: fit-content;
        padding-top: 10px;
    }
    #divRGPD{
    padding-right: 0px;
    }
    #sectioncommentaire{
        margin: 5px;
    }
    .container{
        margin-right: 0px;
    }
    #inputnumcompte2,#inputmdp2{
        line-height: 50px;
    } 
    #fieldset2 {
        display: flex;
        flex-direction: column;
        gap: 10px;
        justify-content: center;
        color: black;
        min-height: fit-content;
    }
    .container{
      margin: 0px;
    }
    #a6 svg{
        width: 30px;
       
    }
    
    .inputdivconnexion3bis {
        display: grid;
        grid-template-columns: 1fr;
         gap: 0px; 
        line-height:normal; 
    }
  }