.mpg-date-control {
position: relative;
display: inline-flex;
vertical-align: middle;
width: 100%;
max-width: 100%;
min-width: 0;
align-items: stretch;
box-sizing: border-box;
}
.mpg-date-control > .mpg-date-text {
flex: 1 1 auto;
width: 100%;
min-width: 0;
box-sizing: border-box;
padding-right: 44px !important;
font-variant-numeric: tabular-nums;
}
.mpg-date-control > .mpg-date-text:focus-visible {
outline: 2px solid #b8913f;
outline-offset: 1px;
}
.mpg-date-control > .mpg-date-text:invalid:not(:placeholder-shown) { border-color: #cf5269 !important; }
.mpg-date-control > .mpg-date-button {
position: absolute;
top: 0;
right: 0;
width: 42px;
height: 100%;
border: 0;
padding: 0;
background: transparent;
color: inherit;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
z-index: 2;
}
.mpg-date-control > .mpg-date-button:focus-visible { outline: 2px solid #b8913f; outline-offset: -2px; }
.mpg-date-control > .mpg-date-button:disabled { opacity: .45; cursor: not-allowed; }
.mpg-date-control > input[type="date"].mpg-shared-native-date,
.mpg-date-control > input[type="month"].mpg-shared-native-date {
position: absolute !important;
top: 0 !important;
right: 0 !important;
left: auto !important;
margin: 0 !important;
padding: 0 !important;
width: 42px !important;
min-width: 0 !important;
max-width: 42px !important;
height: 100% !important;
min-height: 0 !important;
border: 0 !important;
opacity: 0 !important;
pointer-events: none !important;
z-index: 1;
}
.mpg-date-control.mpg-date-fallback > input[type="date"].mpg-shared-native-date,
.mpg-date-control.mpg-date-fallback > input[type="month"].mpg-shared-native-date {
pointer-events: auto !important;
z-index: 3;
}