/*
 * Password selection/copy support.
 *
 * Keeps browser-native password behavior unchanged while ensuring that
 * password-related inputs can be selected normally when a visibility
 * control changes their type from password to text.
 */

input[type="password"],
input[type="text"][name*="password" i],
input[type="text"][id*="password" i],
input[type="text"][autocomplete="current-password"],
input[type="text"][autocomplete="new-password"] {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    user-select: text !important;
}
