/* onestepbeyond_login.css (version desktop) */

/* Réinitialisation et police */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
    background-image: url('../images/OSB_PELLAROCA.png');
    background-size: contain; /* ou "cover" selon ton besoin */
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Optionnel : fixe l'image lors du scroll */
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Conteneur du formulaire */
.login-container {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    width: 450px;
    text-align: center;
}

/* Titre */
.login-container h2 {
    margin-top: 0;
    color: #333;
    font-size: 2.2rem;
    margin-bottom: 2rem;
}

/* Champs du formulaire */
.login-container div {
    margin-bottom: 2rem;
    text-align: left;
}

/* Libellés */
.login-container label {
    display: block;
    margin-bottom: 0.7rem;
    font-weight: 600;
    color: #444;
    font-size: 1.1rem;
}

/* Champs de saisie */
.login-container input[type="text"],
.login-container input[type="password"] {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1.1rem;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.login-container input[type="text"]:focus,
.login-container input[type="password"]:focus {
    border-color: #4CAF50;
    outline: none;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
}

/* Bouton de soumission */
.login-container button[type="submit"] {
    width: 100%;
    padding: 1rem;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.login-container button[type="submit"]:hover {
    background-color: #45a049;
    transform: translateY(-2px);
}

/* Effet de survol sur le conteneur */
.login-container:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}