.datetime-range {
    background-color: #fff;
    background-image: none;
    border-radius: var(--bs-border-radius);
    border: 1px solid #dcdfe6;
    color: #606266;
    display: inline-block;
    outline: none;
    transition: border-color .2s cubic-bezier(.645,.045,.355,1);
    padding: 0px 10px;
    position: relative;
}

    .datetime-range:hover {
        border-color: #c0c4cc;
    }

    .datetime-range.active {
        border-color: #409eff
    }

    .datetime-range.disabled,
    .datetime-range.disabled input {
        background-color: #e9ecef;
    }

.datetime-range-bar {
    display: inline-flex;
    align-items: center;
}

    .datetime-range-bar .datetime-range-input {
        border: none;
        outline: none;
        display: inline-block;
        margin: 0;
        padding: 0;
        text-align: center;
        color: #606266;
        cursor: pointer;
        width: 80px;
        padding: 6px 0;
    }

    .datetime-range-bar .datetime-range-input-icon {
        cursor: pointer;
    }

    .datetime-range-bar .range-separator {
        padding: 0 5px;
        color: #303133;
    }

.range-panel-body {
    display: flex;
}

    .range-panel-body .picker-panel {
        box-shadow: none;
        border: none;
    }

        .range-panel-body .picker-panel:first-child {
            border-right: 1px solid #ced4da;
            border-top-right-radius: 0;
            border-bottom-right-radius: 0;
        }

    .range-panel-body .date-picker-header-label {
        cursor: unset;
    }

        .range-panel-body .date-picker-header-label:hover {
            color: inherit;
        }

.range-panel-footer {
    padding: 0.5rem;
}

.popover-datetime-range {
    max-width: unset;
}

    .popover-datetime-range .popover-body {
        padding: 0;
    }

.range-clear {
    border-radius: 50%;
    border: 1px solid #9d9d9d;
    padding: 1px;
    display: none;
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 11px;
}

.datetime-range:hover:not(.disabled) .range-clear {
    display: flex;
}
