.flatpickr-day.selected {
    background-color: var(--mud-palette-primary) !important;
    border: none;
}

.flatpickr-day.today {
    border: none;
}

.flatpickr-month {
    height: 40px !important;
    margin-bottom: 11px;
}

.flatpickr-prev-month,
.flatpickr-next-month,
.flatpickr-current-month {
    margin-top: 5px;
}

.flatpickr-current-month {
    display: flex !important;
    flex-direction: row-reverse;
    justify-content: center;
    height: 36px !important;
}

.numInput.cur-year {
    margin-top: 4px !important;
    width: 50px !important;
    font-size: var(--mud-typography-body1-size) !important;
    font-family: var(--mud-typography-body1-family) !important;
    font-weight: var(--mud-typography-body1-weight) !important;
    line-height: var(--mud-typography-body1-lineheight) !important;
    letter-spacing: var(--mud-typography-body1-letterspacing) !important;
    text-transform: var(--mud-typography-body1-text-transform) !important;
}

.flatpickr-monthDropdown-months {
    margin-top: 1px !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    font-size: var(--mud-typography-body1-size) !important;
    font-family: var(--mud-typography-body1-family) !important;
    font-weight: var(--mud-typography-body1-weight) !important;
    line-height: var(--mud-typography-body1-lineheight) !important;
    letter-spacing: var(--mud-typography-body1-letterspacing) !important;
    text-transform: var(--mud-typography-body1-text-transform) !important;
}

.flatpickr-months .flatpickr-prev-month:hover svg, .flatpickr-months .flatpickr-next-month:hover svg {
    fill: black !important;
}


.flatpickr-weekday {
    font-size: var(--mud-typography-caption-size) !important;
    font-family: var(--mud-typography-caption-family) !important;
    font-weight: var(--mud-typography-caption-weight) !important;
    line-height: var(--mud-typography-caption-lineheight) !important;
    letter-spacing: var(--mud-typography-caption-letterspacing) !important;
    text-transform: var(--mud-typography-caption-text-transform) !important;
}

.flatpickr-day {
    display: flex !important;
    align-items: center !important;
    height: 38px !important;
    font-size: var(--mud-typography-body2-size) !important;
    font-family: var(--mud-typography-body2-family) !important;
    font-weight: var(--mud-typography-body2-weight) !important;
    line-height: var(--mud-typography-body2-lineheight) !important;
    letter-spacing: var(--mud-typography-body2-letterspacing) !important;
    text-transform: var(--mud-typography-body2-text-transform) !important;
}

.flatpickr-day.nextMonthDay,
.flatpickr-day.prevMonthDay {
    visibility: hidden !important;
}
