/* Styles de base */
body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 15px 0;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: #0056b3;
}

a:hover {
    text-decoration: underline;
}

/* Conteneur principal */
.container {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* En-tête (Header) */
header {
    background-color: #0073e6;
    color: white;
    padding: 20px 0;
}

header .logo img {
    height: 50px;
    vertical-align: middle;
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    color: white;
    font-weight: 500;
}

/* Pied de page (Footer) */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px;
    position: relative;
    bottom: 0;
    width: 100%;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    display: inline;
    margin: 0 10px;
}

footer ul li a {
    color: #ddd;
}

/* Formulaire de connexion et d'inscription */
.login-form {
    background-color: #fff;
    padding: 30px;
    margin: 50px auto;
    width: 400px;
    border: 1px solid #ddd;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.login-form h2 {
    margin-bottom: 20px;
    font-size: 24px;
    text-align: center;
}

.login-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.login-form input[type="text"],
.login-form input[type="email"],
.login-form input[type="password"] {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.login-form button {
    width: 100%;
    padding: 10px;
    background-color: #0073e6;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.login-form button:hover {
    background-color: #005bb5;
}

/* Lien vers les autres formulaires */
.login-form p {
    text-align: center;
}

.login-form p a {
    color: #0073e6;
}

.login-form p a:hover {
    text-decoration: underline;
}

/* Styles pour les messages de bienvenue */
.welcome-message {
    background-color: #e7f3ff;
    border: 1px solid #b3d4fc;
    padding: 20px;
    margin: 50px auto;
    width: 400px;
    text-align: center;
    border-radius: 4px;
}

.welcome-message h2 {
    color: #0073e6;
}

/* Styles des boutons de déconnexion */
.welcome-message button {
    background-color: #ff4d4d;
    border: none;
    padding: 10px 20px;
    color: white;
    cursor: pointer;
    border-radius: 4px;
    margin-top: 20px;
}

.welcome-message button:hover {
    background-color: #e60000;
}

/* Styles pour les pages de contenu */
.page-content {
    background-color: #fff;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

/* Styles des boutons */
.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0073e6;
    color: white;
    text-align: center;
    border-radius: 4px;
    cursor: pointer;
}

.button:hover {
    background-color: #005bb5;
}

/* Styles pour les liens dans le formulaire */
.form-link {
    text-align: center;
    display: block;
    margin: 15px 0;
}

.form-link a {
    color: #0073e6;
}

.form-link a:hover {
    text-decoration: underline;
}
