.FilterDateRangeModal {
    z-index: 100;

    &-alert-body {
        margin-bottom: 0;
    }

    &-alert-header {
        color: var(--parrot);
        font-weight: 500;
        margin-bottom: 0;
        margin-top: 0;
    }

    &-btn-cancel {
        margin-right: 10px;
    }

    &-date {
        flex: 1;
    }

    &-date-label {
        color: var(--gray-800);
        font-size: 14px;
        font-weight: 500;
        margin-bottom: 5px;
    }

    &-date-start {
        margin-right: 25px;
    }

    &-dates {
        display: flex;
    }

    &-error {
        .DayPickerInput-input:focus {
            border-color: var(--parrot);
            box-shadow: inset 0 1px 1px rgba($black, .07), 0 0 8px rgba(var(--parrot), .6);
            outline: none;
        }
    }

    .alert {
        margin-bottom: 20px;
        padding: 10px;

        &.alert-danger {
            background-color: $red-lightest;
            border: none;
            border-radius: 4px;
            color: var(--parrot);
        }
    }

    /* stylelint-disable selector-class-pattern */

    select {
        &.form-control {

            appearance: none;
            padding-right: 5px;
            &::-ms-expand {
                display: none;
            }
        }
    }

    .DayPicker {
        font-size: 14px;

        .DayPicker-Caption {
            line-height: 100%;
        }

        .DayPicker-Month-Picker,
        .DayPicker-Year-Picker {
            display: inline-block;
            font-size: 14px;
            vertical-align: middle;
            width: auto;
        }
    }

    .DayPicker-Day {
        border-radius: 0;
        padding: 1rem;
    }

    .DayPicker-Day--outside {
        color: var(--gray-400);
    }

    .DayPicker-Day--selected:not(.DayPicker-Day--disabled):not(.DayPicker-Day--outside) {
        background-color: var(--bluejay_light);
        color: inherit;
        font-weight: 500;
    }

    .DayPicker-Day--today {
        font-weight: inherit;

        &:not(.DayPicker-Day--selected):not(.DayPicker-Day--disabled):not(.DayPicker-Day--outside) { /* stylelint-disable-line max-line-length */
            color: inherit;
        }
    }

    .DayPicker-TodayButton {
        color: var(--bluejay);
        font-size: 11px;
        font-weight: 500;
        line-height: 13px;
    }

    .btn.DayPicker-left-arrow,
    .btn.DayPicker-right-arrow {
        height: auto;
        padding: 7px 10px 5px;
        top: 0;
        width: auto;
    }
    .DayPickerInput-input {
        &::-ms-clear {
            display: none;
            height: 0;
            width: 0;
        }
    }

    .DayPickerInput-Overlay {
        border: 1px solid var(--gray-500);
        box-shadow: 0 1px 5px rgba($black, .2);
        padding: 20px 17px 10px 18px;
    }

    .ReactModal-body {
        height: 560px;
        width: 710px;
    }

    .ReactModal-footer {
        padding: 20px;
        text-align: right;
    }

    /* stylelint-enable selector-class-pattern */
}
