// NumberInput Component Styles
// Uses InputWrapper for layout, only number-input-specific styles here
@use '../../../../theme/styles/variables.scss' as vars;
// ============================================
// NumberInput Wrapper
// ============================================
.hi-number-input-wrapper {
display: inline-flex;
// NumberInput should have fixed width for content
.hi-input-wrapper {
width: auto;
min-width: 100px;
// Input should be centered and have fixed width
.hi-input-wrapper-input {
flex: 0 0 auto;
width: 60px;
min-width: 60px;
input {
text-align: center;
padding: 0 4px;
}
}
}
}
// ============================================
// Dark Theme Support
// ============================================
[data-theme="dark"] .hi-number-input-wrapper,
[data-theme="tairitsu"] .hi-number-input-wrapper {
// Inherits from InputWrapper dark theme
}