
        body {
            font-family: Arial, sans-serif;
            background-color: #f4f6f8;
            padding: 30px;
            color: #333;
        }

        h1 {
            text-align: center;
            color: #2c3e50;
        }

        ul {
            list-style: none;
            padding: 0;
            margin-bottom: 40px;
        }

        li {
            background: #ffffff;
            margin-bottom: 10px;
            padding: 15px;
            border-radius: 6px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        }

        li a {
            text-decoration: none;
            color: #3498db;
            font-weight: bold;
        }

        form {
            background: #ffffff;
            padding: 100px;
            border-radius: 6px;
            max-width: 700px;
            margin: 0 auto;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        input {
            width: 100%;
            padding: 10px;
            margin-bottom: 15px;
            border: 1px solid #ccc;
            border-radius: 4px;
        }

        button {
            background: #2ecc71;
            color: white;
            padding: 10px 15px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-weight: bold;
        }

        button:hover {
            background: #27ae60;
        }

        .message {
            text-align: center;
            padding: 10px;
            background: #dff0d8;
            border: 1px solid #b2dba1;
            color: #3c763d;
            border-radius: 4px;
            margin-bottom: 20px;
        }


        /* style.css */

.login-page {
    background: linear-gradient(135deg, #4e54c8, #8f94fb);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.login-page .login-container {
    background: white;
    padding: 2em;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
}

.login-page h2 {
    text-align: center;
    color: #333;
}

.login-page form {
    display: flex;
    flex-direction: column;
}

.login-page input[type="text"],
.login-page input[type="password"] {
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
}

.login-page button {
    background: #4e54c8;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.login-page button:hover {
    background: #3b3fc1;
}

.login-page .error {
    color: red;
    text-align: center;
    margin-bottom: 10px;
}

/* CONTACT PAGE STYLING */
.contact-page .container {
    max-width: 2000px !important;   /* limite sur grands écrans */
    /*width: 100% !important;         /* prend toute la largeur disponible */
    margin: 40px auto;   /* centre le cadre */
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    font-family: Arial, sans-serif;
}

/* Champs du formulaire en pleine largeur */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="date"],
.contact-form select {
   /* width: 100% !important;  /* pleine largeur du cadre */
    padding: 12px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    transition: border 0.2s;
}

/* conteneur scrollable si le tableau dépasse */
.contact-page .table-container {
    width: 100%;
    overflow-x: auto;
}

/* tableau qui s’adapte */
.contact-page .epargne-table {
    min-width: 800px;   /* largeur minimum pour toutes les colonnes */
    border-collapse: collapse;
    table-layout: fixed; /* colonnes compressibles */
}

.contact-page .epargne-table th,
.contact-page .epargne-table td {
    border: 1px solid #ddd;
    padding: 6px;
    text-align: left;
    word-break: break-word;  /* pour couper les mots longs */
    overflow: hidden;
}
.contact-page .epargne-table input,
.contact-page .epargne-table select {
    width: 100%;
    box-sizing: border-box;
}
/* Responsive : sur mobile, padding réduit */
@media (max-width: 768px) {
    .contact-page .container {
        padding: 20px;
    }
}

.immobilier-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    font-size: 14px;
}

.immobilier-table th,
.immobilier-table td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: center;
}

.immobilier-table th {
    background-color: #f2f2f2;
    font-weight: bold;
}

.immobilier-table input[type="text"],
.immobilier-table input[type="number"],
.immobilier-table input[type="date"] {
    width: 100%;
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

