/* Global Styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    color: #333;
    margin: 0;
    padding: 0;
}



h1,
h2 {
    color: #444;
    text-align: center;
}

p {
    line-height: 1.6;
    font-size: 18px;
}

/* Dashboard Header */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.settings,
.notifications-messages {
    display: flex;
    align-items: center;
}

.settings a,
.notifications-messages a {
    color: #3498db;
    font-size: 1.5em;
    margin: 0 10px;
}

.settings a:hover,
.notifications-messages a:hover {
    color: #2980b9;
}

/* Profile Header */
.profile-header {
    display: flex;
    align-items: center;
    padding: 20px;
    background-color: #3498db;
    color: #fff;
    border-radius: 10px;
    margin-bottom: 20px;
}

.profile-header .profile-picture {
    margin-right: 20px;
}

.profile-header .profile-info h1 {
    margin: 0;
}

/* Dashboard Buttons */
.dashboard-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
    text-decoration: none;
    color: black;
    font-weight: normal;
}

.dashboard-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-color: #90cfec;
    color: #000000;
    text-decoration: none;
    border-radius: 30px;
    transition: background-color 0.3s;
}

.dashboard-btn i {
    font-size: 2em;
    margin-bottom: 10px;
}

.dashboard-btn:hover {
    background-color: #3498db;
    color: black;
    font-weight: bold;
    text-decoration: none;
}

.logout {
    background-color: #e28344;
}

.logout:hover {
    background-color: #c0392b;
}

/* Balance */
.balance {
    text-align: center;
    font-size: 1.5em;
    margin-bottom: 20px;
}

/* Table */
.table {
    width: 100%;
    margin-bottom: 20px;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

.table th {
    background-color: #3498db;
    color: #fff;
}

.table tbody tr:hover {
    background-color: #f5f5f5;
}

/* Form Styles */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 18px;
}

.form-group input {
    width: 100%;
    padding: 15px;
    font-size: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.form-buttons {
    text-align: center;
    margin-top: 20px;
}

.form-buttons .btn {
    font-size: 18px;
    padding: 10px 20px;
    margin: 5px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    outline: none;
    color: #fff;
    background-color: #4CAF50;
    border: none;
    border-radius: 5px;
    box-shadow: 0 4px #999;
    margin: 5px;
}

.btn:hover {
    background-color: #45a049;
}

.btn-primary {
    background-color: #007BFF;
}

.btn-primary:hover {
    background-color: #0069d9;
}

.btn-secondary {
    background-color: #6c757d;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

.btn-info {
    background-color: #17a2b8;
}

.btn-info:hover {
    background-color: #138496;
}

.btn-warning {
    background-color: #ffc107;
}

.btn-warning:hover {
    background-color: #e0a800;
}

.btn-success {
    background-color: #28a745;
}

.btn-success:hover {
    background-color: #218838;
}

.btn-danger {
    background-color: #dc3545;
}

.btn-danger:hover {
    background-color: #c82333;
}

/* Navigation Links */
.nav {
    display: flex;
    justify-content: space-around;
    background: #007BFF;
    padding: 10px;
    border-radius: 5px;
}

.nav a {
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
}

.nav a:hover {
    background: #0069d9;
    border-radius: 5px;
}

/* Cancel Button */
.btn-annuler {
    background-color: #dc3545;
}

.btn-annuler:hover {
    background-color: #c82333;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    color: #333;
    margin: 0;
    padding: 0;
}

.container {
    width: 100%;
    overflow: hidden;
    padding: 20px;
    margin-top: 20px;
    margin: 20px auto;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1,
h2 {
    color: #444;
    text-align: center;
}

p {
    line-height: 1.6;
    font-size: 18px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    outline: none;
    color: #fff;
    background-color: #4CAF50;
    border: none;
    border-radius: 5px;
    box-shadow: 0 4px #999;
    margin: 5px;
}

.btn:hover {
    background-color: #45a049;
}

.btn-primary {
    background-color: #007BFF;
}

.btn-primary:hover {
    background-color: #0069d9;
}

.btn-secondary {
    background-color: #6c757d;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

.btn-info {
    background-color: #17a2b8;
}

.btn-info:hover {
    background-color: #138496;
}

.btn-warning {
    background-color: #ffc107;
}

.btn-warning:hover {
    background-color: #e0a800;
}

.btn-success {
    background-color: #28a745;
}

.btn-success:hover {
    background-color: #218838;
}

.btn-danger {
    background-color: #dc3545;
}

.btn-danger:hover {
    background-color: #c82333;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
}



.discussion-list {
    height: 80vh;
    overflow-y: auto;
}

.message-window {
    height: 65vh;
    overflow-y: auto;
    background-color: white;
    border-left: 1px solid #ccc;
    padding: 10px;
}

.message-input {
    margin-top: 10px;
}

.message {
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.message-header {
    font-weight: bold;
}

.message-body {
    margin-top: 5px;
}

.message-footer {
    margin-top: 10px;
    font-size: 0.9em;
    color: #555;
}

.nav-bar {
    background-color: #333;
    overflow: hidden;
}

.nav-bar a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.nav-bar a:hover {
    background-color: #ddd;
    color: black;
}



h1,
h2,
h3,
p {
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    outline: none;
    color: #fff;
    background-color: #4CAF50;
    border: none;
    border-radius: 30px;
    box-shadow: 0 4px #999;
}

.btn:hover {
    background-color: #3e8e41;
}

.btn:active {
    background-color: #3e8e41;
    box-shadow: 0 2px #666;
    transform: translateY(2px);
}

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

.product-list li {
    display: flex;
    align-items: center;
    padding: 5px 0;
    border-bottom: 1px solid #ddd;
}

.product-list img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
}

.symbol-g::after {
    content: '⃠';
    /* Utilisation de l'Unicode pour ajouter des barres 
   width: 1em;
    font-size: 0.1em;*/
    position: absolute;
    margin-left: 0.1em;

    vertical-align: middle;
    color: rgb(8, 124, 10);
}

.solde-container p {
    position: relative;
    display: inline-block;
}




.solde-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 30px;
    border-radius: 30px;

    /* Espace entre les blocs */
}

.solde-cell {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-radius: 30px;
    color: white;
    background-color: #006400;
    /* Vert foncé */
}

.label {
    font-size: 14px;
    font-weight: normal;
    margin: 0;
    font-family: 'Georgia', serif;
    /* Police élégante pour le label */
}

.amount {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    font-family: 'Arial Black', sans-serif;
    border-radius: 30px;
    /* Police plus grande et en gras pour le montant */
}

.symbol {
    width: 1em;
    vertical-align: middle;
    color: white;

}

;
/* Vert foncé */
}

.label {
    font-size: 14px;
    font-weight: normal;
    margin: 0;
    font-family: 'Georgia', serif;
    /* Police élégante pour le label */
}

.amount {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    font-family: 'Arial Black', sans-serif;
    /* Police plus grande et en gras pour le montant */
}

.symbol {
    width: 1em;
    vertical-align: middle;
}