/*
 * Copyright (c) 2016-2025 Broadcom. All Rights Reserved.
 * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
 * This software is released under MIT license.
 * The full license information can be found in LICENSE in the root directory of this project.
 */

@use 'variables.forms' as forms-variables;

.clr-input-wrapper input[clrPassword] {
  & + button.clr-input-group-icon-action {
    .clr-password-eye-icon {
      color: forms-variables.$clr-forms-password-eye-icon-color;
    }
  }

  & + button.clr-input-group-icon-action[disabled] {
    .clr-password-eye-icon {
      fill: forms-variables.$clr-forms-password-disabled-eye-icon-color;
    }
  }

  &[disabled] {
    color: forms-variables.$clr-forms-password-disabled-eye-icon-color;
  }
}
