body {
    font-family: Arial, sans-serif;
    background-color: #f2f2f2;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: #333;
    color: white;
    padding: 10px 0;
    text-align: center;
}

h1 {
    font-weight: bold;
}

h5{
    flex: auto;
}

nav ul {
    list-style-type: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 10px;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

main {
    flex: 1;
    padding: 20px;
    text-align: center;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px 0;
}

.content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.content-wrapper p {
    flex: 1;
    margin: 0;
}

.img-right {
    display: block;
    margin: 0 auto; /* Centre l'image horizontalement */
    max-width: 75%;
    height: auto;
    padding-top: 10px;
    flex: 0 1 200px; /* Cette ligne peut être supprimée si l'image n'est pas dans un conteneur flex */
}

input[type="file"] {
    display: none; /* Cache le champ de fichier par défaut */
}

.button-upload {
    display: inline-block;
    background-color: #4CAF50; /* Couleur de fond */
    color: white; /* Couleur du texte */
    padding: 10px 20px; /* Espacement intérieur */
    text-align: center; /* Centrage du texte */
    text-decoration: none; /* Supprime les soulignements */
    font-size: 16px; /* Taille de police */
    cursor: pointer; /* Curseur de type main */
    border: none; /* Pas de bordure */
    border-radius: 5px; /* Coins arrondis */
}

.button-upload:hover {
    background-color: #45a049; /* Couleur de fond au survol */
}

/* Bouton de soumission */
.button-submit {
    background-color: #008CBA; /* Couleur de fond */
    color: white; /* Couleur du texte */
    padding: 10px 20px; /* Espacement intérieur */
    text-align: center; /* Centrage du texte */
    text-decoration: none; /* Supprime les soulignements */
    font-size: 16px; /* Taille de police */
    cursor: pointer; /* Curseur de type main */
    border: none; /* Pas de bordure */
    border-radius: 5px; /* Coins arrondis */
}

.button-submit:hover {
    background-color: #006080; /* Couleur de fond au survol */
}

/* Boutons de sélection de banque */
.button-bank {
    display: inline-block;
    background-color: #f0ad4e; /* Couleur de fond */
    color: white; /* Couleur du texte */
    padding: 10px 20px; /* Espacement intérieur */
    text-align: center; /* Centrage du texte */
    text-decoration: none; /* Supprime les soulignements */
    font-size: 16px; /* Taille de police */
    cursor: pointer; /* Curseur de type main */
    border: none; /* Pas de bordure */
    border-radius: 5px; /* Coins arrondis */
    margin: 10px; /* Espacement entre les boutons */
}

.button-bank:hover {
    background-color: #ec971f; /* Couleur de fond au survol */
}

form {
    padding-top: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-group {
    display: flex;
    justify-content: flex-end;
    width: 400px; /* Ajuste selon la largeur souhaitée */
    margin-bottom: 10px;
}

label {
    margin-right: 10px;
    text-align: right;
    width: 200px; /* Ajuste selon la largeur souhaitée */
}

input {
    width: 180px; /* Ajuste selon la largeur souhaitée */
}


#paypal-container {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


.status-badge {
    padding: 8px 15px;
    border-radius: 20px;
    display: inline-block;
    margin: 10px 0;
    font-weight: bold;
}

.status-active { background: #28a745; color: white; }
.status-non-renouvelle { background: #ffc107; color: black; }
.status-desactive { background: #dc3545; color: white; }

/* Bouton d'annulation */
.btn-cancel {
    background: #dc3545;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    margin-top: 15px;
}


.card {
    border-radius: 10px;
}
.list-group-item {
    background: transparent;
    padding-left: 0;
}
.img-thumbnail {
    padding: 0.2rem;
    background-color: #f8f9fa;
}
