body {
            font-family: 'Arial', sans-serif;
            background-color: #f4f4f9;
            margin: 0;
            padding: 0;
            display: flex;
            flex-direction: column; /* Changement pour aligner verticalement */
            align-items: center;
	    margin-bottom : 20px
        }
	
	.top-banner {
            width: 100%;
            height: 45px; /* Hauteur de la bande */
            background-color: #0086c5;
        }

	.top-banner-img {
	    width: auto;
            height: 40px; /* Ajuster la taille de l'image du logo */
	    margin-left: 20px;
	    margin-top : 2.5px
        }

	.top-banner-img:hover {
            transform: scale(1.05); /* Agrandit légèrement le logo */
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Ajoute une ombre */
        }

	.bot-banner {
            width: 100%;
            height: 45px; /* Hauteur de la bande */
            background-color: #bdcd00;
	    margin-bottom : 20px
        }

        /* Bande d'image en haut de la page */
        .header-banner {
            width: 100%;
            height: 250px;
            background-image: url('/Images/IUTmontpellier.jpg');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
        }

	.header-banner-texte {
	    font-family: 'Times New Roman', sans-serif;
	    position: absolute;
            top: 90px;
            left: 5%;
            color: white;
            font-size: 3.5rem;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
	}

	bl {
	color: #0086c5;
	}

	v {
	color: #bdcd00;
	}
	
        .main-container {
            display: flex;
            justify-content: space-between;
            width: 95%;
            max-width: 100%;
            margin: 0 auto;
            gap: 20px; /* Espace latéral entre les blocs */
        }

        .sidebar {
            text-align: center;
	    height: 100%;
            background-color: #fff;
            padding: 20px;
            border-radius: 15px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            width: 32%;
            flex-grow: 0; /* Garde la hauteur des sections en fonction de leur contenu */
        }

        .container {
	    height: 100%;
            padding: 40px;
	    text-align: center;
            background-color: #fff;
            padding: 20px;
            border-radius: 15px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            width: 32%;
            flex-grow: 0; /* Garde la hauteur des sections en fonction de leur contenu */
        }

        h1 {
            color: #333;
            font-size: 2rem;
            margin-bottom: 20px;
        }

        label {
            display: block;
            margin-bottom: 10px;
            font-size: 1.1rem;
            color: #666;
        }

        .password-container {
            display: flex;
            align-items: center;
            width: 100%;
            margin-bottom: 20px;
        }

        .password-input {
            padding: 10px;
            border: 1px solid #ccc;
            border-radius: 8px 0 0 8px;
            font-size: 1rem;
            width: 100%;
            box-sizing: border-box;
        }

	.username-input {
            padding: 10px;
            border: 1px solid #ccc;
            border-radius: 8px;
            font-size: 1rem;
            width: 100%;
            box-sizing: border-box;
            margin-bottom: 20px;
        }

        .toggle-password {
            background: #fff;
            border: 1px solid #ccc;
            border-radius: 0 8px 8px 0;
            cursor: pointer;
            width: 38px;
            height: 38px;
            display: flex;
            justify-content: center;
            align-items: center;
            margin-left: -1px;
        }

        button {
            background-color: #007BFF;
            color: white;
            padding: 10px 10px;
            border: none;
            border-radius: 8px;
            font-size: 1.2rem;
            cursor: pointer;
            transition: background-color 0.3s ease;
            width: 100%;
        }

        button:hover {
            background-color: #0056b3;
        }

        p {
            font-size: 1rem;
            color: #666;
            margin-top: 20px;
        }

        #message {
            margin-top: 20px;
            font-size: 1rem;
            color: red;
        }
	
	.img-loading {
	    display: none;
	    margin: 10px auto;
	    width: 40;
            height: 40px;
            background-image: url('Images/loading.gif');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
	}

        .success {
            color: green;
        }

        .sidebar img {
            width: 100%;
            border-radius: 10px;
            margin-bottom: 20px;
        }

        .rules {
            font-size: 1.0rem;
            color: #333;
            line-height: 1.5;
        }

        .rules ul {
            margin-top: 10px;
            list-style: none;
            padding-left: 0;
        }

        .rules ul li {
            margin-bottom: 10px;
        }

        .blue-characters {
            color: blue;
        }

        .red-characters {
            color: red;
        }

        /* Réglage pour petits écrans */
        @media (max-width: 768px) {
            .main-container {
                flex-direction: column;
                align-items: center;
            }

            .container, .sidebar {
                width: 100%;
                margin-bottom: 10px;
            }
        }