*,
*::before,
*::after {
    box-sizing: border-box;
}

.flatpickr-months {
    padding: 0.6rem;
}

.flatpickr-month {
    border-top-left-radius: 0.375rem;
    border-top-right-radius: 0.375rem;
}

.flatpickr-month {
    position: relative;
    overflow: hidden;
    height: 1.4375rem;
    text-align: center;
    line-height: 1;
    user-select: none;
}

.flatpickr-prev-month.flatpickr-prev-month {
    left: 0.75rem;
}

.flatpickr-prev-month,
.flatpickr-next-month {
    background-color: rgba(67, 89, 113, 0.1);
}

.flatpickr-next-month.flatpickr-next-month {
    right: 0.75rem;
}

.flatpickr-prev-month svg,
.flatpickr-next-month svg {
    fill: #697a8d;
    stroke: #697a8d;
}

.flatpickr-prev-month svg,
.flatpickr-next-month svg {
    width: 0.65rem;
}

.flatpickr-prev-month svg,
.flatpickr-next-month svg {
    stroke-width: 2;
    vertical-align: middle;
}

img,
svg {
    vertical-align: middle;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

svg:not(:root) {
    overflow-clip-margin: content-box;
    overflow: hidden;
}

.flatpickr-prev-month,
.flatpickr-next-month {
    position: absolute;
    top: 0.75rem;
    z-index: 3;
    padding: 0 0.41rem;
    height: 1.4375rem;
    text-decoration: none;
    line-height: 1.3rem;
    cursor: pointer;
    border-radius: 0.25rem;
}

.flatpickr-calendar.animate.open {
    animation: fpFadeInDown 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.flatpickr-calendar.open {
    display: inline-block;
}

.flatpickr-calendar.open,
.flatpickr-calendar.inline {
    visibility: visible;
    overflow: visible;
    max-height: 640px;
    opacity: 1;
}

.flatpickr-calendar {
    position: absolute;
    line-height: 1.53;
    font-size: 0.9375rem;
    visibility: hidden;
    overflow: hidden;
    box-sizing: border-box;
    padding: 0;
    max-height: 0;
    border: 0;
    /* background: rgba(0, 0, 0, 0); */
    text-align: center;
    opacity: 0;
    animation: none;
    outline: 0;
    touch-action: manipulation;
    border-radius: 0.5rem;
    width: calc(16.075rem + 2px) !important;
}

.flatpickr-current-month {
    font-size: 112%;
}

.flatpickr-current-month .cur-month {
    color: #566a7f;
}

.flatpickr-current-month .cur-month {
    font-size: 0.9375rem;
    font-weight: 500;
}

.flatpickr-current-month .numInputWrapper {
    display: inline-block;
    width: 6ch;
    font-size: 0.9375rem;
    font-weight: normal;
}

.numInputWrapper {
    position: relative;
    height: auto;
}

.flatpickr-current-month input.cur-year {
    margin: 0;
    height: 1.1875rem;
    cursor: default;
}

.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year {
    padding: 0 0 0 0.5ch;
    outline: none;
    vertical-align: middle !important;
    font-weight: 400;
    font-size: inherit;
    font-family: inherit;
    line-height: inherit;
    color: inherit;
    display: inline-block;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0);
    border: 0;
    border-radius: 0;
}

.numInputWrapper span.arrowUp {
    top: 0;
}

.numInputWrapper span {
    position: absolute;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 14px;
    height: 50%;
    line-height: 1;
    opacity: 0;
    cursor: pointer;
}

.numInputWrapper span.arrowDown {
    top: 50%;
}

.numInputWrapper span {
    position: absolute;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 14px;
    height: 50%;
    line-height: 1;
    opacity: 0;
    cursor: pointer;
}

.numInputWrapper input {
    width: 100%;
}

.numInputWrapper input,
.numInputWrapper span {
    display: inline-block;
}

.flatpickr-current-month {
    position: absolute;
    left: 12.5%;
    display: inline-block;
    width: 75%;
    height: 1.4375rem;
    text-align: center;
    font-weight: 300;
    line-height: 1;
    padding: 0.25rem 0 0 0;
    transform: translate3d(0px, 0px, 0px);
}

.flatpickr-innerContainer {
    display: block;
    display: flex;
    overflow: hidden;
    box-sizing: border-box;
}

.flatpickr-rContainer {
    display: inline-block;
    box-sizing: border-box;
    padding: 0;
}

.flatpickr-weekdays {
    display: flex;
    overflow: hidden;
    align-items: center;
    width: 100%;
    height: 1.75rem;
    text-align: center;
    padding: 0 0.6rem;
    font-size: 0.9375rem;
}

.flatpickr-weekdaycontainer {
    display: flex;
    width: 100%;
}

span.flatpickr-weekday {
    display: block;
    flex: 1;
    margin: 0;
    text-align: center;
    line-height: 1;
    cursor: default;
    font-size: 0.8125rem;
}

.flatpickr-days {
    padding: 0.6rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-top: 0;
    background-clip: padding-box;
    border-bottom-right-radius: 0.375rem;
    border-bottom-left-radius: 0.375rem;
}

.flatpickr-calendar,
.flatpickr-days {
    background: #fff;
    width: calc(16.075rem + 2px) !important;
}

.flatpickr-days {
    position: relative;
    display: flex;
    overflow: hidden;
    width: auto !important;
}

.flatpickr-day {
    color: #697a8d;
    border-radius: 0.375rem;
}

.flatpickr-day {
    position: relative;
    display: inline-block;
    flex-basis: 14.2857143%;
    justify-content: center;
    box-sizing: border-box;
    margin: 0;
    max-width: 2.125rem;
    width: 14.2857143%;
    height: 2.125rem;
    border: 1px solid rgba(0, 0, 0, 0);
    background: none;
    text-align: center;
    font-weight: 400;
    line-height: calc(2.125rem - 2px);
    cursor: pointer;
}

.dayContainer {
    display: inline-block;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    box-sizing: border-box;
    padding: 0;
    min-width: 14.875rem;
    max-width: 14.875rem;
    width: 14.875rem;
    outline: 0;
    opacity: 1;
    transform: translate3d(0px, 0px, 0px);
}

.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
    border-color: rgba(0, 0, 0, 0);
    background: rgba(0, 0, 0, 0);
    cursor: default;
}

.flatpickr-day.prevMonthDay,
.light-style .flatpickr-day.nextMonthDay,
.light-style .flatpickr-day.flatpickr-disabled {
    color: #b4bdc6;
}

.flatpickr-day.today {
    border-color: rgb(255 106 0 / var(--tw-bg-opacity));
}

.flatpickr-day {
    color: #697a8d;
    border-radius: 0.375rem;
}
