.imovel-form{
    background-color: var( --branco);
    min-height: calc(100vw - 80px);
    padding-bottom: 4rem;
    color: var(--cinza);
    max-width: 450px;
    min-width: calc(320px - 2rem);
}

.imovel-form__titulo{
    border-bottom: 1rem;
    font-weight: 400;
    padding: 1rem 2rem 0 1rem;
}

.imovel-form section{
    margin: 1rem 0;
    padding: 1rem 2rem;
}

.imovel-form label{
    font-size: 15px;
    color: var(--cinzaClaro);
    font-weight: 400;
    text-transform: uppercase;
    padding-bottom: 0.5rem;
}

.switch-buttons{
    display: flex;
    margin-bottom: 2rem;
    border: solid 1px var(--cinza);
    width: fit-content;
    padding: .2rem;
    border-radius: 22px;
}

.switch-buttons button{
    text-align: left;
    color: var(--branco);
    border: none;
    font-weight: 600;
    padding: .75rem;
    line-height: 18px;
    font-size: 14px;
}

.switch-buttons button:focus{
    outline: 0;
}

.switch-buttons button.active{
    background-color: var(--verdeEscuro);
    border-radius: 22px;
    color: var(--branco);
}

.switch-buttons  button.inactive{
    color: var(--verdeEscuro);
    background-color: transparent;
}

.imovel-form__checkbox{
    padding-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.imovel-form__checkbox label{
    width: 150px;
    display: flex;
    align-items: center;
}

.imovel-form__adicionar-caracteristica input{
    width: 270px;
    margin-right: 1rem;
    margin-bottom: 1rem;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.imovel-form__adicionar-caracteristica button{
    text-align: left;
    background-color: var(--verdeEscuro);
    color: var(--branco);
    border: none;
    font-weight: 600;
    padding: .7rem;
    line-height: 18px;
    font-size: 14px;
}

.imovel-form__novas-caracteristicas{
    display: flex;
    flex-wrap: wrap;
    padding: 1rem 0;
}

.imovel-form__novas-caracteristicas span{
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    display: flex;
    flex-shrink: 0;
    margin: 0 16px 8px 0;
    border: 1px solid #d0d0d0;
    border-radius: 100px;
    color: #50575a;
    padding: 6px 12px;
}

.imovel-form__novas-caracteristicas span button{
    background-color: transparent;
    padding-left: 8px;
    margin-top: -1px;
    border: none;
    color: var(--cinzaClaro);
}

.imovel-form__novas-caracteristicas span button:focus, .imovel-form__codigo-btn:focus{
    outline: none;
    border: none;
}

.imovel-form__codigo-btn{
    background-color: transparent;
    height: 20px;
    border: none;
    font-size: 13px;
    color: var(--cinzaClaro);
}

.imovel-form__input_fotos{
    display: none;
}

.imovel-form__label_fotos{
    aspect-ratio: 16/9;
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    border: 2px dashed currentcolor;
    cursor: pointer;
    transition: color 300ms ease-in-out, background 300ms ease-in-out;
    overflow: hidden;
}

.imovel-form__label_fotos:hover {
    color: #777;
    background: #ccc;
}

.imovel-form__buttons_form{
    display: flex;
    justify-content: right;
    align-items: center;
    background-color: var(--areiaClara);
    position: fixed;
    height: 70px;
    top: calc(100% - 70px);
    left: 0;
    padding: .5rem 2rem;
    width: 100vw;
}

.imovel-form__buttons_form button{
    text-align: left;
    border: none;
    font-weight: 600;
    margin: 0 1rem;
    padding: .7rem;
    line-height: 18px;
    font-size: 14px;
    height: 40px;
    width: 150px;
}

.imovel-form__buttons_form button:nth-child(2){
    background-color: var(--verdeEscuro);
    color: var(--branco);
}

.imovel-form__buttons_form button:nth-child(1){
    background-color: var(--areiaEscura);
    color: var(--verdeEscuro);
}

.imovel-form_grid_imagens{
    display: grid;
    margin-top: 16px;
    grid-template-columns: repeat(1,minmax(10px,1fr));
    grid-row-gap: 16px;
}

.imovel-form_grid_imagens__div{
    background-size: cover;
    background-position: 50%;
    background-repeat: no-repeat;
    height: 120px;
    aspect-ratio: 16/9;
    display: flex;
    margin-right: 10px;
    justify-content: right;
}

.span-alert{
    color: red;
    font-size: 14px;
    font-weight: 400;
}

@media screen and (min-width: 768px){
    .imovel-form_grid_imagens{
        display: grid;
        margin-top: 16px;
        grid-template-columns: repeat(2,minmax(10px,1fr));
        grid-row-gap: 16px;
    }

    .imovel-form{
        background-color: var( --branco);
        min-height: calc(100vw - 80px);
        color: var(--cinza);
        width: 80%;
        max-width: none;
    }

    .imovel-form__titulo, .imovel-form section{
        padding: 0;
    }

    .imovel-form__codigo-btn{
        font-size: 15px;
        padding-top: 7px;
    }

}
