.form-container {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-title {
    font-weight: bold;
    color: #007bff;
}

.form-group label {
    font-weight: bold;
}

.btn-submit {
    background-color: #007bff;
    color: #fff;
    border: none;
}

.btn-submit:hover {
    background-color: #0056b3;
}

.navbar {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: bold;
    color: #007bff;
}

.navbar-nav .nav-link {
    font-size: 16px;
    color: #555;
}

.navbar-nav .nav-link:hover {
    color: #007bff;
}

.p {
    color: #ffffff !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: bold;
}

.carousel-item img {
    height: 450px;
    object-fit: cover;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 8px;
}

.carousel-caption h5 {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
}

.carousel-caption p {
    font-size: 18px;
    color: #ddd;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(100%);
}

.form-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-title {
    font-weight: bold;
    color: #007bff;
}

.btn-connexion {
    background-color: #007bff;
    color: #fff;
    border: none;
}

.btn-connexion:hover {
    background-color: #0056b3;
}

.register-link {
    display: block;
    text-align: center;
    margin-top: 15px;
    color: #007bff;
    text-decoration: none;
}

.register-link:hover {
    text-decoration: underline;
}

body {
    font-family: Arial, sans-serif;
}

.sidebar {
    min-height: 100vh;
    background-color: #343a40;
    color: #fff;
}

.sidebar a {
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
}

.sidebar a:hover {
    background-color: #495057;
    text-decoration: none;
}

.sidebar .active {
    background-color: #007bff;
}

.content {
    margin-left: 250px;
    padding: 20px;
}

@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        width: 250px;
        left: -250px;
        transition: all 0.3s;
    }

    .sidebar.open {
        left: 0;
    }

    .content {
        margin-left: 0;
    }
}

.login-container {
    background: #fff;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    justify-content: center !important; /* Centrer horizontalement */
    align-items: center !important; /* Centrer verticalement */
}
.login-container h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}
.form-group {
    margin-bottom: 15px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}
.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}
.form-group input:focus {
    outline: none;
    border-color: #007bff;
}
.login-btn {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.login-btn:hover {
    background-color: #0056b3;
}
.error-message {
    color: red;
    font-size: 14px;
    text-align: center;
    margin-bottom: 15px;
}

.main {
    display: flex;
    justify-content: center !important;
    align-items: center !important;
    margin-top: 10%;
    width: 100%; /* S'assure que le main occupe toute la largeur */
    height: 100%; /* Nécessaire pour centrer verticalement */
}

.step-form {
    display: none;
}

.step-form.active {
    display: block;
}

h2 {
    font-family: "Arial", sans-serif; /* Choisissez une police sans-serif moderne */
    color: #5a5a5a; /* Gris foncé pour le texte */
    font-size: 2rem; /* Taille de police plus grande */
    font-weight: 600; /* Texte semi-gras */
    margin-bottom: 30px; /* Espacement en bas */
    border-bottom: 3px solid #007bff; /* Ligne bleue en dessous pour accentuer le titre */
    padding-bottom: 10px; /* Espacement entre le texte et la ligne */
    text-align: center; /* Centrer le titre */
}
