body {
    font-family: Arial, sans-serif;
    background:rgb(193, 232, 249);
    margin: 0;
    padding: 0;
}

html, body {
    height: auto;
    min-height: 100%;
}

/* Conteneur principal du formulaire */
.presentation {
    width: 60%;
    margin: auto;
    padding: 20px;
}

/* Ajustement pour éviter le débordement */
.form-container {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 800px;
    margin: auto;
}

/* Titre du formulaire */
h2 {
    text-align: center;
    color: #333333;
}

/* Organisation des champs */
form {
    flex-direction: column;
}

/* Labels */
label {
    margin-bottom: 8px;
    color: #555555;
    font-weight: bold;
    display: block;
}

/* Champs de saisie */
input, select, textarea {
    padding: 10px;
    margin-bottom: 16px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
}

/* Zone de texte */
textarea {
    min-height: 100px;
    resize: vertical;
}

/* Boutons */
.formbutton {
    background-color: #005795; /* Bleu vif */
    color: white;
    font-size: 16px;
    font-weight: bold;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    display: block;
    width: 100%;
    margin-top: 15px;
}

.formbutton:hover {
    background-color: #07324a;
}*/

.formbutton:active {
    transform: scale(0.98); /* Effet de pression */
}

button:hover {
    background-color: #005795;
}

.login-button, .signup-button, .interet {
    margin: 2px;
    padding: 10px;
    background-color: #005795;
    color: #ffffff;
    border:none;
    border-radius: 4px;
    cursor: pointer;
    float: right;
    
}

.login-button:hover, .signup-button:hover, .interet:hover {
    background-color: #005795;
}

.password-info {
    font-size: 13px;      /* plus petit que la base */
    font-family: 'Arial', sans-serif;
    font-style: italic;
    color: #333;          /* gris foncé, tu peux adapter */
    margin-left: 5px;
}

.check-icon {
    margin-left: 10px;
    font-size: 18px;
}

.valid {
    color: green;
}

.invalid {
    color: red;
}

/* Gestion du champ montant quand la demande de financement est Oui */
#montant_field {
    display: none;
}

/* Messages d'erreur */
.error {
    color: red;
    font-size: 14px;
    margin-bottom: 10px;
}

/* Ajustement pour le header et la navigation */
.header {
    background-color: #90c3ec;
    padding: 0px;
    text-align: center;
}

.navbar {
    background-color: #005795;
    text-align: center;
    padding: 10px;
}

.navbar ul {
    list-style: none;
    padding: 0;
}

.navbar li {
    display: inline;
    margin: 0 15px;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.navbar a:hover {
    text-decoration: underline;
}

.membre-container {
    display: flex;
    align-items: center;
    gap: 50px; /* Espace entre l'input et la checkbox */
    margin-bottom: 10px;
    width: 95%;
}

.membre-container input[type="text"] {
    flex: 1; /* L'input prend toute la place disponible */
}

.membre-container input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-label {
    font-size: 14px;
    color: #333;
    margin-left: 5px;
}

.titre-membres {
    margin-top: 20px;
    display: flex;
    gap: 60px;
    margin-bottom: 10px;
    width: 100%;
}

.titre-membres h3 {
    flex: 1;
    font-weight: bold;
}

.titre-membres p {
    margin-right: 13px;
    text-align: right;
    color: black;
    font-weight: bold;
}








/* Page de connexion */

.login-body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f4f4f4;
}

/* Structure de la page login */
.login-page {
    display: flex;
    width: 100%;
    min-height: 100vh;
    flex: 1;
}

/* Partie gauche : Formulaire */
.login-form-container {
    width: 50%;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    box-shadow: 5px 0 10px rgba(0, 0, 0, 0.2);
}

.login-form-container h2 {
    margin-bottom: 20px;
    color: #005795;
}

.login-form {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
}

label {
    margin-bottom: 8px;
    color: #555;
    font-weight: bold;
}

input {
    padding: 10px;
    margin-bottom: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
}

.login-formbutton {
    background-color: #005795;
    color: white;
    font-size: 16px;
    font-weight: bold;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.login-formbutton:hover {
    background-color: #07324a;
}

/* Partie droite : Vidéo et bannière */
.login-banner {
    width: 50%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.login-background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.login-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
}

/* Contenu au-dessus de la vidéo */
.login-banner-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #005795;
    z-index: 2;
    padding: 20px;
}

.login-logo-containerEilco {
    width: 350px;
    margin-bottom: 10%;
    margin-top: 20%;
}
.login-logo-containerUlco {
    width: 165px;
    margin-top: 15%;
}

.login-logoEilco{
    width: 100%;
    height: auto;
}

.login-logoUlco {
    width: 100%;
    height: auto;
}

.login-texte_header h1 {
    margin: 10px 0;
    font-size: 24px;
}

.login-texte_header p {
    font-size: 16px;
}

/* Footer dans la partie droite */
.login-footer-connexion {
    position: relative;
    background-color: #005795;
    color: white;
    text-align: center;
    width: 100%;
}

/* Bouton Accueil */
.login-home-button {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: #005795;
    color: white;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.login-home-button:hover {
    background-color: #07324a;
}

.login-slogan {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin-bottom: 20px;
}

.input-container {
    position: relative;
    width: 100%;
}

.input-container i {
    position: absolute;
    left: 10px;
    top: 35%;
    transform: translateY(-50%);
    color: #555;
}

.input-container input {
    padding-left: 35px; /* Pour éviter que le texte ne chevauche l'icône */
}

.np-container {
    display: flex;
    align-items: center;
    gap: 10px; /* Espace entre l'input et la checkbox */
    width: 95%;
    margin-right: 75px; /* Ajustement pour éviter le débordement */
}

.np-container input[type="text"] {
    flex: 1; /* L'input prend toute la place disponible */
}

.np-container-membre {
    display: flex;
    align-items: center;
    gap: 10px; /* Espace entre l'input et la checkbox */
    width: 95%;
}

.np-container-membre input[type="text"] {
    flex: 1; /* L'input prend toute la place disponible */
}

@media (max-width: 768px){
    .login-banner, .login-background-video, .login-banner-content{
        display: none;
    }

    .login-form-container{
        width: 100%;
        background:rgb(193, 232, 249);
    }

    .presentation{
        width: 100%;
        padding: 0px;
    }

    .presentation h2{
        font-size: 30px;
    }

    .form-container{
        width: 95%;
        margin-top: 10px;
        padding: 15px;
        box-sizing: border-box;
    }
}