/**
 * Gravity Forms Bank account number input mask
 *
 * @package Mini
 */

#gform_wrapper_2 #input_2_57 {
    /* Inherit all form field styling from the theme */
}

/* Mask floats in front (pointer-events:none) — font/position set by JS */
#gform_wrapper_2 .bank-mask-underscores {
    position: absolute;
    white-space: pre;
    pointer-events: none;
    visibility: hidden;
    z-index: 2;
    box-sizing: border-box;
    line-height: 1; /* keep border-bottom close to text */
}

/* Invisible spacer matching the width of already-typed digits */
#gform_wrapper_2 .bank-mask-spaces {
    color: transparent;
    display: inline-block;
    vertical-align: baseline;
}

/* Remaining slots: invisible text, visible underline */
#gform_wrapper_2 .bank-mask-chars {
    color: transparent;
    border-bottom: 2px solid #aaa;
    display: inline-block;
    vertical-align: baseline;
    box-sizing: border-box;
}