.form-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.form-row:not(:last-of-type){
    margin-bottom: 10px;
}

.form-row label {
    font-family: var(--font-light);
    font-size: 16px;
    line-height: 40px;
    font-weight: bold;
    width: 100%;
}

.form-row input[type=text],
.form-row input[type=password],
.form-row input[type=email],
.form-row input[type=number],
.form-row input[type=tel],
.form-row textarea,
.form-row select {
    width: 100%;
    padding: 16px 30px;
    border: 2px solid #fff;
    background: #fff;
    outline: none;
    border-radius: 10px;
    font-family: var(--font-light);
    font-size: 16px;
    line-height: 20px;
    resize: none;

    transition: all 0.1s linear;
}

.form-row input:not(:focus):not(:placeholder-shown):invalid {
    border-color: var(--color-red-primary);
    background-color: var(--color-red-secondary);
}

/* .form-row input:invalid {
    border-color: var(--color-red-primary);
    background-color: var(--color-red-secondary);
} */

.form-row textarea {
    height: 300px;
}

.form-error {
    color: var(--color-red-primary);
    font-size: 12px;
    margin-top: 4px;
    display: flex;
    align-items: center;
}

.form-error i {
    color: var(--color-text);
    margin-right: 4px;
}


@media only screen and (max-width: 1000px) {
    .form-row textarea {
        height: 250px;
    }
}

@media only screen and (max-width: 800px) {
    .form-row textarea {
        height: 200px;
    }
}

@media only screen and (max-width: 600px) {
    .form-row textarea {
        height: 150px;
    }
}

input[type=number]::-webkit-inner-spin-button {
    opacity: 1;
}

.form-row input[type=checkbox].input-checkbox {
    display: none;
}

.form-row input[type=checkbox] + span {
    line-height: 1.25em;
}

.form-row input[type=checkbox] + span::before {
    font-size: 12px;
    border: 1px solid var(--color-text);
    background-color: var(--color-white);
    color: var(--color-white);
    border-radius: 3px;

    font-family: "Font Awesome 6 Pro";
    font-weight: 400;

    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;

    font-style: normal;
    font-variant: normal;
    line-height: 1;
    text-rendering: auto;
    content: '\f00c';
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.form-row input[type=checkbox]:checked + span::before {
    color: var(--color-text);
}