/* MARC批套页面样式 */
.content-header {
    background: #00a2e8;
    color: white;
    padding: 8px 15px;
    font-size: 14px;
}

.info-section {
    padding: 15px;
}

.user-info-bar {
    margin-bottom: 15px;
    font-size: 12px;
    line-height: 1.5;
}

.account-tag {
    background: #666;
    color: white;
    padding: 1px 4px;
    border-radius: 2px;
    margin: 0 2px;
}

.count-tag {
    color: #00a2e8;
    font-weight: bold;
    margin: 0 2px;
}

.notice-box {
    background: #e3f2fd;
    padding: 10px;
    margin-bottom: 15px;
    font-size: 12px;
}

.notice-box p {
    margin: 5px 0;
    color: #333;
    line-height: 1.5;
}

/* 选项卡样式 */
.search-tabs {
    margin: 15px 0;
}

.tab-buttons {
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
}

.tab-btn {
    display: inline-block;
    padding: 8px 15px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-bottom: none;
    color: #333;
    text-decoration: none;
    font-size: 12px;
    margin-right: 5px;
    position: relative;
    bottom: -1px;
}

.tab-btn.active {
    background: white;
    border-bottom-color: white;
    color: #00a2e8;
}

.tab-btn:hover {
    text-decoration: none;
    color: #00a2e8;
}

.tab-content {
    padding: 15px 0;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.search-input {
    width: 100%;
    height: 120px;
    padding: 8px;
    border: 1px solid #ddd;
    font-size: 12px;
    resize: vertical;
}

/* 搜索区域 */
.search-textarea {
    width: 100%;
    height: 120px;
    padding: 8px;
    border: 1px solid #ddd;
    margin-bottom: 15px;
    font-size: 12px;
    resize: vertical;
}

/* 搜索类型选项 */
.search-options {
    margin: 5px 0;
    border-top: 1px solid #eee;
    padding-top: 5px;
}

.search-type-group {
    display: flex;
    align-items: center;
    gap: 30px;
}

.radio-label {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    cursor: pointer;
    padding: 3px 0;
}

.radio-label input[type="radio"] {
    margin-right: 4px;
    vertical-align: -2px;
}

.radio-label span {
    color: #333;
    line-height: 1;
}

/* 数据库选项 */
.database-options {
    margin: 15px 0;
    padding: 10px 0;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 40px;
}

.database-options .radio-label {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    cursor: pointer;
    padding: 5px 0;
}

.database-options input[type="radio"] {
    margin-right: 8px;
    width: 16px;
    height: 16px;
}

.database-options .radio-label span {
    color: #333;
    line-height: 1.4;
}

/* 批次信息 */
.batch-info {
    display: flex;
    gap: 30px;
    margin: 15px 0;
    padding: 10px 0;
    border-top: 1px solid #eee;
    font-size: 13px;
    align-items: center;
}

.batch-number,
.download-mode {
    display: flex;
    align-items: center;
}

.batch-number input,
.download-mode select {
    height: 24px;
    padding: 0 8px;
    border: 1px solid #ddd;
    font-size: 13px;
    margin-left: 6px;
}

/* 按钮组 */
.button-group {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.submit-btn,
.reset-btn {
    padding: 5px 15px;
    border: none;
    cursor: pointer;
    font-size: 12px;
    border-radius: 2px;
}

.submit-btn {
    background: #337ab7;
    color: white;
    margin-right: 10px;
}

.reset-btn {
    background: #5bc0de;
    color: white;
}

/* 文件上传区域 */
.file-upload {
    border: 2px dashed #ddd;
    padding: 20px;
    text-align: center;
    border-radius: 4px;
    background: #f8f9fa;
}

.file-input-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.file-path {
    flex: 1;
    height: 28px;
    padding: 0 8px;
    border: 1px solid #ddd;
    border-radius: 2px;
    font-size: 12px;
    background: #fff;
}

.file-select-btn {
    padding: 0 15px;
    height: 28px;
    line-height: 28px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 2px;
    cursor: pointer;
    font-size: 12px;
    color: #333;
    text-align: center;
}

.file-select-btn:hover {
    background: #e9ecef;
}

/* 隐藏的内容 */
.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* 结果页面样式 */
.result-info {
    margin-bottom: 20px;
    padding: 10px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
}

.result-info p {
    margin: 5px 0;
    font-size: 13px;
    color: #333;
}

.result-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.result-table th,
.result-table td {
    padding: 8px;
    border: 1px solid #dee2e6;
    text-align: left;
    font-size: 12px;
}

.result-table th {
    background: #f8f9fa;
    font-weight: bold;
}

.status-tag {
    display: inline-block;
    padding: 2px 8px;
    background: #e3f2fd;
    color: #1976d2;
    border-radius: 2px;
    font-size: 12px;
}

.back-btn {
    padding: 5px 15px;
    background: #5bc0de;
    color: white;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    font-size: 12px;
}

.back-btn:hover {
    background: #46b8da;
}

/* 下载链接样式 */
.download-link {
    display: inline-block;
    padding: 2px 8px;
    background: #337ab7;
    color: white;
    text-decoration: none;
    border-radius: 2px;
    margin-left: 5px;
    font-size: 12px;
}

.download-link:hover {
    background: #286090;
    text-decoration: none;
}

/* 进度条区域样式 */
.progress-section {
    margin: 15px 0;
    padding: 10px 15px;
    border: 1px solid #eee;
    border-radius: 4px;
    background: #fff;
}

.progress-info {
    text-align: center;
}

.progress-bar {
    width: 100%;
    height: 16px;
    background: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
    margin: 8px 0;
    border: 1px solid #ddd;
}

.progress-fill {
    height: 100%;
    background: #337ab7;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 13px;
    color: #333;
    margin: 5px 0;
}

.progress-status {
    font-size: 12px;
    color: #666;
    margin-top: 3px;
}

/* 禁用状态的提交按钮 */
.submit-btn:disabled {
    background: #999;
    cursor: not-allowed;
}

/* 取消按钮样式 */
.cancel-btn {
    padding: 5px 15px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    font-size: 12px;
    margin: 0 10px;
}

.cancel-btn:hover {
    background: #c82333;
}

.cancel-btn:disabled {
    background: #999;
    cursor: not-allowed;
} 