.gform_wrapper.gravity-theme .ginput_container_custom_credit_card span:not(.ginput_full):not(:last-of-type):not(:nth-last-of-type(2)), 
.gform_wrapper.gravity-theme .ginput_full:not(:last-of-type) {
	margin-bottom: 8px;
}

.ginput_container_custom_credit_card.field_sublabel_above > span {
    display: flex;
    flex-direction: column-reverse;
}

.gform_wrapper.gravity-theme .field_sublabel_above .ginput_complex label {
    padding-bottom: 5px;
    padding-top: 0;
}