/* mes_transactions.css */

/* Police & reset de base */
body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #121212;
    color: #f5f5f5;
    padding: 20px;
}

h1 {
    text-align: center;
    color: #FFD700; /* Or vif */
    margin-bottom: 30px;
}

.transactions-container {
    max-width: 900px;
    margin: auto;
}

h2 {
    color: #FFA500; /* Or plus doux */
    border-left: 5px solid #FFD700;
    padding-left: 10px;
    margin-top: 40px;
    font-size: 24px;
}

/* Style des listes de transactions */
ul {
    list-style: none;
    padding: 0;
}

li {
    background: linear-gradient(135deg, #2c2c2c, #1c1c1c);
    border: 2px solid #FFD700;
    border-radius: 15px;
    margin: 15px 0;
    padding: 15px 20px;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
    transition: transform 0.2s, box-shadow 0.3s;
}

li:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 18px rgba(255, 215, 0, 0.4);
}

li br {
    margin-bottom: 5px;
}

a {
    display: block;
    text-align: center;
    margin-top: 40px;
    text-decoration: none;
    color: #FFD700;
    font-weight: bold;
    background-color: transparent;
    border: 2px solid #FFD700;
    border-radius: 8px;
    padding: 10px 15px;
    transition: background-color 0.3s, color 0.3s;
}

a:hover {
    background-color: #FFD700;
    color: #121212;
}
/* Style pour le bouton Retour à Mon Compte */
a.btn-retour {
    display: block; /* Assure que le bouton occupe toute la largeur disponible */
    margin: 30px auto; /* Centre le bouton horizontalement */
    width: fit-content; /* Ajuste la largeur au contenu du bouton */
    text-align: center;
    text-decoration: none;
    color: white; /* Texte blanc */
    font-weight: bold;
    background: linear-gradient(90deg, #4B0082, #8A2BE2); /* Dégradé violet */
    border: none; /* Pas de bordure */
    border-radius: 10px; /* Coins arrondis */
    padding: 12px 25px; /* Espacement interne */
    font-size: 16px; /* Taille de la police */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Ombre douce */
    transition: all 0.3s ease-in-out; /* Animation fluide */
}

a.btn-retour:hover {
    background: linear-gradient(90deg, #8A2BE2, #4B0082); /* Inverse le dégradé au survol */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* Ombre plus prononcée au survol */
    transform: scale(1.05); /* Agrandit légèrement le bouton au survol */
    color: #FFD700; /* Texte jaune or au survol */
}