.DateRangePicker {

    &-in-already-selected-dates {
        &.rdp-day.rdp-button[disabled]:not(.rdp-day_selected) {
            opacity: unset;
            background-color: var(--gray-200);
            border-radius: 0;
        }
    }

    &-from-already-selected-dates {
        &.rdp-day.rdp-button[disabled]:not(.rdp-day_selected) {
            border-top-left-radius: 100%;
            border-bottom-left-radius: 100%;
            background-color: $grey_140;
        }
    }

    &-to-already-selected-dates {
        &.rdp-day.rdp-button[disabled]:not(.rdp-day_selected) {
            border-top-right-radius: 100%;
            border-bottom-right-radius: 100%;
            background-color: $grey_140;
        }
    }
    
    .rdp-months {
        flex-direction: column;
    }

    .rdp-month {
        margin: 10px 0;
    }

    .rdp-table {
        margin: auto;
    }

    .rdp-head_cell {
        font-weight: 400;
        font-size: 12px;
        line-height: 18px;
        color: var(--gray-500);
        text-transform: none;
    }
    .rdp-button:hover:not([disabled]):not(.rdp-day_selected) {
        background-color: #f0f8ff;
    }

    .rdp-caption_label {
        color: var(--gray-600);
        font-weight: 600;
        font-size: 14px;
        line-height: 20px;
    }

    .rdp-day {
        font-weight: 400;
        font-size: 12px;
        line-height: 18px;
        color: var(--gray-800);
    }

    .rdp-day_selected,
    .rdp-day_selected:hover {
        background-color: var(--blue);
        color: var(--white);
        font-weight: 600;
    }

    .rdp-day_range_middle {
        background-color: $blue_150;
        color: var(--black);
        font-weight: 400;
    }

    // END

    &-container {
        box-shadow: 0px 0px 15px rgba(74, 74, 74, 0.2);
        padding: 20px 15px;
    }

    &-link {
        color: var(--bluejay);
        font-weight: 500;
        letter-spacing: 1px;
        text-transform: uppercase;
        cursor: pointer;
        border: none;
        background: none;
        padding: 0;

        &:hover {
            text-decoration: underline;
        }
    }

    &-selected {
        color: var(--gray-600);
        font-weight: 400;
        font-size: 14px;
        line-height: 20px;
    }

    &-header {
        display: flex;
        flex: 1;
        align-items: center;

        .DateRangePicker-selected {
            flex: 1;
        }

        .DateRangePicker-link {
            justify-self: flex-end;
        }
    }

    &-footer {
        display: flex;
        flex: 1;
        justify-content: center;
        align-items: center;

        .DateRangePicker-link {
            padding: 0 25px
        }
    }
}
