/* Style personnalisé pour le formulaire et le certificat */
#form_facture {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ccc;
    background-color: #333333;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#form_facture label {
    display: block;
    margin: 10px 0 5px;
}

#form_facture input, #form_facture select {
    width: 100%;
    padding: 8px;
    margin: 5px 0 10px;
    border: 1px solid #ccc;
}

#form_facture input[readonly] {
    background-color: #154782;
}

#form_facture input[type="submit"] {
    width: auto;
    background-color: #154782;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
}

#form_facture input[type="submit"]:hover {
    background-color: #154782;
}

#token_display, #certificat_details {
    margin-top: 20px;
    padding: 15px;
    background-color: #444444;
    border: 1px solid #ccc;
    color: #ffffff;
    text-align: center;
}

#certificat_details h2 {
    margin-bottom: 15px;
    color: #ffffff;
}

#certificat_details {
    margin-top: 20px;
    padding: 15px;
    background-color: #444444;
    border: 1px solid #ccc;
    color: #ffffff;
    text-align: center;
}

#certificat_details h2 {
    margin-bottom: 15px;
    color: #ffffff;
}

#download_certificat {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #154782;
    color: #ffffff;
    border: none;
    cursor: pointer;
    display: inline-block; /* Assure que le bouton est centré */
    text-align: center; /* Centre le texte à l'intérieur du bouton */
}

#download_certificat:hover {
    background-color: #0056b3; /* Couleur du bouton au survol */
}

#certificat_details a {
    color: #154782; /* Utilisez la même couleur que votre bouton */
    text-decoration: underline; /* Ajoutez un soulignement si vous le souhaitez */
}

#certificat_details a:hover {
    color: #0056b3; /* Couleur du lien au survol */
}
#certificat_image {
    max-width: 200px; /* Ajustez la largeur selon vos besoins */
    height: auto;
    display: block;
    margin: 20px auto; /* Centre l'image horizontalement */
}

/* Styles pour le formulaire de recherche de token */
#search_form {
    max-width: 600px;
    margin: 20px auto;
    padding: 10px;
    border: 1px solid #ccc;
    background-color: #333333;
    color: #ffffff;
    text-align: center; /* Centre le contenu du formulaire */
}

#search_form input[type="text"] {
    width: calc(100% - 20px);
    padding: 8px;
    margin: 5px 0;
    border: 1px solid #ccc;
}

#search_form input[type="submit"] {
    background-color: #154782;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    margin-top: 10px;
}

#search_form input[type="submit"]:hover {
    background-color: #0056b3;
}
