/* ===================================
   tool14 - 单文件多sheet合并工具
   工具特有样式
   =================================== */

/* 工作表控制按钮 */
.sheet-controls {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

/* 工作表列表 */
.sheet-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 400px;
    overflow-y: auto;
    padding: 12px;
    background: #F9FAFB;
    border-radius: 8px;
}

.sheet-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.sheet-item:hover {
    border-color: #1E3A8A;
    background: #EFF6FF;
}

.sheet-name {
    font-size: 14px;
    color: #1F2937;
}

/* 批量表头控制 */
.batch-header-control {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #F9FAFB;
    border-radius: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.batch-label {
    font-weight: 500;
    color: #374151;
    white-space: nowrap;
}

.hint-text {
    font-size: 13px;
    color: #6B7280;
    margin-left: auto;
}

/* 表头列表 */
.header-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 400px;
    overflow-y: auto;
}

.header-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background: #F9FAFB;
    border-radius: 6px;
}

.header-sheet-name {
    font-size: 14px;
    color: #1F2937;
    font-weight: 500;
    flex: 1;
}

.header-select {
    width: 120px;
    font-size: 13px;
}

/* 响应式 */
@media (max-width: 768px) {
    .batch-header-control {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hint-text {
        margin-left: 0;
        margin-top: 8px;
    }
    
    .header-item {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .header-select {
        width: 100%;
    }
}
