/* ======== Style page connexion/inscription ======== */
body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: url('fond.jpeg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

/* Boîte du formulaire */
.login-box {
    background: rgba(255, 255, 255, 0.9); /* Transparent pour voir l'image derrière */
    padding: 25px;
    border-radius: 10px;
    width: 350px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    animation: fadeIn 0.5s ease-in-out;
}

/* Animation apparition */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Logo */
.login-logo {
    display: block;
    margin: 0 auto 15px auto;
    max-width: 120px;
}

/* Titre */
.login-box h1 {
    text-align: center;
    margin-bottom: 20px;
    color: darkorange;
    font-size: 1.8rem;
}

/* Champs */
.login-box input, 
.login-box select {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 1rem;
    transition: border 0.2s;
}
.login-box input:focus, 
.login-box select:focus {
    border-color: darkorange;
    outline: none;
}

/* Bouton */
.login-box button {
    width: 100%;
    background: darkorange;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}
.login-box button:hover {
    background: orange;
}

/* Liens */
.login-box a {
    display: block;
    text-align: center;
    margin-top: 10px;
    color: darkorange;
    text-decoration: none;
}
.login-box a:hover {
    text-decoration: underline;
}
