/* 容器布局：使用 Flex 让三个下拉框横向排列 */
.distpicker-select {
    display: flex;
    gap: 10px; /* 下拉框之间的间距 */
    align-items: center;
    width: 100%;
}

/* 统一设置下拉框样式 */
.distpicker-select select {
    flex: 1; /* 平分宽度 */
    height: 40px;
    padding: 0 15px;
    font-size: 14px;
    color: #333;
    background-color: #fff;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    cursor: pointer;
    /* 解决原生外观在不同浏览器下的差异 */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    /* 自定义箭头图标 */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23c0c4cc'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 20px;
}

/* 鼠标悬停效果 */
.distpicker-select select:hover {
    border-color: #c0c4cc;
}

/* 聚焦效果 (点击时) */
.distpicker-select select:focus {
    border-color: #409eff; /* 物流平台常用的蓝色 */
    box-shadow: 0 0 5px rgba(64, 158, 255, 0.2);
}

/* 禁用状态 */
.distpicker-select select:disabled {
    background-color: #f5f7fa;
    color: #c0c4cc;
    cursor: not-allowed;
}

/* 响应式：在手机端竖向排列 */
@media (max-width: 768px) {
    .distpicker-select {
        flex-direction: column;
        gap: 8px;
    }
    .distpicker-select select {
        width: 100%;
    }
}
