.tb-brochure-form__icon-checkmark {
    display: none;
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.tb-brochure-form__validate-checkmark:valid + .tb-brochure-form__icon-checkmark {
    display: flex;
}

.tb-brochure-form {
    input,
    select {
        border: 1px solid theme('colors.gray.500');
        transition: .3s;

        &:hover {
            border-color: theme('colors.gray.600');
        }
    }

    input[type=number]::-webkit-inner-spin-button,
    input[type=number]::-webkit-outer-spin-button {
        appearance: none;
        margin: 0;
    }

    input[type=checkbox],
    input[type=radiobutton] {
        box-sizing: border-box;
        padding: 0;
    }

    input:not([type=submit]):valid,
    select:valid {
        border-color: theme('colors.green');
    }

    select:invalid {
        color: theme('colors.gray.500');
    }

    input:focus,
    select:focus {
        outline: none;
        border-color: theme('colors.secondary.200');
    }

}
