.j-bom-upload {
    display: none;
    position: absolute;
    z-index: 999;
    padding: 5px 0;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.form-container {
    width: 400px;
    margin: auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 0;
}

label {
    display: inline-block;
    width: 100px;
    font-weight: bold;
}

.upload-area {
    border: 2px dashed #ccc;
    border-radius: 6px;
    padding: 50px;
    text-align: center;
    color: #666;
    cursor: pointer;
    transition: border-color 0.3s ease;
    position: relative;
    width: 100%;
}

.upload-area:hover {
    border-color: #409EFF;
}

.upload-area input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-list {
    margin-top: 10px;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px;
    background-color: #f1f1f1;
    border-radius: 4px;
    margin-top: 5px;
    position: relative;
}

.file-name {
    color: green;
}

.delete-btn {
    display: none;
    cursor: pointer;
    color: red;
}

.file-item:hover .delete-btn {
    display: block;
}

.switch-container {
    display: flex;
    align-items: center;
}

.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
    background-color: #ccc;
    border-radius: 34px;
    transition: background-color 0.3s;
}

.switch::before {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: white;
    top: 2px;
    left: 2px;
    transition: transform 0.3s;
}

.switch.checked {
    background-color: #409EFF;
}

.switch.checked::before {
    transform: translateX(20px);
}

.btn-group {
    margin-top: 10px;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin-right: 10px;
    outline: none;
}

.btn-submit {
    background-color: #409EFF;
    color: white;
}

.btn-default {
    background-color: #eee;
    color: #333;
}

.error {
    color: red;
    font-size: 12px;
    margin-top: 5px;
}

/* 下载模板样式 */
.el-upload__tip {
    font-size: 12px;
    margin-top: 8px;
    color: #666;
}

.el-upload__tip a {
    color: #409EFF;
    text-decoration: none;
    margin-left: 5px;
}