﻿/* 下拉框通用样式 */
.el-cascader__dropdown,
.el-select-dropdown {
    position: absolute;
    z-index: 2000;
    border: 1px solid #e4e7ed;
    border-radius: 4px;
    background-color: #fff;
    box-shadow: 0 2px 12px 0 rgba(0,0,0,.1);
    margin-top: 5px;
}

/* 级联菜单样式 */
.el-cascader-menu {
    min-width: 160px;
    max-height: 200px;
    overflow-y: auto;
}

.el-cascader-menu__item {
    padding: 8px 20px;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color .3s;
}

    .el-cascader-menu__item:hover {
        background-color: #f5f7fa;
    }

.el-cascader-menu__item__label {
    flex: 1;
}

.el-cascader-menu__item__postfix {
    float: right;
    color: #c0c4cc;
}

/* 下拉列表项样式 */
.el-select-dropdown__item {
    padding: 8px 20px;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color .3s;
}

    .el-select-dropdown__item:hover {
        background-color: #f5f7fa;
    }

/* 快捷选择弹窗样式 */
.el-popover {
    position: absolute;
    background: #fff;
    min-width: 150px;
    border-radius: 4px;
    border: 1px solid #ebeef5;
    padding: 12px;
    z-index: 2000;
    color: #606266;
    line-height: 1.4;
    text-align: justify;
    font-size: 14px;
    box-shadow: 0 2px 12px 0 rgba(0,0,0,.1);
}

/* 数量选择按钮样式 */
.numbers_box {
    margin-bottom: 8px;
}

.number_select_card {
    margin: 2px;
    min-width: 60px;
}

/* 输入框交互效果 */
.el-input__inner:focus {
    border-color: #1788ff;
    outline: 0;
}

/* 滚动条样式 */
.el-scrollbar__thumb {
    background-color: rgba(144, 147, 153, .3);
}

    .el-scrollbar__thumb:hover {
        background-color: rgba(144, 147, 153, .5);
    }


/* 快速计价区域下拉框修复 - 开始 */
.order_bar .order {
    overflow: visible !important;
    position: relative;
}

/* 输入框基本样式 */
.el-input {
    position: relative;
    font-size: 14px;
    display: inline-block;
    width: 100%;
}

.el-input__inner {
    -webkit-appearance: none;
    background-color: #fff;
    background-image: none;
    border-radius: 4px;
    border: 1px solid #dcdfe6;
    box-sizing: border-box;
    color: #606266;
    display: inline-block;
    font-size: inherit;
    height: 40px;
    line-height: 40px;
    outline: none;
    padding: 0 15px;
    transition: border-color .2s cubic-bezier(.645,.045,.355,1);
    width: 100%;
}

    .el-input__inner:focus {
        border-color: #1788ff;
    }

/* 下拉箭头样式 */
.el-input__suffix {
    position: absolute;
    height: 100%;
    right: 5px;
    top: 0;
    text-align: center;
    color: #c0c4cc;
    transition: all .3s;
}

.el-input__icon {
    height: 100%;
    width: 25px;
    text-align: center;
    transition: all .3s;
    line-height: 40px;
}

/* 级联选择器下拉框 */
.el-cascader {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    width: 100%;
}

.el-cascader__dropdown {
    position: absolute;
    z-index: 2001;
    border: 1px solid #e4e7ed;
    border-radius: 4px;
    background-color: #fff;
    box-shadow: 0 2px 12px 0 rgba(0,0,0,.1);
    margin-top: 5px;
    min-width: 200px;
    top: 100%;
    left: 0;
}

.el-cascader-panel {
    display: flex;
    border-radius: 4px;
}

.el-cascader-menu {
    min-width: 160px;
    border-right: 1px solid #e4e7ed;
    max-height: 200px;
    overflow-y: auto;
}

    .el-cascader-menu:last-child {
        border-right: none;
    }

