/* 1. Target the button specifically when the form is invalid */
/* This works because Blazor's EditForm reflects the state to the parent */
/*form:invalid .btn-primary {*/
/*    opacity: 0.4 !important;*/
/*    cursor: not-allowed !important;*/
/*    pointer-events: none; !* Physically stops the click *!*/
/*    box-shadow: none !important;*/
/*}*/

/* 2. Optional: Style the button when it becomes valid */
/*form:valid .btn-primary {*/
/*    opacity: 1 !important;*/
/*    cursor: pointer !important;*/
/*    pointer-events: auto;*/
/*}*/
