243243 background-color : var (--nu-color-error-alt , # dc2626 );
244244}
245245
246- /* Enhanced Submit Button */
247- button [type = 'submit' ] {
246+ /* Enhanced Submit Button - Scoped to nuxt-users components only */
247+ .n-users-login-section button [type = 'submit' ],
248+ .n-users-register-section button [type = 'submit' ],
249+ .n-users-reset-password-container button [type = 'submit' ],
250+ .n-users-user-form button [type = 'submit' ],
251+ form .n-users-form button [type = 'submit' ] {
248252 width : 100% ;
249253 padding : 0.75em 1em ;
250254 font-size : 0.875rem ;
@@ -262,12 +266,20 @@ button[type='submit'] {
262266 min-height : 44px ;
263267}
264268
265- button [type = 'submit' ]: hover : not (: disabled ) {
269+ .n-users-login-section button [type = 'submit' ]: hover: not (: dis abled),
270+ .n-users-register-section button [type = 'submit' ]: hover: not (: dis abled),
271+ .n-users-reset-password-container button [type = 'submit' ]: hover: not (: dis abled),
272+ .n-users-user-form button [type = 'submit' ]: hover: not (: dis abled),
273+ form .n-users-form button [type = 'submit' ]: hover : not (: disabled ) {
266274 background-color : var (--nu-color-primary-dark );
267275 border-color : var (--nu-color-primary-dark );
268276}
269277
270- button [type = 'submit' ]: disabled {
278+ .n-users-login-section button [type = 'submit' ]: dis abled,
279+ .n-users-register-section button [type = 'submit' ]: dis abled,
280+ .n-users-reset-password-container button [type = 'submit' ]: dis abled,
281+ .n-users-user-form button [type = 'submit' ]: dis abled,
282+ form .n-users-form button [type = 'submit' ]: disabled {
271283 opacity : 0.6 ;
272284 cursor : not-allowed;
273285}
@@ -435,8 +447,12 @@ button[type='submit']:disabled {
435447 list-style : none;
436448}
437449
438- /* Form Layout */
439- form {
450+ /* Form Layout - Scoped to nuxt-users components only */
451+ .n-users-login-section form ,
452+ .n-users-register-section form ,
453+ .n-users-reset-password-container form ,
454+ .n-users-user-form form ,
455+ form .n-users-form {
440456 display : flex;
441457 flex-direction : column;
442458 gap : 1.5rem ;
0 commit comments