header {
    background-color: #FFFAF0;
    padding: 20px 50px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #2C26E8;
}

.btn-contact {
    background-color: #2C26E8;
    color: white !important;
    padding: 10px 25px;
    transition: background-color 0.3s;
    box-shadow: 4px 4px 6px rgba(0, 0, 0, 0.30);
}

.btn-contact:hover {
    background-color: #0000CC;
}
/* Connexion Page Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #FFFAF0;
    display: block; /* Changed from flex to block */
}

.container {
    margin: 50px auto; /* Center the container vertically with margin */
    width: 100%;
    max-width: 400px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 2px solid #3a3aff;
    box-sizing: border-box; /* Ajout pour éviter tout dépassement */
    padding: 20px;
}

h1 {
    text-align: center;
    color: #3a3aff;
    font-size: 2.5em;
    font-weight: bold;
}

.form-box {
    margin-bottom: 20px;
}

input[type="email"],
input[type="password"] {
    box-sizing: border-box; /* Assure que padding et border sont inclus dans la largeur totale */
    width: calc(100% - 20px); /* Ajuste la largeur pour éviter le dépassement */
    padding: 10px;
    margin: 10px 0;
    border: 2px solid #3a3aff;
    border-radius: 25px;
    font-size: 1em;
    color: #3a3aff;
}

input[type="submit"] {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: none;
    border-radius: 25px;
    background-color: #3a3aff;
    color: white;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: #2a2a9f;
}

.error {
    color: red;
    font-size: 0.9em;
}

.password-container {
    position: relative;
    width: 100%;
}

.password-container input[type="password"] {
    box-sizing: border-box;
    width: calc(100% - 20px);
    padding: 10px;
    margin: 10px 0;
    border: 2px solid #3a3aff;
    border-radius: 25px;
    font-size: 1em;
    color: #3a3aff;
}

.password-container .toggle-password {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #3a3aff;
}