/* Style simple pour le menu */
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    background: #1e90ff;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 2px 8px rgba(30,144,255,0.08);
}
nav ul li {
    margin: 0;
}
nav ul li a {
    display: block;
    padding: 12px 24px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: background 0.2s;
}
nav ul li a:hover {
    background: #1566b7;
}
main {
    flex: 1 0 auto;
    max-width: 900px;
    margin: 30px auto 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(30,144,255,0.07);
    padding: 40px 30px 30px 30px;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f7fafd;
    color: #222;
}
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
footer {
    flex-shrink: 0;
    background: #f5f5f5;
    padding: 15px 0 10px 0;
    color: #888;
    text-align: center;
    border-top: 1px solid #ddd;
    font-size: 15px;
    box-shadow: 0 -2px 8px rgba(30,144,255,0.04);
}

nav.main-nav {
    display: flex;
    align-items: center;
    position: relative;
    min-height: 56px;
}
.login-menu {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 20px;
    display: flex;
    align-items: center;
}
.center-menu {
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Connexion à gauche */
.login-menu {
    margin-left: 20px;
    display: flex;
    align-items: center;
}
input[type="text"], input[type="password"] {
    padding: 6px 10px;
    border-radius: 5px;
    border: 1px solid #b3d1f7;
    font-size: 15px;
    background: #fafdff;
    margin-right: 2px;
    transition: border 0.2s;
}
input[type="text"]:focus, input[type="password"]:focus {
    border: 1.5px solid #1e90ff;
    outline: none;
}
button[type="submit"] {
    padding: 6px 16px;
    border-radius: 5px;
    border: none;
    background: #1e90ff;
    color: #fff;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: background 0.2s;
}
button[type="submit"]:hover {
    background: #1566b7;
}

.logout-link {
    margin-left: 18px;
    color: #fff !important;
    background: #e74c3c;
    padding: 6px 16px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: background 0.2s;
    border: none;
    box-shadow: 0 1px 4px rgba(231,76,60,0.07);
}
.logout-link:hover {
    background: #c0392b;
}
