*, *:after, *:before { 
    -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; 
}

* {
    margin: 0;
    padding: 0;
    transition: all 0.3s;
    -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
}

button, a {
    cursor: pointer;
}

html {
    height: 100%;
}

body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    height: 100%;
    color: #555555;
    background-color: #f2f2f2;
    text-align: center;
    overflow: auto;
    vertical-align: top;
}
.titolo {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: x-large;
}

img {
    margin: 0;
    padding: 0;
    display: inline-block;
}

a {
    cursor: pointer;
    text-decoration: none;
}

iframe {
    border: none;
    padding: 0;
    margin: 0;
    height: 1px;
}

form {
    display: inline-block;
    padding: 0;
    margin: 0;
    width: 100%;
}

input[type=number] { 
    -moz-appearance: textfield;
    appearance: textfield;
    margin: 0; 
}
input {
    outline: none;
}
option {
    color: #555555;
}
select {
    cursor: pointer;
}

p {
    margin: 0;
    padding: 0;
}

label {
    display: block;
}



/* Scritte */
.titolo_input {
    color: #9ebd41;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}




/* Box */
.contenitore {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px;

    /* border: solid thin red; */
}

.box_immagine {
    border-radius: 50px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    /* border: solid thin red; */
    width: 50%;

}

.box_immagine img {
    width: 100%;
    height: calc(100vh - 85px);
    object-fit: cover;

}

.box_credenziali {
    display: flex;
    align-items: center;
    justify-content: start;
    width: 100%; 
    height: calc(100vh - 85px);
    flex-direction: column;
    margin-right: 40px;
    border-radius: 50px;
    background-color: #ffffff;
    padding: 20px;
}

.login {
    text-align: left;
    width: fit-content;

    /* border: solid thin skyblue; */

}

.box_input {
    display: inline-block;
}


/* Input */
.stile_input:valid {
    border-color: #1c8ec7;
}
  
.stile_input:invalid {
    border-color: #9c9b9b;
}

.stile_input {
    width: 300px;
    background-color: #ffffff;
    border: solid 2px #9c9b9b;
    border-radius: 50px;
    padding: 8px 10px;
}

.stile_input:focus {
    border: solid 2px #1c8ec7;

}




/* Bottoni */
.btn_login {
    width: 100%;
    background-color: #9c9b9b;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 10px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: large;
    cursor: pointer;
}

/* .btn_login:hover {
    background-color: #ffffff;
    border: solid 2px #9ebd41;
    color: #555555;
} */


.btn_login.enabled:hover {
    background-color: #000000; /* Colore più scuro per l'hover */
    cursor: pointer; /* Indica che il pulsante è cliccabile */
}

.btn_login:disabled {
    cursor: default; /* Indica che il pulsante è disabilitato */
}



/* Helpers */
.mb3 {
    margin-bottom: 3px;
}
.mb20 {
    margin-bottom: 20px;
}
.mb30 {
    margin-bottom: 30px;
}
.mb50 {
    margin-bottom: 50px;
}


.text_center {
    text-align: center;
}



/* mobile */
@media (max-width: 610px) {

    .contenitore {
        padding: 15px;
    }

    .box_credenziali {
        margin-right: 15px;
    }

}

@media (max-width: 430px) {

    .csa {
        display: none;
    }

    .box_credenziali {
        margin-right: 0;
    }

}