/**
 * Copyright IBM Corp. 2016, 2023
 *
 * This source code is licensed under the Apache-2.0 license found in the
 * LICENSE file in the root directory of this source tree.
 */

@use '@carbon/styles/scss/utilities/convert' as *;

//-----------------------------
// Select (expressive)
//-----------------------------

/// Select styles (expressive)
/// @access private
/// @group select-expressive
@mixin select-expressive {
  .#{$prefix}--select-input {
    block-size: $spacing-09;
  }
  .#{$prefix}--select__invalid-icon {
    block-size: to-rem(20px);
    inline-size: to-rem(20px);
  }
  .#{$prefix}--select__arrow {
    inline-size: to-rem(20px);
  }
  .#{$prefix}--select--inline.#{$prefix}--select--invalid .#{$prefix}--label,
  .#{$prefix}--select--inline.#{$prefix}--select--invalid
    .#{$prefix}--form__helper-text {
    margin-block-start: $spacing-05;
  }
  .#{$prefix}--form__helper-text {
    line-height: $spacing-05;
  }
}
