/* MAIN */

main{
    display: flex;
    padding-top: 75px;
    padding-bottom: 75px;
}

main * {
    font-family: 'Poppins', sans-serif;
}

textarea,
input{
    font-weight: bold;
}

.form{
    margin: auto;
    width: 30%;
    text-align: center;
}

.form-title{
    font-size: 2rem;
}

.form-supply,
.form-support{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.list-input{
    margin-top: 10px;
    margin-bottom: 30px;
}

.list-input,
.form-support input,
.form-support textarea,
.form-supply input,
.form-supply textarea{
    box-shadow: 0 0 3px #777;
    border-radius: 5px;
    padding: 1rem;
    outline: none;
    border: none;
    width: 100%;
}

.list-input::placeholder,
.form-support input::placeholder,
.form-support textarea::placeholder,
.form-supply input::placeholder,
.form-supply textarea::placeholder{
    font-size: 0.7rem;
}

.form-supply textarea,
.form-support textarea{
    resize: none;
}

.form-support input[type=submit],
.form-supply input[type=submit]{
    background-color: rgb(0, 148, 0);
    font-variant: small-caps;
    font-weight: 600;
    margin-top: 10px;
    transition: 0.3s;
    cursor: pointer;
    font-size: 1rem;
    color: #fff;
    padding: 0.6rem;
}

.form-support input[type=submit]:hover,
.form-supply input[type=submit]:hover{
    background-color: rgb(1, 100, 1);
}

.input-box-form{
    display: flex;
    flex-direction: column;
    text-align: start;
    gap: 5px;
}

.input-box-form label{
    color: rgba(48, 49, 52, 0.925);
    font-weight: 600;
    font-size: 0.8rem;
}

@media (max-width: 800px){
    .form{
        width: 90%;
        margin-bottom: 40px;
    }
}

@media (max-width: 450px){
    .form{
        width: 90%;
    }
}

/* FORM-NONE */

.form-none{
    width: 100%;
    height: 375px;
}

/* ---------------------------------------
   🔥 ANIMAÇÃO DE EXPANSÃO (SUAVe)
--------------------------------------- */

.form-supply,
.form-support,
.form-none{
    padding: 0.3rem 1rem;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-10px);
    transition:
        max-height 0.45s ease,
        opacity 0.35s ease,
        transform 0.35s ease;
}

/* Quando estiver visível */
.form-supply.active,
.form-support.active,
.form-none.active{
    max-height: 1500px; /* valor alto para expandir totalmente */
    opacity: 1;
    transform: translateY(0);
}

/* Removido display:none (não anima) */
.closee{
    display: none; /* manter apenas se usado em outras partes */
}
