@use '../abstract/variables' as v;
@use '../abstract/mixins' as m;
@use '../abstract/theme' as t;
@use 'config' as c;

@include c.host('datepicker') {
display: inline-flex;
box-sizing: border-box;
width: v.text-field('width');
vertical-align: baseline;
white-space: nowrap;

&::before {
content: attr(label) ' ';
white-space: pre;
display: inline-block;
width: 100%;
padding-bottom: 4px + v.text-field('height') + 4px + 16px;
color: t.color('on-surface');
@include m.typography('body-small');
}

> * {
display: none;
}
}
