/* Style général */
body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(120deg, #f7f7f7, #e0e0e0);
    margin: 0;
    padding: 0;
    color: #333;
}

/* Titres */
h1, h2 {
    text-align: center;
    color: #333333;
    margin-bottom: 20px;
    font-weight: bold;
}

/* Conteneur central pour les formulaires et pages */
.welcome-container, .form-container, .dashboard-container {
    max-width: 500px;
    margin: 50px auto;
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border: 1px solid #eeeeee;
}

/* Texte et paragraphes */
p {
    text-align: center;
    color: #444;
    font-size: 1rem;
}

/* Champs d'entrée */
input[type="text"], input[type="email"], input[type="password"], input[type="number"] {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box;
    outline: none;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
}

input[type="text"]:focus, 
input[type="email"]:focus, 
input[type="password"]:focus, 
input[type="number"]:focus {
    border-color: #6a11cb;
    box-shadow: 0 0 8px rgba(106, 17, 203, 0.4);
    background-color: #ffffff;
}

/* Boutons */
button {
    width: 100%;
    padding: 12px;
    background: #6a11cb;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(106, 17, 203, 0.2);
}

button:hover {
    background: #4a0eab;
    box-shadow: 0 4px 12px rgba(74, 14, 171, 0.4);
}

/* Liens */
a {
    color: #6a11cb;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

a:hover {
    text-decoration: underline;
    color: #4a0eab;
}

/* Tableau de bord */
.dashboard-container {
    text-align: center;
}

.dashboard-container h1 {
    margin-bottom: 10px;
    color: #222;
    font-size: 1.8rem;
}

.dashboard-container p {
    font-size: 1.2rem;
    font-weight: bold;
    color: #555;
}

/* Formulaires dans le tableau de bord */
.dashboard-container form {
    margin: 20px 0;
}

.dashboard-container button {
    margin-top: 10px;
}

/* Catégories de dépenses */
.dashboard-container .categories {
    margin-top: 30px;
}

.dashboard-container .categories button {
    background: #ff6f61;
    margin: 5px;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(255, 111, 97, 0.2);
}

.dashboard-container .categories button:hover {
    background: #e55c4f;
    box-shadow: 0 4px 12px rgba(229, 92, 79, 0.4);
}

/* Historique des transactions */
.transactions {
    text-align: left;
    margin-top: 20px;
}

.transactions p {
    background: #f9f9f9;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: #333;
}