section{
    background-image: url('../static/grande.webp');
    background-size: cover;       /* adatta l’immagine all’elemento */
    background-repeat: no-repeat; /* evita ripetizioni */
    background-position: center;  /* centra l’immagine */
    min-height: calc(100vh - 64px - 60px); /* 64px nav, 60px footer (adjust as needed) */
    width: 100vw; 
    margin-top: 100px; /* height of nav */
    margin-bottom: 60px; /* height of footer */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 100px;    
    padding-bottom: 60px; 
}

.login-form {
    background: #fff;
    padding: 32px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    min-width: 320px;
    max-width: 360px;
    margin: 40px auto;
}

.login-form label {
    color: #0074D9;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
    display: block;
}

.login-form input[type="text"],
.login-form input[type="password"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 280px;
    padding: 10px 14px;
    border: 1px solid #cce0f6;
    border-radius: 6px;
    font-size: 1rem;
    background: #f6fbff;
    transition: border-color 0.2s, box-shadow 0.2s;
    margin-bottom: 10px;
}

.login-form input[type="text"]:focus,
.login-form input[type="password"]:focus {
    border-color: #0074D9;
    box-shadow: 0 0 0 2px #cce0f6;
    outline: none;
}

.login-form button[type="submit"] {
    background: #0074D9;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 0;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.login-form button[type="submit"]:hover {
    background: #005fa3;
}
