 

/* CONTAINER */
form, #login-wrapper {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #1e293b, #0f172a);
}

form {
    background-color: #ffffff;
    padding: 2.5rem;
    width: 100%;
    max-width: 380px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* TITRES */
form h1 {
    text-align: center;
    margin-bottom: 0.5rem;
    color: #0f172a;
}

form p {
    text-align: center;
    margin-bottom: 1rem;
    color: #475569;
    font-size: 0.95rem;
}

/* INPUTS */
form input[type="email"],
form input[type="password"] {
    padding: 0.7rem 0.9rem;
    font-size: 1rem;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    outline: none;
    transition: border 0.2s, box-shadow 0.2s;
}

form input[type="email"]:focus,
form input[type="password"]:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* BOUTON SUBMIT */
form button[type="submit"] {
    margin-top: 1rem;
    padding: 0.8rem;
    font-size: 1rem;
    font-weight: bold;
    background-color: #2563eb;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

form button[type="submit"]:hover {
    background-color: #1d4ed8;
}

form button[type="submit"]:active {
    transform: scale(0.98);
}

/* LIEN INSCRIPTION */
form a {
    text-align: center;
    display: block;
    margin-top: 0.8rem;
    color: #2563eb;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s, text-decoration 0.2s;
}

form a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* MESSAGE D'ERREUR */
.erreur, form p.erreur {
    color: #dc2626;
    font-size: 0.85rem;
    margin-top: 0.3rem;
    text-align: center;
}
