@media (max-width: 767px) {
    html, body {
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
        overflow: hidden; 
        position: relative;
    }

    body {
        display: flex;
        flex-direction: column;
        align-items: center; 
        justify-content: flex-start;
    }

    .header {
        width: 100%;
        padding: 10px 0 5px 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        margin: 0; 
    }

    .logo {
        width: 220px;
        max-width: 80%;
        height: auto;
        margin: 0 0 5px 0;
    }

    .divLanguageIt {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 12px;
        margin: 0 auto; 
        padding: 0;
    }

    .container {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        justify-content: flex-start; 
        align-items: center;
        width: 100%;
        margin: 0; 
        padding: 15px 0 0 0; 
        box-sizing: border-box;
        position: static;
    }

    .loginForm, form {
        width: 100%;
        max-width: 310px;
        margin: 0 auto;
        padding: 0;
        display: flex;
        flex-direction: column;
        background: transparent;
        position: static;
        left: auto; 
        transform: none;
    }

    .bentornato {
        font-size: 24px;
        color: #ffffff;
        margin: 0 0 10px 0;
        text-align: center;
        width: 100%;
    }

    .testoInput {
        font-size: 13px;
        margin-bottom: 3px;
        text-align: left;
        width: 100%;
    }

    input.user, input.password {
        width: 100%;
        height: 45px;
        color: #ffffff;
        border-radius: 6px;
        margin: 0 0 10px 0;
        padding: 0 10px;
        box-sizing: border-box;
        display: block;
    }

    .ric_accesso {
        font-size: 13px;
        margin-bottom: 15px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
    }

    .b_accedi {
        width: 100%;
        height: 50px;
      
        color: white;
        border: none;
        border-radius: 6px;
        font-weight: bold;
        font-size: 16px;
        margin: 10px 0 0 0;
    }

    .b_accedi:hover {
          background-color: #4B93D2;
    }

    .recuperaPW {
        display: block;
        margin-top: 15px;
        text-align: center;
        color: #4B93D2;
        text-decoration: underline;
        font-size: 14px;
        width: 100%;
    }

    #cantiere {
        display: none;
    }
}