.date-control {
    display: inline-flex;
    position: relative;
    align-items: center;
    vertical-align: middle;
}

.date-control__text {
    width: 10rem;
    padding: .25rem .5rem;
    border: 1px solid #767676;
    border-radius: .2rem 0 0 .2rem;
    font: inherit;
}

.date-control__calendar {
    padding: .25rem .5rem;
    border: 1px solid #767676;
    border-left: 0;
    border-radius: 0 .2rem .2rem 0;
    background: #f4f4f4;
    line-height: inherit;
}

.date-control input.date-control__native {
    position: absolute;
    right: 0;
    top: 0;
    width: 2.5rem;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.date-control input.date-control__native::-webkit-calendar-picker-indicator {
    position: absolute;
    inset: 0;
    width: auto;
    height: auto;
    margin: 0;
    cursor: pointer;
}

.date-control:focus-within {
    outline: 2px solid #80bdff;
    outline-offset: 1px;
}
