/* Presentation-only: JS marks disabled/readonly form inputs for scoped styling. */
.wpforms-form .wpforms-field input.im-inactive-fields-input,
.wpforms-form .wpforms-field textarea.im-inactive-fields-input,
.wpforms-form .wpforms-field select.im-inactive-fields-input {
    background-color: var(--im-inactive-fields-bg, #E9E9E9) !important;
}
/* Separate positioned decorative node avoids wrapping inputs and WPForms validation markup. */
.wpforms-form .wpforms-field.im-inactive-fields-wrapper { position: relative; }
.wpforms-form .im-inactive-fields-lock {
    position: absolute;
    z-index: 2;
    display: block;
    width: 22px;
    height: 22px;
    pointer-events: none;
    user-select: none;
}
.wpforms-form .im-inactive-fields-lock::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23777777' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='10' width='14' height='11' rx='2'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3'/%3E%3Cpath d='M12 15v2'/%3E%3C/svg%3E");
}
/* Reserve space for the icon, but only on non-editable controls with an icon. */
.wpforms-form .wpforms-field input.im-inactive-fields-has-lock,
.wpforms-form .wpforms-field textarea.im-inactive-fields-has-lock,
.wpforms-form .wpforms-field select.im-inactive-fields-has-lock {
    padding-right: 44px !important;
}