.el-cascader-menu__wrap {
    height: 100%;
}

.el-cascader-menu__list {
    position: relative;
    min-height: 100%;
    margin: 0;
    padding: 6px 0;
    list-style: none;
}

.el-cascader-menu__item {
    position: relative;
    display: flex;
    align-items: center;
    padding: 8px 20px;
    height: 34px;
    line-height: 1.5;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color .3s;
}

    .el-cascader-menu__item:hover {
        background-color: #f5f7fa;
    }

.el-cascader-menu__item__label {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.el-cascader-menu__item__postfix {
    float: right;
    color: #c0c4cc;
}

/* 普通选择下拉框 */
.el-select {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    width: 100%;
}

.el-select-dropdown {
    position: absolute;
    z-index: 2001;
    border: 1px solid #e4e7ed;
    border-radius: 4px;
    background-color: #fff;
    box-shadow: 0 2px 12px 0 rgba(0,0,0,.1);
    margin-top: 5px;
    min-width: 100%;
    max-height: 300px;
    overflow-y: auto;
    top: 100%;
    left: 0;
}

.el-select-dropdown__wrap {
    max-height: 274px;
}

.el-select-dropdown__list {
    list-style: none;
    padding: 6px 0;
    margin: 0;
    box-sizing: border-box;
}

.el-select-dropdown__item {
    padding: 8px 20px;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color .3s;
}

    .el-select-dropdown__item:hover {
        background-color: #f5f7fa;
    }

/* 数量快捷选择弹窗 */
#el-popover-6356 {
    position: absolute !important;
    z-index: 2002 !important;
    background: #fff !important;
    border-radius: 4px !important;
    border: 1px solid #ebeef5 !important;
    padding: 12px !important;
    color: #606266 !important;
    line-height: 1.4 !important;
    font-size: 14px !important;
    box-shadow: 0 2px 12px 0 rgba(0,0,0,.1) !important;
    min-width: 400px !important;
    top: 100% !important;
    left: 0 !important;
    margin-top: 5px !important;
}

/* 数量选择按钮组 */
.numbers_box {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.number_select_card {
    flex: 1;
    min-width: 60px;
    max-width: 70px;
}

/* 输入框组 */
.el-input-group {
    line-height: normal;
    display: inline-table;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.el-input-group__append {
    background-color: #f5f7fa;
    color: #909399;
    vertical-align: middle;
    display: table-cell;
    position: relative;
    border: 1px solid #dcdfe6;
    border-radius: 0 4px 4px 0;
    padding: 0 20px;
    width: 1px;
    white-space: nowrap;
}

/* 快速计价表单布局修复 */
.home_quotaion_inner .form_content {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-end;
    position: relative;
}

.home_field {
    flex: 1;
    min-width: 120px;
    position: relative;
}

/* 确保下拉框不会被截断 */
.order_content {
    position: relative;
    z-index: 1;
}

/* 滚动条样式 */
.el-scrollbar {
    overflow: hidden;
    position: relative;
}

.el-scrollbar__wrap {
    overflow: scroll;
    height: 100%;
}

.el-scrollbar__wrap--hidden-default {
    scrollbar-width: none;
}

    .el-scrollbar__wrap--hidden-default::-webkit-scrollbar {
        display: none;
    }

.el-scrollbar__thumb {
    position: relative;
    display: block;
    width: 0;
    height: 0;
    cursor: pointer;
    border-radius: inherit;
    background-color: rgba(144, 147, 153, .3);
    transition: background-color .3s;
}

    .el-scrollbar__thumb:hover {
        background-color: rgba(144, 147, 153, .5);
    }

/* 响应式调整 */
@media (max-width: 768px) {
    .home_quotaion_inner .form_content {
        flex-direction: column;
    }

    .home_field {
        width: 100%;
    }

    #el-popover-6356 {
        min-width: 300px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
}

/* 快速计价区域下拉框修复 - 结束 */
