:root {
    --primary-color: #1890ff;
    --border-color: #d9d9d9;
    --border-radius: 8px;
    --shadow: 0 3px 6px -4px rgba(0,0,0,0.12), 0 6px 16px 0 rgba(0,0,0,0.08), 0 9px 28px 8px rgba(0,0,0,0.05);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.upload-container {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 420px;
}

.upload-container h2 {
    text-align: center;
    color: #262626;
    margin-bottom: 30px;
    font-weight: 600;
}

.form-group {
    margin-bottom: 24px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #434343;
    font-weight: 500;
}

/* 统一输入框样式 */
input[type="text"], 
input[type="file"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-sizing: border-box;
    font-size: 14px;
    transition: all 0.3s;
}

input:hover { border-color: var(--primary-color); }
input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(24,144,255,0.2);
    outline: none;
}

/* 自定义搜索下拉框样式 */
.custom-select-wrapper {
    position: relative;
    cursor: pointer;
}

.select-display {
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background: #fff;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.select-display::after {
    content: "";
    width: 0; height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #bfbfbf;
    transition: transform 0.3s;
}

.custom-select-wrapper.open .select-display::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 105%;
    left: 0;
    right: 0;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    z-index: 100;
    display: none;
    padding: 8px;
    max-height: 250px;
    overflow-y: auto;
}

.custom-select-wrapper.open .dropdown-menu { display: block; }

.search-box {
    width: 100%;
    padding: 8px;
    margin-bottom: 8px;
    border: 1px solid #f0f0f0;
    border-radius: 4px;
    font-size: 13px;
    box-sizing: border-box;
}

.option-item {
    padding: 8px 12px;
    font-size: 14px;
    color: #595959;
    border-radius: 4px;
    transition: background 0.2s;
}

.option-item:hover { background: #e6f7ff; }
.option-item.selected { background: #bae7ff; font-weight: bold; }
.option-item.hidden { display: none; }

/* 按钮与进度条 */
.submit-btn {
    width: 100%;
    padding: 12px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.submit-btn:hover { background-color: #40a9ff; box-shadow: 0 4px 10px rgba(24,144,255,0.3); }
.submit-btn:disabled { background-color: #d9d9d9; cursor: not-allowed; box-shadow: none; }

.progress-container {
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    margin-top: 20px;
    display: none;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #1890ff, #52c41a);
    width: 0%;
    transition: width 0.2s;
}

#statusMsg {
    margin-top: 15px;
    padding: 12px;
    border-radius: 6px;
    display: none;
    font-size: 13px;
}

.msg-success { background: #f6ffed; border: 1px solid #b7eb8f; color: #52c41a; }
.msg-error { background: #fff2f0; border: 1px solid #ffccc7; color: #ff4d4f; }