
/* Global Styles */

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}



/* Menu Styles */
nav {
    background-color: #ffffff; /* White background */
    position: sticky; /* Sticky positioning */
    top: 0; /* Always at the top */
    z-index: 1000; /* Ensure it stays above other elements */
    padding: 10px 0; /* Padding for better spacing */
    border-bottom: 1px solid #ddd; /* Optional: Adds a bottom border */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow for separation */
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center; /* Center the menu */
    gap: 15px; /* Space between menu items */
}

nav ul li {
    display: inline-block;
}

nav ul li a {
    text-decoration: none; /* Remove underline */
    color: #000000; /* Black text */
    font-weight: bold;
    padding: 10px 15px; /* Add padding for clickable area */
    transition: background-color 0.3s, color 0.3s; /* Smooth hover effect */
}

nav ul li a:hover {
    background-color: #f0f0f0; /* Light gray hover background */
    color: #0073e6; /* Change text color on hover */
    border-radius: 5px; /* Optional: Rounded corners for hover effect */
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column; /* Stack items vertically on smaller screens */
        align-items: center;
    }

    nav ul li a {
        padding: 10px 20px; /* Adjust padding for vertical layout */
    }
}

/* Logo Styles */
.site-branding {
    text-align: center;
    margin-bottom: 10px;
}

.site-branding img {
    width: 40px;
    height: 40px;
}

/* container central */

.container {
    width: 90%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap; /* Permet aux colonnes de se réorganiser sur les petits écrans */
    gap: 10px; /* Espace entre les colonnes */
    justify-content: space-between;
}
.column {
    width: 49%; /* Chaque colonne occupe environ la moitié de la largeur sur les grands écrans */
    box-sizing: border-box;
    padding: 15px;
    border: 1px solid #ccc; /* Bordure légère pour visualiser les colonnes */
    background-color: #f9f9f9; /* Couleur d'arrière-plan douce */
}
@media screen and (max-width: 768px) {
    .column {
        width: 100%; /* Les colonnes s'empilent sur les écrans plus petits */
    }
}

.sidebar {
    width: 20%;
    max-width: 300px;
    box-sizing: border-box;
    border: 1px solid #ccc; /* Bordure légère pour visualiser les colonnes */
    background-color: #f4f4f4;
    padding: 10px;
}

.content {
    flex: 1; 
    padding: 10px;
    width: 100%; 
    box-sizing: border-box;
    padding: 15px;
    border: 1px solid #ccc; /* Bordure légère pour visualiser les colonnes */
    background-color: #f9f9f9; /* Couleur d'arrière-plan douce */
}

.welcome {
    font-size: 18px;
    font-weight: bold;
}

/* bloc mon_compte */

.container_compte {
    width: 100%;  
    max-width: 1100px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 15px;
    border: 1px solid #ccc; 
    background-color: #f9f9f9; 
}

h1 {
    font-size: 24px;
    margin-bottom: 20px;
}
.message {
    color: green;
    margin-bottom: 20px;
}
.error {
    color: red;
    margin-bottom: 20px;
}
.bloc {
    margin-bottom: 30px;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 5px;
    background: #f9f9f9;
}
.bloc h2 {
    margin-top: 0;
}

.Pol_mdp{
    color : red;
    
}
form input, form button {
    display: block;
    width: 100%;
    margin-bottom: 15px;
    padding: 10px;
    font-size: 16px;
}
form button {
    background-color: #007BFF;
    color: white;
    border: none;
    cursor: pointer;
}
form button:hover {
    background-color: #0056b3;
}


