@import "./PopUp.css";

.form__label,
.title-desc .inputLabel {
    font-weight: 700;
    max-width: 100%;
    display: inline-block;
    font-size: 14px;
    color: #333;
}

@media (max-width: 990px) {
    .form__label,
    .form__field {
        flex: 1;
    }

    .form__field {
        margin: 0 auto;
    }
}

.form__field {
    width: 60%;
    max-width: 280px;
}

.form_container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


@media (max-width: 990px) {
    .form_container {
        margin: 5px;
    }
}

.input_container {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
    border-bottom: 1px solid var(--lightGrey);
    margin-bottom: 20px;
    padding-bottom: 20px;
}


@media (max-width: 990px) {
    .centered_on_mobile .form__field {
        margin-top: 10px;
        height:25px;
    }
}

.title-desc {
    display: flex;
    flex-direction: column;
    width: 70%;
}

@media (max-width: 990px) {
    .title-desc {
        width: 100%;
    }
}

input[type=file]::file-selector-button {
    border: none;
    background: var(--secondary);
    padding: 10px 20px;
    border-radius: 10px;
    color: var(--white);
    cursor: pointer;
    transition: background .2s ease-in-out;
}

.inputFileContainer {
    border: 1px solid var(--lightGrey);
    border-radius: 10px;
    padding: 5px;
    width: 25%;
    height: fit-content;
}

@media (max-width: 990px) {
    .inputFileContainer {
        width: fit-content;
        margin: 0 auto;
    }
}

input[type=text] {
    width: 60%;
}

.description .underline {
    text-decoration: underline;
}

.description.twoColumnM {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    height: 100px;
}

.description.twoColumnS {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    height: 60px;
}

@media (max-width: 990px) {
    .description.twoColumnS,
    .description.twoColumnM {
        height: fit-content;
    }
}

/* Homepage */
.codiceContainer,
.login_container,
.reset_password_container {
    width: 45%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login_container,
.reset_password_container {
    display: flex;
    flex-direction: column;
}

.nomeContainer,
.passwordContainer,
.campoContainer {
    width: 100%;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 990px) {
    .codiceContainer,
    .login_container,
    .reset_password_container {
        width: 90%;
    }
}

.codiceContainer .form__label,
.nomeContainer .form__label,
.passwordContainer .form__label {
    margin: 0;
    padding-right: 10px;
}

.button {
    width: fit-content;
    margin-top: 35px;
    background-color: var(--secondary);
    padding: 5px 20px;
    color: var(--white);
    border: none;
    text-transform: uppercase;
    border-radius: 10px;
}

.button:disabled {
    background-color: var(--text);
    pointer-events: none;
}

.error__label {
    font-size: 14px;
    color: var(--error);
    padding-bottom: 15px;
} 